/* ====================================
   ESTILOS PARA ARTÍCULOS - ESTRUCTURA PRINCIPAL
   ==================================== */

/* ESTILOS BÁSICOS PARA TODAS LAS IMÁGENES DE ARTÍCULOS */
.article-main img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    margin: 20px auto;
    display: block;
    object-fit: cover;
}

.article-hero .article-image img {
    max-height: 500px;
}

/* ESTILOS PARA BREADCRUMB - NAVEGACIÓN DE MIGAS DE PAN */
.breadcrumb {
    background: #1a1a1a !important;
    border-bottom: 2px solid #333 !important;
}

.breadcrumb-nav {
    color: #fff !important;
}

.breadcrumb-nav a {
    color: #e0e0e0 !important;
    text-decoration: none !important;
}

.breadcrumb-nav a:hover {
    color: #00ff88 !important;
    transition: color 0.3s ease;
}

.breadcrumb-nav i.fas.fa-chevron-right {
    color: #00ff88 !important;
}

.breadcrumb-nav span {
    color: #00ff88 !important;
}

/* Estilo específico para Periféricos como categoría general */
.breadcrumb-nav span.category-parent {
    color: #ccc !important;
    font-weight: normal !important;
}

/* Estilo específico para Computadores como categoría general */
.breadcrumb-nav span.category-parent-computadores {
    color: #a0a0a0 !important;
    font-weight: normal !important;
}

/* Estilo específico para subcategorías clickeables */
.breadcrumb-nav a.subcategory {
    color: #00ff88 !important;
    font-weight: 500 !important;
}

/* Estilos específicos para subcategorías de Computadores */
.breadcrumb-nav a.subcategory-laptops {
    color: #4da6ff !important;
    font-weight: 500 !important;
}

.breadcrumb-nav a.subcategory-pc-gaming {
    color: #ff6b35 !important;
    font-weight: 500 !important;
}

.breadcrumb-nav a.subcategory-tabletas {
    color: #9b59b6 !important;
    font-weight: 500 !important;
}

/* ESTILOS PARA INTERLINKS ROJOS - ENLACES INTERNOS */
a.interlink {
    color: #ff4444 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

a.interlink:hover {
    color: #ff6666 !important;
    text-decoration: none !important;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.5) !important;
}

a.interlink:visited {
    color: #ff4444 !important;
}

a.interlink:link {
    color: #ff4444 !important;
}

/* Fuerza mayor especificidad para interlinks */
.article-main a.interlink,
.article-body a.interlink,
p a.interlink,
li a.interlink,
div a.interlink {
    color: #ff4444 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    border-bottom: 1px solid #ff4444 !important;
}

.article-main a.interlink:hover,
.article-body a.interlink:hover,
p a.interlink:hover,
li a.interlink:hover,
div a.interlink:hover {
    color: #ff6666 !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8) !important;
    background-color: rgba(255, 68, 68, 0.1) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

/* CTA SECTIONS - LLAMADAS A LA ACCIÓN */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.3);
}

.cta-content p {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    color: #fff;
}

.cta-button i {
    margin-right: 8px;
}

/* TABLA DE CONTENIDOS */
.table-of-contents {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #00ff88;
}

.table-of-contents h3 {
    color: #00ff88;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin: 8px 0;
}

.table-of-contents a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #00ff88;
}

/* ALERTS Y CAJAS DESTACADAS */
.alert-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 255, 136, 0.1));
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.alert-box p {
    margin: 0;
    color: #fff;
    font-size: 1.1em;
}

.specs-alert {
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #ff6b35;
}

.specs-alert p {
    margin: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* TABLAS DE ESPECIFICACIONES */
.article-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 8px;
    overflow: hidden;
}

.article-main table th {
    padding: 12px;
    text-align: left;
    color: #00ff88;
    border-bottom: 2px solid #00ff88;
    background: rgba(0, 255, 136, 0.1);
    font-weight: bold;
}

