/*
Theme Name: RomeroFX Descargas Premium
Theme URI: https://trading.net.pe
Author: Romero Fx
Description: Tema premium dise�0�9ado para p��ginas de ��xito de descarga con listado din��mico de art��culos, espacios optimizados para Google AdSense, men�� animado responsivo y sidebar administrable.
Version: 3.0
Text Domain: romerofx-descargas
*/

/* ==========================================================
   1. RESETEO GLOBAL Y BASE
   ========================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

/* Contenedor General de P��ginas */
.download-layout-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ==========================================================
   2. BARRA SUPERIOR AZUL (TOP BAR)
   ========================================================== */
.top-blue-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
    color: #e2e8f0;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left-info .top-info-item {
    display: inline-block;
    color: #93c5fd;
}

.top-bar-right-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-top-header {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff !important;
    font-size: 12px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-top-header:hover {
    transform: translateY(-1px);
}

.btn-alumnos { background-color: #d97706; }
.btn-alumnos:hover { background-color: #b45309; }
.btn-telegram { background-color: #0284c7; }
.btn-telegram:hover { background-color: #0369a1; }
.btn-whatsapp { background-color: #16a34a; }
.btn-whatsapp:hover { background-color: #15803d; }

/* ==========================================================
   3. SECCI�0�7N DEL LOGO - CENTRADO
   ========================================================== */
.logo-centered-segment {
    background-color: #ffffff;
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.logo-wrapper img {
    max-width: 260px;
    height: auto;
    display: inline-block;
}

.text-logo-fallback {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a8a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* ==========================================================
   4. MEN�0�3 PRINCIPAL ANIMADO (ESCRITORIO)
   ========================================================== */
.main-animated-navbar {
    background-color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-menu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    position: relative;
}

.navigation-links-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-nav-list li {
    position: relative;
}

.navbar-nav-list li a {
    display: block;
    padding: 18px 22px;
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

/* Animaci��n Hover en Escritorio */
.navbar-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: #3b82f6;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav-list li a:hover {
    color: #3b82f6;
}

.navbar-nav-list li a:hover::after {
    width: 100%;
    left: 0;
}

/* Bot��n de Login */
.custom-login-header-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s, transform 0.2s;
}

.custom-login-header-btn:hover {
    background-color: #2563eb;
    transform: scale(1.03);
}

/* BOT�0�7N HAMBURGUESA (Oculto en PC) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-toggle .bar-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================
   5. TEXTO SUPERIOR Y BLOQUE DE BIENVENIDA (APACHE FRIENDS)
   ========================================================== */
.top-custom-text-area {
    background: #ffffff;
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 15px;
    border-radius: 0 4px 4px 0;
}

.download-main-header {
    text-align: center;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 40px 20px;
    border-radius: 6px;
    margin-bottom: 35px;
}

.internal-article-header {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    text-align: left;
    padding: 35px;
    border-radius: 6px;
}

.success-icon-check {
    font-size: 52px;
    color: #10b981;
    margin-bottom: 15px;
}

.download-main-header h1 {
    font-size: 30px;
    color: #065f46;
    margin: 0 0 12px 0;
}

.internal-article-header h1 {
    color: #1e293b;
    font-size: 32px;
}

.download-alt-trigger a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: bold;
}

/* ==========================================================
   6. MAQUETACI�0�7N GRID: CONTENIDO + SIDEBAR
   ========================================================== */
.download-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Bloques de Art��culos en Lista */
.latest-articles-section h2 {
    font-size: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #1e293b;
}

.item-articulo-preview {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.item-articulo-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.title-articulo {
    margin: 0 0 10px 0;
}

.title-articulo a {
    color: #1e293b;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.title-articulo a:hover {
    color: #3b82f6;
}

.meta-articulo, .meta-articulo-top {
    font-size: 13px;
    color: #64748b;
    margin: 5px 0 12px 0;
}

.excerpt-articulo {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.btn-read-more, .btn-back-to-download {
    display: inline-block;
    color: #3b82f6;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.btn-read-more:hover {
    text-decoration: underline;
}

/* ==========================================================
   7. SIDEBAR ADMINISTRABLE
   ========================================================== */
.download-sidebar-area {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 6px;
    height: fit-content;
}

.widget-sidebar {
    margin-bottom: 35px;
}

.widget-sidebar:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 6px;
    color: #1e293b;
}

/* Ajustes para elementos insertados en Widgets */
.widget-sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto 15px auto;
}

.widget-sidebar p {
    font-size: 14px;
    color: #475569;
}

/* ==========================================================
   8. PUBLICIDAD ADSENSE Y P�0�9GINA INTERNA (SINGLE)
   ========================================================= */
.adsense-space {
    background: #fdfdfd;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    position: relative;
    border-radius: 4px;
}

.ads-label {
    position: absolute;
    top: 2px;
    left: 6px;
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ads-placeholder {
    color: #64748b;
    font-size: 13px;
    font-style: italic;
}

.single-post-body {
    background: #ffffff;
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.entry-main-text {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.entry-main-text p {
    margin-bottom: 20px;
}

/* Paginaci��n */
.navigation-pagination-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.navigation-pagination-links .nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.navigation-pagination-links .page-numbers {
    padding: 8px 14px;
    border: 1px solid #ced4da;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.navigation-pagination-links .page-numbers.current {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* ==========================================================
   9. PIE DE P�0�9GINA COMPLETO
   ========================================================== */
.site-main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

.footer-widgets-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget-column h3 {
    color: #ffffff;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-column ul li {
    margin-bottom: 10px;
}

.footer-widget-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widget-column ul li a:hover {
    color: #ffffff;
}

.footer-copyright-bar {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
}

/* ==========================================================
   10. MEDIA QUERIES (SISTEMA RESPONSIVO INTERACTIVO)
   ========================================================== */
@media (max-width: 991px) {
    .download-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Barra Superior */
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }
    .top-bar-right-actions {
        justify-content: center;
    }
    
    /* Activaci��n Visual del Bot��n Hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-menu-wrapper {
        justify-content: flex-start;
        min-height: 58px;
    }

    /* Transformaci��n de Caja a Men�� Desplegable Vertical */
    .navigation-links-container {
        display: none; /* Se oculta */
        flex-direction: column !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1e293b;
        padding: 20px;
        box-sizing: border-box;
        border-top: 1px solid #334155;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    /* Forzar colapso de la lista de WordPress */
    .navbar-nav-list {
        flex-direction: column !important;
        width: 100% !important;
        display: block !important;
    }

    .navbar-nav-list li {
        width: 100% !important;
        display: block !important;
    }

    .navbar-nav-list li a {
        padding: 15px 10px !important;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #334155;
    }

    .navbar-nav-list li a::after {
        display: none !important; /* Desactiva la l��nea expansiva en m��viles */
    }

    .header-login-button-wrap {
        width: 100%;
        padding-top: 20px;
        text-align: center;
    }

    .custom-login-header-btn {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 0;
    }

    /* CLASE ACTIVA (Disparada v��a JS) */
    .active-mobile-menu {
        display: flex !important;
    }
    
    /* Animaci��n del bot��n: Transforma las 3 l��neas en una "X" */
    .open-toggle-animation .bar-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }
    .open-toggle-animation .bar-line:nth-child(2) {
        opacity: 0;
    }
    .open-toggle-animation .bar-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
/* ==========================================================
   11. ELEMENTOS DE LA NUEVA PORTADA PRINCIPAL (FRONT PAGE)
   ========================================================== */

/* Slider Principal (Secci��n H��roe) */
.main-hero-slider {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}
.slider-inner-content {
    max-width: 800px;
    margin: 0 auto;
}
.slider-inner-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.slider-inner-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}
.custom-slider-cta-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transition: background-color 0.2s, transform 0.2s;
}
.custom-slider-cta-btn:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Tarjeta Horizontal de Art��culos con Miniatura */
.front-article-card-horizontal {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.front-article-thumb {
    flex-shrink: 0;
}
.front-article-thumb img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.front-article-details {
    flex-grow: 1;
}
.front-btn-read-full {
    display: inline-block;
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
}
.front-btn-read-full:hover {
    text-decoration: underline;
}

/* Fila Triple Inferior (3 Bloques) */
.triple-blocks-row-section {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 60px 20px;
    margin-top: 40px;
}
.triple-blocks-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.individual-triple-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.individual-triple-card:hover {
    transform: translateY(-3px);
}
.triple-card-image-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.triple-card-body-wrap {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.triple-card-body-wrap h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    color: #1e293b;
}
.triple-card-body-wrap p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}
.triple-card-cta-button {
    display: block;
    text-align: center;
    background-color: #1e293b;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s;
}
.triple-card-cta-button:hover {
    background-color: #334155;
}

/* Adaptabilidad para Tel��fonos de la Portada */
@media (max-width: 768px) {
    .slider-inner-content h1 {
        font-size: 28px;
    }
    .slider-inner-content p {
        font-size: 15px;
    }
    .front-article-card-horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .front-article-thumb img {
        width: 100%;
        max-width: 200px;
        height: 150px;
    }
    .triple-blocks-container {
        grid-template-columns: 1fr;
    }
}
/* Contenedor de la lista en el Sidebar */
.sidebar-titles-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Item individual (Imagen + T��tulo) */
.sidebar-title-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-title-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Estilo de la imagen peque�0�9ita al costado */
.sidebar-title-thumb img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    border: 1px solid #cbd5e1;
}

/* Contenedor del texto */
.sidebar-title-text {
    flex-grow: 1;
}

/* T��tulo con color adaptable heredado del tema */
.sidebar-title-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Enlace adaptable que toma el color principal del tema de forma autom��tica */
.sidebar-title-text h4 a {
    color: inherit; 
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Efecto hover sutil */
.sidebar-title-text h4 a:hover {
    color: #3b82f6; /* Puedes cambiar este color por tu color de ��nfasis preferido */
    text-decoration: underline;
}
/* ==========================================================
   ESTILOS ESPEC�0�1FICOS PARA LA P�0�9GINA DE CATEGOR�0�1AS
   ========================================================== */

/* Reducci��n de la altura del banner h��roe para categor��as */
.category-hero-banner {
    padding: 60px 20px !important;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

/* Espacio publicitario intercalado entre los art��culos */
.ads-intercalated {
    background-color: #fdfdfd;
    border: 1px dashed #cbd5e1;
    margin: 25px 0 35px 0 !important;
    padding: 18px;
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
    clear: both;
}

/* Ajustes de las miniaturas en la lista de categor��as */
.front-article-thumb img {
    border: 1px solid #e2e8f0;
    transition: opacity 0.2s ease;
}
.front-article-card-horizontal:hover .front-article-thumb img {
    opacity: 0.9;
}
/* ==========================================================
   ESTILOS DE LA PÁGINA DE CONTACTO PREMIUM
   ========================================================== */
.contacto-premium-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.contacto-card-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contacto-card-box h2 {
    font-size: 24px;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
}

.contacto-subtitle-text {
    font-size: 14.5px;
    color: #64748b;
    margin-top: 0;
    margin-bottom: 30px;
}

/* Campos de Formulario */
.form-group-row {
    margin-bottom: 20px;
}
.form-group-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.form-group-row input[type="text"],
.form-group-row input[type="email"],
.form-group-row input[type="number"],
.form-group-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background-color: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
}
.form-group-row input:focus,
.form-group-row textarea:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    outline: none;
}

/* Captcha Matemático */
.captcha-wrapper-row .captcha-math-box {
    display: flex;
    align-items: center;
    gap: 15px;
}
.math-expression {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    background-color: #eff6ff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}
.captcha-math-box input {
    max-width: 120px;
}

/* Botón de Envío */
.btn-submit-contacto-ajax {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.btn-submit-contacto-ajax:hover {
    opacity: 0.95;
}
.btn-submit-contacto-ajax:active {
    transform: scale(0.99);
}
.btn-submit-contacto-ajax:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Alertas de Respuesta AJAX */
.contacto-ajax-response-alert {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.alert-success-style {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
.alert-error-style {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Tarjetas de Canales de Contacto Directo */
.contacto-sidebar-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.channel-contact-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.channel-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}
.channel-icon {
    font-size: 28px;
}
.channel-meta h3 {
    margin: 0;
    font-size: 16px;
    color: #0f172a;
    font-weight: 700;
}
.channel-meta span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-telegram-style .channel-meta span { color: #0284c7; }
.card-whatsapp-style .channel-meta span { color: #16a34a; }

.channel-contact-card p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}
.channel-cta-link {
    display: block;
    text-align: center;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    transition: opacity 0.2s;
}
.channel-cta-link:hover { opacity: 0.95; }
.btn-tg-color { background-color: #0284c7; box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2); }
.btn-wa-color { background-color: #16a34a; box-shadow: 0 4px 10px rgba(22, 163, 74, 0.2); }

/* ==========================================================
   SISTEMA RESPONSIVO ADAPTABLE PARA MÓVILES
   ========================================================== */
@media (max-width: 991px) {
    .contacto-premium-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
@media (max-width: 480px) {
    .contacto-card-box { padding: 20px; }
    .captcha-math-box { flex-direction: column; align-items: flex-start; gap: 10px; }
    .captcha-math-box input { max-width: 100%; }
}
/* ==========================================================
   ESTILOS DE ARQUITECTURA DE PRODUCTOS EN FILA (ZIGZAG/HORIZONTAL)
   ========================================================== */
.space-store-optimized {
    max-width: 1200px;
    margin: 30px auto;
}

/* Envoltura vertical de filas */
.store-list-vertical-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Separación elegante entre filas */
    width: 100%;
}

/* Nueva tarjeta horizontal */
.store-row-card-premium {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}

.store-row-card-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 1. Imagen miniatura */
.store-row-image-box {
    flex-shrink: 0;
}
.store-row-image-box img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    border: 1px solid #e2e8f0;
}

/* 2. Bloque de contenido central */
.store-row-info-box {
    flex-grow: 1;
    min-width: 0; /* Evita desbordamiento de texto */
    text-align: left;
}

.card-badge-status-inline {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    color: #ffffff;
    margin-bottom: 6px;
}
/* Colores de badges de estado */
.status-venta .card-badge-status-inline { background-color: #10b981; }
.status-proceso .card-badge-status-inline { background-color: #d97706; }
.status-caduco .card-badge-status-inline { background-color: #ef4444; }
.status-suspendido .card-badge-status-inline { background-color: #64748b; }

.store-row-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.store-row-description {
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}
.store-row-description p {
    margin: 0;
}

/* 3. Bloque derecho: Precio y Botón */
.store-row-action-box {
    flex-shrink: 0;
    text-align: right;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.store-row-price {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.btn-store-locked-row {
    width: 100%;
    background-color: #cbd5e1;
    color: #64748b;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: not-allowed;
}

/* Ajuste del botón de acción para formato compacto */
.store-row-action-box .servicio-cta-btn {
    padding: 8px 16px;
    font-size: 12.5px;
    border-radius: 4px;
    text-align: center;
}

/* ==========================================================
   RESPONSIVIDAD: COMPACTACIÓN EN DISPOSITIVOS MÓVILES
   ========================================================== */
@media (max-width: 768px) {
    /* El bloque cambia a formato vertical únicamente en celulares */
    .store-row-card-premium {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .store-row-info-box {
        text-align: center;
    }

    .store-row-image-box img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .store-row-action-box {
        text-align: center;
        width: 100%;
    }
    
    .store-row-action-box .servicio-cta-btn {
        width: 100%;
    }
}