/* ============================================
   theme/default/css/style.css
   Estilos base. Personalizable por sitio/tema.
   TODO lo que se personaliza por cliente/tema vive
   en las variables de :root de aqui abajo. No hace
   falta tocar nada mas adelante en el archivo para
   cambiar colores.
   BOTONES: --btn-bg acepta tanto un color solido
   (ej: #333333) como un degradado (ej:
   linear-gradient(135deg, #ff6a00, #ee0979)).
   Ambos funcionan igual, es la misma propiedad CSS
   "background" por debajo.
   ============================================ */
:root {
    --color-primary: #024817;
    --color-primary-hover: #0a6b2e;
    --color-bg: #e1b689;
    --color-card-bg: #ffffff;
    --color-border: #d9dde3;
    --color-text: #1e2328;
    --color-text-muted: #6b7280;
    --input-bg: #ffffff;
    --input-text: #1e2328;
    --input-border: #d9dde3;
    --input-border-focus: #024817;
    --input-placeholder: #9ca3af;
    --btn-bg: linear-gradient(135deg, #024817, #0a6b2e);
    --btn-bg-hover: linear-gradient(135deg, #0a6b2e, #024817);
    --btn-shadow: 0 6px 20px rgba(2, 72, 23, 0.35);
    --btn-border: 1px solid rgba(255, 255, 255, 0.15);
    --btn-text: #ffffff;
    --btn-radius: 50px;
    --color-error-bg: #fdecea;
    --color-error-border: #f5b7b1;
    --color-error-text: #c0392b;
    --color-success-bg: #eafaf1;
    --color-success-border: #a9dfbf;
    --color-success-text: #1e8449;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 8px;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.site-header {
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    font-weight: bold;
    font-size: 20px;
    color: var(--color-text);
    text-decoration: none;
}
.site-logo img { max-height: 40px; }
.site-nav {
    position: absolute;
    top: 92.5%;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 72, 23, 0.80);
    padding: 8px 10px;
    border-radius: 50px;
    backdrop-filter: blur(3px);
    overflow: visible;
}
.site-nav-align-right { right: 24px; left: auto; transform: translateY(-50%); }
.site-nav-align-left { left: 24px; right: auto; transform: translateY(-50%); }
.site-nav-align-center { left: 50%; right: auto; transform: translate(-50%, -50%); }
.nx-nav-item-has-sub { position: relative; display: inline-flex; }
.nx-nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #cd9355;
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 6px 0;
    min-width: 160px;
    z-index: 50;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    margin-top: 0;
    overflow: hidden;
}
.nx-nav-item-has-sub:hover .nx-nav-submenu { display: block; }
.nx-nav-submenu a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
}
.nx-nav-submenu a:hover {
    background: linear-gradient(135deg, #cd9355, #a86f35);
    color: #ffffff;
    transform: none;
    border-radius: 0;
}
.site-nav a,
.site-nav .nx-nav-parent-label {
    margin-left: 0;
    padding: 8px 18px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.site-nav a:hover,
.site-nav .nx-nav-parent-label:hover {
    background: linear-gradient(135deg, #024817, #0a6b2e);
    color: #ffffff;
    transform: scale(1.05);
}
/* ---------- Boton de hamburguesa (solo movil) ---------- */
.nx-mobile-menu-toggle {
    display: none;
}
/* ---------- Main / cards ---------- */
.site-main {
    max-width: 480px;
    margin: 48px auto;
    padding: 0 20px;
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
}
.card p,
.card li {
    text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.card hr { border: none; height: 24px; margin: 0; }
.text-center { text-align: center; }
h1, h2, h3 { margin-top: 0; color: var(--color-primary); }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }
label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: var(--color-text);
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    background: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-base);
}
input::placeholder,
textarea::placeholder { color: var(--input-placeholder); }
input:focus,
textarea:focus,
select:focus { outline: none; border-color: var(--input-border-focus); }
button,
.btn,
input[type="submit"] {
    padding: 10px 22px;
    border: var(--btn-border);
    border-radius: var(--btn-radius);
    background: var(--btn-bg);
    color: var(--btn-text);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-base);
    margin-top: 6px;
    box-shadow: var(--btn-shadow);
    transform: scale(1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}
button:hover,
.btn:hover,
input[type="submit"]:hover {
    background: var(--btn-bg-hover);
    opacity: 0.95;
    transform: scale(1.05);
}
.btn { display: inline-block; margin: 6px 6px 0 6px; }
/* ---------- Mensajes ---------- */
.errors {
    background: var(--color-error-bg);
    border: 1px solid var(--color-error-border);
    color: var(--color-error-text);
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.errors ul { margin: 0; padding-left: 18px; }
.success {
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    color: var(--color-success-text);
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.success a { color: var(--color-success-text); font-weight: 600; }
.site-footer { background: #cd9c6b; border-top: 1px solid var(--color-border); margin-top: 60px; flex-shrink: 0; }
.site-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}
.nxc-wrap { margin-bottom: 4px; }
/* ==================================================
   Layouts (paginas/articulos) - 3 columnas
   ================================================== */
.site-main-wide {
    max-width: 90% !important;
    width: 90% !important;
    margin-top: 0 !important;
}
.site-header-inner-wide { max-width: 100% !important; width: 100% !important; }
.nx-layout-outer { max-width: 1800px; margin: 24px auto; padding: 0 8px; box-sizing: border-box; }
.nx-breadcrumb {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    background: none;
    border: none;
    padding: 0;
    margin: 16px 0;
}
.nx-breadcrumb-sep { display: none; }
.nx-breadcrumb > a,
.nx-breadcrumb > span:not(.nx-breadcrumb-item-has-sub),
.nx-breadcrumb-item-has-sub > a {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px 10px 30px;
    background: var(--btn-bg);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}
.nx-breadcrumb > a:hover { filter: brightness(1.12); color: #ffffff; text-decoration: none; }
.nx-breadcrumb > a:first-child,
.nx-breadcrumb-item-has-sub:first-child > a {
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    padding-left: 18px;
}
.nx-breadcrumb > *:not(:first-child) { margin-left: -16px; }
.nx-breadcrumb > a:last-child,
.nx-breadcrumb > span:last-child:not(.nx-breadcrumb-item-has-sub),
.nx-breadcrumb-item-has-sub:last-child > a {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-hover));
}
.nx-breadcrumb-item-has-sub { position: relative; display: inline-flex; }
.nx-breadcrumb-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--btn-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 6px 0;
    min-width: 160px;
    z-index: 50;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    margin-top: 0;
}
.nx-breadcrumb-item-has-sub:hover .nx-breadcrumb-submenu { display: block; }
.nx-breadcrumb-submenu a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
}
.nx-breadcrumb-submenu a:hover { background: rgba(255, 255, 255, 0.15); color: #ffffff; }
.nx-breadcrumb-submenu-item { position: relative; }
.nx-breadcrumb-submenu-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
}
.nx-breadcrumb-submenu-item > a:hover { background: rgba(255, 255, 255, 0.15); }
.nx-breadcrumb-flyout-arrow { opacity: 0.8; font-size: 11px; }
.nx-breadcrumb-submenu-flyout {
    display: none;
    position: absolute;
    top: -6px;
    left: 100%;
    margin-left: 4px;
    background: var(--btn-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 6px 0;
    width: max-content;
    min-width: 160px;
    z-index: 60;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.nx-breadcrumb-submenu-item-has-sub:hover > .nx-breadcrumb-submenu-flyout { display: block; }
.nx-layout-table { width: 100%; border-collapse: collapse; }
.nx-layout-side-cell { width: 180px; vertical-align: top; }
.nx-layout-side-cell-left { padding-right: 16px; }
.nx-layout-side-cell-right { padding-left: 16px; }
.nx-layout-content-cell { vertical-align: top; }
.nx-layout-content-cell img,
.nx-layout-side-cell img { max-width: 100%; height: auto; }
.nx-layout-side-cell .card,
.nx-layout-content-cell .card { padding: 10px; }
.card > * {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    .nx-layout-side-cell { display: none !important; }
    .nx-layout-table,
    .nx-layout-table tbody,
    .nx-layout-table tr,
    .nx-layout-content-cell { display: block !important; width: 100% !important; }
    .nx-layout-outer { padding: 0 16px; }

    /* ---------- Menu movil: hamburguesa + dropdown vertical ----------
       El <nav> (.site-nav) deja de ser la pildora horizontal fija sobre
       el banner y se convierte en un panel vertical, oculto por
       defecto, que se despliega justo debajo del header al tocar el
       boton de hamburguesa. Los items en si (los <a>) siguen siendo
       exactamente los mismos que genera el foreach de PHP -- aqui solo
       se cambia como se VEN y como se abren/cierran. */
    .nx-mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 3%;
        right: 4%;
        width: 44px;
        height: 44px;
        background: rgba(2, 72, 23, 0.85);
        border: none;
        border-radius: 8px;
        color: #ffffff;
        cursor: pointer;
        z-index: 70;
        padding: 0;
    }
    .nx-mobile-menu-icon {
        display: block;
    }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        border-radius: 0;
        background: rgba(2, 72, 23, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        backdrop-filter: blur(3px);
        z-index: 60;
    }
    .site-nav.nx-nav-open {
        max-height: 600px;
    }
    .site-nav a,
    .site-nav .nx-nav-parent-label {
        width: 100%;
        margin-left: 0;
        padding: 14px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-nav a:hover,
    .site-nav .nx-nav-parent-label:hover {
        transform: none;
    }
    .nx-nav-item-has-sub {
        display: block;
        width: 100%;
    }
    /* En movil el submenu NO se abre con :hover (no existe de forma
       confiable en pantallas tactiles) -- se abre con un toque directo
       sobre la etiqueta, controlado por la clase nx-nav-sub-open que
       agrega el JS del header.tpl. */
    .nx-nav-item-has-sub:hover .nx-nav-submenu {
        display: none;
    }
    .nx-nav-item-has-sub.nx-nav-sub-open .nx-nav-submenu {
        display: block;
    }
    .nx-nav-submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.15);
    }
    .nx-nav-submenu a {
        padding-left: 36px;
    }
}
.nx-layout-plain { width: 100%; }
.site-main-full-bleed {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ---------- Buscador (header publico) ---------- */
.nx-search-outer { max-width: 1800px; margin: 24px auto; padding: 0 8px; box-sizing: border-box; }
.nx-search-grid { display: grid; grid-template-columns: var(--nx-search-left-w, 0px) 1fr var(--nx-search-right-w, 0px); }
.nx-search-form-col { grid-column: 2; min-width: 0; }
.nx-search-label { display: block; margin: 0 0 6px 0; text-align: left; color: var(--color-text); }
.nx-search-form {
    display: flex;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.nx-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
    padding: 0 16px;
    border: none;
    background: var(--input-bg);
    color: var(--input-text);
    font-family: inherit;
    font-size: 14px;
}
.nx-search-btn {
    flex: 0 0 56px;
    height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: var(--btn-bg);
    color: var(--btn-text, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ---------- Widget flotante de WhatsApp ---------- */
.nxwhats-bubble { position: fixed; bottom: 80px; right: 20px; z-index: 9998; font-family: var(--font-base); }
.nxwhats-closed {
    display: flex;
    align-items: center;
    background: var(--color-primary);
    border: 3px solid var(--color-primary);
    border-radius: 50px;
    padding: 6px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s, opacity 0.3s;
}
.nxwhats-closed:hover { transform: scale(1.05); background: var(--color-primary); }
.nxwhats-logo-circle {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    overflow: hidden;
    margin-right: 8px;
}
.nxwhats-logo-circle img { width: 70%; object-fit: contain; }
.nxwhats-text { color: #ffffff; font-weight: bold; font-size: 16px; }
.nxwhats-window {
    position: fixed;
    bottom: 145px;
    right: 20px;
    width: 320px;
    height: 420px;
    background: rgba(30, 32, 38, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 4px solid var(--color-primary);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}
.nxwhats-window.open { display: flex; }
@media (max-width: 768px) { .nxwhats-window { width: 90vw; right: 5vw; } }
.nxwhats-header {
    background: var(--color-primary);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--color-primary);
}
.nxwhats-header-left { display: flex; align-items: center; }
.nxwhats-header-logo-circle {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    margin-right: 10px;
    overflow: hidden;
}
.nxwhats-header-logo-circle img { width: 65%; object-fit: contain; }
.nxwhats-brand-name { color: #ffffff; font-weight: 800; font-size: 15px; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.nxwhats-close-btn { background: none; border: none; color: #ffffff; font-size: 22px; cursor: pointer; line-height: 1; }
.nxwhats-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nxwhats-message { max-width: 85%; padding: 10px 14px; border-radius: 15px; font-size: 14px; line-height: 1.4; word-wrap: break-word; }
.nxwhats-message.bot { background: #e5e7eb; color: #1a1a1a; align-self: flex-start; border-bottom-left-radius: 2px; }
.nxwhats-message.bot.offline {
    background: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error-border);
    font-size: 13px;
}
.nxwhats-message.user { background: var(--color-primary); color: #ffffff; align-self: flex-end; border-bottom-right-radius: 2px; }
.nxwhats-input-area { padding: 10px; background: var(--color-primary); border-top: 2px solid var(--color-primary); }
.nxwhats-input-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: 25px;
    padding: 5px 5px 5px 15px;
    border: 2px solid var(--color-primary);
    align-items: center;
}
.nxwhats-input-wrapper input { flex: 1; border: none; outline: none; font-size: 14px; color: #1a1a1a; background: #ffffff; margin: 0; padding: 0; }
.nxwhats-send-btn {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nxwhats-send-btn svg { display: block; }
.nxwhats-send-btn:hover { background: var(--color-primary-hover); }
.nxwhats-messages::-webkit-scrollbar { width: 6px; }
.nxwhats-messages::-webkit-scrollbar-thumb { background: var(--color-primary-hover); border-radius: 10px; }
.nx-rating-widget { margin-top: 24px; }
.nx-rating-average { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.nx-rating-stars-display { position: relative; display: inline-block; font-size: 22px; line-height: 1; }
.nx-rating-stars-bg,
.nx-rating-stars-fill { white-space: nowrap; letter-spacing: 2px; }
.nx-rating-stars-bg { color: var(--color-border); }
.nx-rating-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: #ffc107; }
.nx-rating-summary-text { color: var(--color-text-muted); font-size: 14px; }
.nx-rating-prompt { color: var(--color-primary); font-size: 16px; font-weight: 600; margin: 0 0 8px 0; }
.nx-rating-vote-stars { display: flex; gap: 4px; }
.nx-rating-vote-star {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.15s ease;
}
.nx-rating-vote-star.nx-rating-hovered { color: #ffc107; }
.nx-rating-thanks,
.nx-rating-already { color: var(--color-text-muted); font-size: 14px; margin-top: 8px; }
.nx-rating-hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:root {
    --comment-root-bg: #4b5563;
    --comment-reply-bg: #6b7280;
    --comment-text: #fafafa;
}
.nx-comments-widget { margin-top: 40px !important; }
.nx-comments-heading { margin: 0 0 16px 0; }
.nx-comments-empty,
.nx-comments-login-msg { color: var(--color-text-muted); font-size: 14px; }
.nx-comment-bubble { max-width: 640px; padding: 12px 14px; border-radius: 10px; margin-bottom: 10px; color: var(--comment-text); }
.nx-comment-root { background: var(--comment-root-bg); }
.nx-comment-replies { margin-left: 32px; }
.nx-comment-reply { background: var(--comment-reply-bg); }
.nx-comment-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.nx-comment-username { font-weight: 700; color: var(--comment-text); text-decoration: none; }
.nx-comment-username:hover { text-decoration: underline; }
.nx-comment-date { font-size: 12px; opacity: 0.65; }
.nx-comment-content { font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.nx-comment-footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.nx-comment-vote-like,
.nx-comment-vote-dislike,
.nx-comment-reply-btn {
    background: rgba(0,0,0,0.06);
    border: none;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: var(--comment-text);
}
.nx-comment-vote-active { background: rgba(0,0,0,0.18); font-weight: 700; }
.nx-comment-vote-readonly { font-size: 12px; opacity: 0.75; }
.nx-comment-reply-form-box { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.1); }
.nx-comment-new-box { margin-top: 20px; }
.nx-comment-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    background: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 8px;
}
.nx-comment-form-actions { text-align: right; }
.nx-comment-status-msg { font-size: 13px; margin-top: 8px; }
.nx-comment-hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nx-favorite-widget { margin-bottom: 16px; width: 100%; display: flex; justify-content: flex-end; }
.nx-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 4px 0;
    cursor: pointer;
    font-family: inherit;
    color: var(--color-text);
}
.nx-favorite-btn:hover { background: none; transform: none; opacity: 0.85; }
.nx-favorite-icon { width: 48px; height: 48px; object-fit: contain; display: block; }
.nx-favorite-label { font-size: 14px; font-weight: 600; }
/* ============================================ */
/*           FONDO TILEADO - SCROLLEA            */
/*           Vertical y Horizontal               */
/* ============================================ */
body {
    /* FONDO TILEADO - Se repite en vertical y horizontal */
    background-image: url('https://sanpatriciosalud.com/uploads/media/main-pics/fondo_tile2.webp');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    /* SIN background-attachment: fixed - así scrollEA */
}
/* Hacemos transparentes los contenedores principales para que se vea el fondo tileado */
.site-header {
    background: rgba(255, 255, 255, 0.95);
}
.site-footer {
    background: rgba(205, 156, 107, 0.95);
}
/* Los cards y elementos que deben tener fondo sólido */
.card,
.card-body,
.modal-content,
.dropdown-menu,
.popover,
.tooltip-inner,
.toast,
.alert {
    background-color: var(--color-card-bg);
}