.article-main table td {
    padding: 10px;
    border-bottom: 1px solid #333;
    color: #e0e0e0;
}

.article-main table tr:nth-child(even) {
    background: rgba(26, 26, 26, 0.5);
}

.article-main table tr:hover {
    background: rgba(0, 255, 136, 0.05);
}

/* GAMING TESTS - SECCIÓN DE PRUEBAS */
.gaming-tests {
    background: rgba(0, 255, 136, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.gaming-tests h3 {
    color: #00ff88;
    margin-bottom: 20px;
    text-align: center;
}

.gaming-tests > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gaming-tests > div > div {
    background: rgba(26, 26, 26, 0.8);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gaming-tests > div > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.2);
}

.gaming-tests h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.gaming-tests p {
    margin: 5px 0;
}

.gaming-tests p:first-of-type {
    color: #00ff88;
    font-size: 1.2em;
    font-weight: bold;
}

.gaming-tests p:last-of-type {
    color: #ccc;
    font-size: 0.9em;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin: 8px 0;
}

.table-of-contents a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #00ff88;
}

/* TABLAS DE ESPECIFICACIONES */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.specs-table tr:first-child {
    background: rgba(0, 255, 136, 0.1);
}

.specs-table th {
    padding: 12px;
    text-align: left;
    color: #00ff88;
    border-bottom: 2px solid #00ff88;
}

.specs-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.specs-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* INTERLINKS ROJOS - SISTEMA GLOBAL */
/* Estilos para interlinks rojos que se vean en TODOS los artículos */
a.interlink {
    color: #ff4444 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ff4444 !important;
}

a.interlink:hover {
    color: #ff6666 !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8) !important;
    background-color: rgba(255, 68, 68, 0.1) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

a.interlink:visited {
    color: #ff4444 !important;
}

a.interlink:link {
    color: #ff4444 !important;
}

/* Fuerza mayor especificidad para todos los contenedores */
.article-main a.interlink,
.article-body a.interlink,
.content-grid a.interlink,
p a.interlink,
li a.interlink,
div a.interlink,
section a.interlink,
article a.interlink {
    color: #ff4444 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    border-bottom: 1px solid #ff4444 !important;
}

.article-main a.interlink:hover,
.article-body a.interlink:hover,
.content-grid a.interlink:hover,
p a.interlink:hover,
li a.interlink:hover,
div a.interlink:hover,
section a.interlink:hover,
article a.interlink:hover {
    color: #ff6666 !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8) !important;
    background-color: rgba(255, 68, 68, 0.1) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

/* Configuración global para todas las imágenes */
img {
    max-width: 100%;
    height: auto;
}

/* CORRECCIÓN FUNDAMENTAL PARA MÓVIL */
@media (max-width: 768px) {
    /* Eliminar cualquier float o posicionamiento problemático */
    .article-page * {
        box-sizing: border-box !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
    }
    
    /* Asegurar que nada se posicione de forma problemática */
    .article-main,
    .article-sidebar,
    .content-grid > * {
        position: relative !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.article-page {
    background: var(--primary-bg);
    min-height: 100vh;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 46, 0.9));
    padding: 2rem 0;
    border-bottom: 2px solid var(--primary-color);
}

/* Responsive padding para header */
@media (max-width: 768px) {
    .article-header {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 1rem 0;
    }
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category a {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--primary-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-category a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

.article-date,
.article-reading-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.article-title .subtitle {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: var(--primary-color);
    margin-top: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.article-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-text {
    color: var(--text-muted);
    font-style: italic;
}

/* Article Hero Image */
.article-hero {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    background: var(--card-bg);
}

.article-image {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.article-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Article Summary */
.article-summary {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    background: var(--primary-bg);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.summary-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-card.pros h3 {
    color: #4CAF50;
}

.summary-card.cons h3 {
    color: #F44336;
}

.summary-card.specs h3 {
    color: var(--primary-color);
}

.summary-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.summary-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.summary-card li:last-child {
    border-bottom: none;
}

.summary-card.pros li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 0.5rem;
}

.summary-card.cons li::before {
    content: "✗";
    color: #F44336;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Article Body */
.article-body {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--primary-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.article-main {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: clamp(1rem, 4vw, 3rem);
}

.article-main h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.article-main h2:first-child {
    margin-top: 0;
}

.article-main p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-main ul,
.article-main ol {
    color: var(--text-primary);
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-main li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-box {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.verdict-box {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.verdict-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.verdict-score .score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.score-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.score-bar {
    width: 100px;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 300px;
    width: 100%;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-widget h4 {
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Table of Contents - Índice */
.table-of-contents {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin: 0.5rem 0;
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.table-of-contents a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.table-of-contents li:last-child a {
    border-bottom: none;
}

/* Share Widget */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sidebar-widget .share-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    width: auto;
    height: auto;
}

.sidebar-widget .share-btn:hover {
    transform: scale(1.02);
}

.sidebar-widget .share-btn i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.sidebar-widget .share-twitter {
    background: #1da1f2;
}

.sidebar-widget .share-facebook {
    background: #3b5998;
}

.sidebar-widget .share-whatsapp {
    background: #25d366;
}

/* Article Share Section - Final del artículo */
.article-share-section {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.article-share-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.final-share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.final-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.final-share-btn.twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.final-share-btn.facebook {
    background: linear-gradient(45deg, #3b5998, #2d4373);
}

.final-share-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.final-share-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .final-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .final-share-btn {
        min-width: 220px;
    }
}

/* Estilos globales para todos los enlaces del artículo */
.article-page a {
    color: #e0e0e0 !important;
    text-decoration: none;
}

.article-page a:hover {
    color: #ffffff !important;
}

/* Amazon Widget */
.product-card {
    text-align: center;
}

.product-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-info h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.price {
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.discount {
    background: #FF4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.btn-amazon {
    background: #FF9500;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-amazon:hover {
    background: #E8850B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 149, 0, 0.3);
}

/* Related Products */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.related-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.related-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.related-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.related-info h6 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ====================================
   ESTILOS PARA ARTÍCULOS RELACIONADOS SIN IMÁGENES
   ==================================== */

/* Artículos relacionados solo con texto */
.related-item:not(:has(img)) {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.related-item:not(:has(img)):hover {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(26, 26, 26, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.related-item:not(:has(img)) .related-info {
    text-align: left;
}

.related-item:not(:has(img)) .related-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    line-height: 1.3;
}

.related-item:not(:has(img)) .related-price {
    color: #00ff88;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Para navegadores que no soportan :has() */
.related-item-text-only {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.related-item-text-only:hover {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(26, 26, 26, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.related-item-text-only .related-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    line-height: 1.3;
}

.related-item-text-only .related-price {
    color: #00ff88;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive para artículos relacionados */
@media (max-width: 768px) {
    .related-item:not(:has(img)),
    .related-item-text-only {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .related-item:not(:has(img)) .related-title,
    .related-item-text-only .related-title {
        font-size: 0.85rem;
    }
    
    .related-item:not(:has(img)) .related-price,
    .related-item-text-only .related-price {
        font-size: 0.75rem;
    }
}

/* Social Sharing Widget */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn.twitter {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.social-btn.facebook {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.social-btn i {
    font-size: 1.1rem;
}

/* Mobile widgets - hidden by default (desktop) */
.mobile-widgets {
    display: none;
}

/* Mobile Amazon Widget Styles */
.mobile-amazon-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-amazon-widget h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amazon-card-compact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.amazon-card-compact img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.product-info-compact {
    flex: 1;
}

.product-info-compact h5 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.price-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-compact .current-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price-compact .discount {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-amazon-compact {
    background: linear-gradient(45deg, #ff9500, #ff6b00);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-amazon-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

/* Mobile Related Products */
.mobile-related-products {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-related-products h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-grid-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.related-item-mobile {
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.related-item-mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-item-mobile img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.related-info-mobile h6 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.related-info-mobile .related-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Newsletter Widget */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.newsletter-form button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--primary-bg);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .content-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 2rem;
    }
    
    .article-main {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .article-sidebar {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ocultar widgets específicos del sidebar en tablet */
    .sidebar-widget.related-products,
    .sidebar-widget.share-widget {
        display: none;
    }
    
    /* Mostrar widgets después del contenido */
    .mobile-widgets {
        display: block;
        margin-top: 2rem;
        border-top: 2px solid var(--border-color);
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    /* FORZAR LAYOUT DE UNA COLUMNA */
    .content-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
    }
    
    .article-main {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
        clear: both !important;
    }
    
    .article-sidebar {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 2rem 0 0 0 !important;
        float: none !important;
        clear: both !important;
        display: flex;
        flex-direction: column;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sidebar-widget {
        padding: clamp(1rem, 3vw, 1.5rem);
        margin-bottom: 1rem;
        width: 100% !important;
    }
    
    /* Ocultar widgets específicos del sidebar en móvil */
    .sidebar-widget.related-products,
    .sidebar-widget.share-widget {
        display: none;
    }
    
    /* Mostrar widgets después del contenido en móvil */
    .mobile-widgets {
        display: block;
        margin-top: 2rem;
        border-top: 2px solid var(--border-color);
        padding-top: 2rem;
    }
    
    .verdict-score {
        flex-direction: column;
    }
    
    .content-image {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .article-content img {
        max-width: 100%;
        height: auto;
    }
    
    .specs-table, .comparison-table {
        overflow-x: auto;
        font-size: 0.9rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Amazon widget más compacto en móvil */
    .amazon-widget .product-card {
        padding: 1rem;
        text-align: center;
    }
    
    .amazon-widget .product-card img {
        max-width: min(150px, 40vw);
        height: auto;
        margin: 0 auto 1rem;
    }
    
    .amazon-widget .product-info h5 {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .amazon-widget .price {
        margin-bottom: 1rem;
    }
    
    .amazon-widget .current-price {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .amazon-widget .btn-amazon {
        padding: 0.8rem 1rem;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        width: 100%;
    }
    
    /* Mejorar readabilidad del texto en móvil */
    .article-main h2 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin: 1.5rem 0 1rem;
        width: 100% !important;
    }
    
    .article-main h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
        margin: 1.2rem 0 0.8rem;
        width: 100% !important;
    }
    
    .article-main p {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        line-height: 1.6;
        margin-bottom: 1.2rem;
        width: 100% !important;
    }
    
    .article-main div,
    .article-main section {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .summary-card {
        padding: clamp(1rem, 3vw, 1.5rem);
        width: 100% !important;
    }
    
    /* Asegurar que todos los elementos de contenido se apilen */
    .article-main > * {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 1rem 0;
    }
    
    .article-hero {
        padding: 1.5rem 0;
    }
    
    .article-summary {
        padding: 1.5rem 0;
    }
    
    .article-body {
        padding: 1.5rem 0;
    }
    
    .sidebar-widget {
        padding: clamp(0.8rem, 3vw, 1.2rem);
    }
    
    /* Ocultar widgets específicos del sidebar en móviles pequeños */
    .sidebar-widget.share-widget {
        display: none;
    }
    
    /* En móvil, mover widgets específicos después del contenido */
    .sidebar-widget.related-products {
        order: 10;
        margin-top: 2rem;
        border-top: 2px solid var(--border-color);
        padding-top: 1.5rem;
    }
    
    .content-image {
        margin: 0.8rem auto;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    /* Amazon widget aún más compacto en móviles pequeños */
    .amazon-widget .product-card {
        padding: 0.8rem;
        text-align: left;
    }
    
    .amazon-widget .product-card img {
        max-width: 100px;
        height: auto;
        float: left;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .amazon-widget .product-info {
        overflow: hidden;
    }
    
    .amazon-widget .product-info h5 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .amazon-widget .price {
        margin-bottom: 0.3rem;
    }
    
    .amazon-widget .current-price {
        font-size: 1rem;
    }
    
    .amazon-widget .original-price {
        font-size: 0.8rem;
    }
    
    .amazon-widget .discount {
        font-size: 0.7rem;
    }
    
    .amazon-widget .product-rating {
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
    }
    
    .amazon-widget .btn-amazon {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        clear: both;
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* CTA Oferta Limitada */
.limited-offer-cta {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #00ff88;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.limited-offer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    animation: gradient 2s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.offer-content h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.social-proof {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.sales-stat, .stock-warning {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #e0e0e0;
    font-size: 0.85rem;
}

.sales-stat i {
    color: #4ecdc4;
}

.stock-warning i {
    color: #feca57;
}

.cta-button-premium {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
    margin-bottom: 0.8rem;
}

.cta-button-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252, #ff7043);
}

.cta-button-premium i {
    font-size: 1.1rem;
    margin-right: 0.4rem;
}

.cta-button-premium small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Control de tamaño para imágenes de contenido */
.content-image {
    max-width: 800px;
    margin: 2rem auto;
    display: block;
    text-align: center;
}

.content-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Imágenes en línea dentro del contenido */
.article-content img {
    max-width: 700px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CORRECCIÓN GRIDS INTERNOS EN MÓVIL
   ======================================== */

/* Forzar grids internos a una columna en móvil */
@media (max-width: 768px) {
    /* Elementos con grid inline - FORZAR APILADO */
    .pros-cons-grid,
    .conclusion-grid,
    .article-main [style*="grid-template-columns: 1fr 1fr"],
    .article-main [style*="display: grid"],
    .article-main div[style*="grid"] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        width: 100% !important;
        gap: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .pros-cons-grid > div,
    .conclusion-grid > div,
    .article-main [style*="grid"] > div {
        margin-bottom: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    /* REGLA NUCLEAR - Forzar cualquier elemento problemático */
    .article-main * {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    /* Contenedores específicos */
    .article-main div,
    .article-main section,
    .article-main article {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* REGLAS EXTREMAS PARA MÓVILES PEQUEÑOS */
    .content-grid {
        display: block !important;
        width: 100% !important;
        padding: 0 0.5rem !important;
    }
    
    .article-main {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem 0.5rem !important;
        clear: both !important;
        display: block !important;
    }
    
    .article-sidebar {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        margin: 2rem 0 0 0 !important;
        clear: both !important;
        display: block !important;
    }
    
    /* Asegurar que todos los grids internos se colapsen */
    .article-main [style*="grid"],
    .article-main [style*="display: grid"] {
        display: block !important;
        width: 100% !important;
    }
    
    .article-main [style*="gap:"] {
        gap: 0.5rem !important;
    }
    
    /* Eliminar cualquier float o positioning problemático */
    .article-main *,
    .article-sidebar * {
        float: none !important;
        position: static !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ========================================
   MEDIA QUERIES ADICIONALES MEJORADAS
   ======================================== */

/* Pantallas muy grandes */
@media (min-width: 1440px) {
    .content-grid {
        max-width: 1400px;
        grid-template-columns: 1fr 320px;
    }
    
    .article-main {
        padding: 3.5rem;
    }
}

/* Breakpoint intermedio tablet-desktop */
@media (max-width: 1024px) and (min-width: 769px) {
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-main {
        padding: 2rem;
    }
    
    .summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Tabletas en orientación vertical */
@media (max-width: 768px) and (min-width: 481px) {
    .article-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .amazon-widget .product-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .amazon-widget .product-card img {
        max-width: 120px;
        flex-shrink: 0;
        margin: 0;
    }
    
    .amazon-widget .product-info {
        flex: 1;
    }
}

/* Mejoras generales para móvil */
@media (max-width: 768px) {
    .content-image {
        max-width: 100%;
        margin: 1.5rem auto;
    }
    
    .article-content img {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .limited-offer-cta {
        padding: 1.2rem;
    }
    
    .social-proof {
        flex-direction: column;
        text-align: center;
    }
    
    /* Mejorar tablas en móvil */
    .specs-table, .comparison-table {
        font-size: 0.85rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table th,
    .specs-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.3rem;
        min-width: 80px;
    }
}

/* Móviles pequeños adicionales */
@media (max-width: 400px) {
    .content-grid {
        padding: 0 0.5rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    
    .summary-card {
        padding: 0.8rem;
    }
    
    .article-meta {
        gap: 0.5rem;
    }
    
    .article-category a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .amazon-widget .btn-amazon {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ====================================
   TESTIMONIOS DE USUARIOS - SISTEMA GLOBAL
   ==================================== */

/* Grid de testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Tarjeta individual de testimonio */
.testimonio-card {
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

/* Testimonios positivos (verde) */
.testimonio-card.positivo {
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid #00ff88;
}

/* Testimonios críticos (naranja) */
.testimonio-card.critico {
    background: rgba(255, 107, 53, 0.05);
    border-left: 4px solid #ff6b35;
}

/* Header del testimonio con avatar y datos */
.testimonio-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Avatar circular con inicial */
.testimonio-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.testimonio-avatar.positivo {
    background: #00ff88;
    color: #000;
}

.testimonio-avatar.critico {
    background: #ff6b35;
    color: #fff;
}

/* Información del usuario */
.testimonio-info {
    flex: 1;
}

.testimonio-nombre {
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
}

.testimonio-perfil {
    color: #ccc;
    font-size: 0.9em;
}

/* Contenido del testimonio */
.testimonio-contenido {
    color: #ccc;
    font-style: italic;
    margin: 15px 0;
    line-height: 1.6;
}

/* Rating con estrellas */
.testimonio-rating {
    color: #ffd700;
    margin-top: 10px;
    font-size: 1.1em;
}

/* Resumen de testimonios */
.testimonios-resumen {
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.testimonios-resumen h3 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.resumen-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-item {
    padding: 10px;
}

.stat-numero {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-numero.positivo {
    color: #00ff88;
}

.stat-numero.critico {
    color: #ff6b35;
}

.stat-descripcion {
    color: #ccc;
    font-size: 0.9em;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .testimonio-card {
        padding: 15px;
    }
    
    .testimonio-header {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .testimonio-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    
    .testimonio-nombre {
        font-size: 0.95em;
    }
    
    .testimonio-perfil {
        font-size: 0.85em;
    }
    
    .testimonio-contenido {
        font-size: 0.9em;
        margin: 12px 0;
    }
    
    .testimonios-resumen {
        padding: 15px;
    }
    
    .resumen-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-numero {
        font-size: 1.6em;
    }
    
    .stat-descripcion {
        font-size: 0.8em;
    }
}

/* Ultra responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .resumen-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonio-header {
        flex-direction: row;
        align-items: center;
    }
    
    .testimonio-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8em;
    }
}

/* ====================================
   SIDEBAR SISTEMA COMPLETO - TEMPLATE REUTILIZABLE
   ==================================== */

/*
🔥 ESTRUCTURA COMPLETA DEL SIDEBAR OPTIMIZADA
Usar esta estructura HTML en todos los artículos:

<aside class="article-sidebar">
    <!-- Widget Amazon (Principal) -->
    <div class="sidebar-widget amazon-widget">
        <h4><i class="fas fa-shopping-cart"></i> Comprar en Amazon</h4>
        <div class="product-card">
            <img src="ruta-imagen.jpg" alt="Producto en Amazon" loading="lazy">
            <div class="product-info">
                <h5>Nombre del Producto</h5>
                <div class="price">
                    <span class="current-price">Ver en Amazon</span>
                    <span class="discount">Descripción corta</span>
                </div>
                <div class="product-rating">
                    <div class="stars">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                    </div>
                    <span>4.X/5</span>
                </div>
                <a href="https://amazon.com/dp/ASIN?tag=omarytplay-20" class="btn-amazon" target="_blank" rel="nofollow">
                    <i class="fab fa-amazon"></i>
                    Ver en Amazon
                </a>
            </div>
        </div>
    </div>

    <!-- Widget Productos Relacionados -->
    <div class="sidebar-widget related-products">
        <h4><i class="fas fa-microchip"></i> Productos Relacionados</h4>
        <div class="related-list">
            <a href="producto-1.html" class="related-item">
                <div class="related-info">
                    <h6>Título del Producto 1</h6>
                    <span class="related-price">Descripción</span>
                </div>
            </a>
            <a href="producto-2.html" class="related-item">
                <div class="related-info">
                    <h6>Título del Producto 2</h6>
                    <span class="related-price">Descripción</span>
                </div>
            </a>
        </div>
    </div>

    <!-- Widget Índice -->
    <div class="sidebar-widget">
        <h4><i class="fas fa-list"></i> Índice</h4>
        <ul class="table-of-contents">
            <li><a href="#seccion1">Sección 1</a></li>
            <li><a href="#seccion2">Sección 2</a></li>
            <li><a href="#conclusion">Conclusión</a></li>
        </ul>
    </div>
</aside>

NOTAS IMPORTANTES:
- Usar SIEMPRE tag=omarytplay-20 en enlaces Amazon
- Incluir rel="nofollow" en enlaces Amazon
- Las imágenes deben usar loading="lazy"
- Adaptar los íconos FontAwesome según categoría
- Los widgets se ocultan en móvil automáticamente
*/

/* Los estilos del sidebar ya están implementados en las secciones anteriores:
   - .article-sidebar
   - .sidebar-widget
   - .amazon-widget
   - .related-products
   - .table-of-contents
   - Responsive design completo
   
   ¡Todo listo para usar en cualquier artículo!
*/

/* ====================================
   ESTILOS PARA TESTIMONIOS DE USUARIOS
   ==================================== */

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.testimonio-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.testimonio-card.positivo {
    border-color: rgba(0, 255, 136, 0.3);
}

.testimonio-card.critico {
    border-color: rgba(255, 107, 53, 0.3);
}

.testimonio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.testimonio-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonio-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 15px;
}

.testimonio-avatar.positivo {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.testimonio-avatar.critico {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
}

.testimonio-info {
    flex: 1;
}

.testimonio-nombre {
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
}

.testimonio-perfil {
    color: #ccc;
    font-size: 0.9em;
}

.testimonio-contenido {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonio-rating {
    font-size: 1.2em;
    text-align: right;
}

/* RESUMEN DE TESTIMONIOS */
.testimonios-resumen {
    background: rgba(0, 255, 136, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.testimonios-resumen h3 {
    color: #00ff88;
    text-align: center;
    margin-bottom: 20px;
}

.resumen-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    background: rgba(26, 26, 26, 0.6);
    padding: 20px;
    border-radius: 8px;
}

.stat-numero {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-numero.positivo {
    color: #00ff88;
}

.stat-numero.critico {
    color: #ff6b35;
}

.stat-descripcion {
    color: #ccc;
    font-size: 0.9em;
}

/* RESPONSIVE PARA TESTIMONIOS */
@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .testimonio-card {
        padding: 15px;
    }
    
    .resumen-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-numero {
        font-size: 1.5em;
    }
}

/* ====================================
   ESTILOS PARA BOTÓN AMAZON
   ==================================== */
.amazon-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff9900, #ff6600);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    text-align: center;
    min-width: 160px;
    justify-content: center;
}

.amazon-button:hover {
    background: linear-gradient(135deg, #ffaa00, #ff7700);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    border-color: #ff9900;
}

.amazon-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.amazon-button i {
    font-size: 1.2em;
    color: #fff;
}
