
      
      
      
      
      /* --- VARIABLES --- */
        :root {
            --primary-dark: #0f172a;
            --accent-glow: #6366f1;
            --accent-gradient: linear-gradient(135deg, #6366f1, #3b82f6);
            --deal-gradient: linear-gradient(135deg, #f97316, #ef4444);
            --success-text: #10b981;
            --bg-app: #f1f5f9;
            --bg-card: #ffffff;
            --border-subtle: #e2e8f0;
            --radius-xl: 16px;
            --radius-m: 12px;
            --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
        }

        /* --- CARD CONTAINER --- */
        .product-card {
            max-width: 1000px;
            margin: auto;
            width: 100%;
            display: grid;
            /* IMPORTANTE: minmax(0, 1fr) evita que el slider rompa el ancho */
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.5);
        }

        /* --- IZQUIERDA: GALERÍA --- */
        .gallery-container {
            padding: 2rem;
            padding-top:0;
            display: flex;
            position: relative;
            flex-direction: column;
            align-items: center;
            justify-content: center; /* Centrar verticalmente */
            border-right: 1px solid var(--border-subtle);
        }

        /* VIEWPORT: El marco de la imagen */
        .slider-viewport {
            position: relative;
            width: 100%;
            max-width: 450px; /* LIMITA el ancho para que no se vea gigante */
            height: 350px; /* Altura fija */
            overflow: hidden;
            margin-bottom: 1.5rem;
            cursor: grab; 
            /* Para depurar bordes si es necesario, descomenta la siguiente línea: */
            /* border: 1px dashed red; */
        }
        .slider-viewport:active { cursor: grabbing; }

        /* PISTA: Contiene las imágenes */
        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: transform;
        }

        /* IMÁGENES INDIVIDUALES */
        .slide-image {
            min-width: 100%;
            height: 100%;
            object-fit: contain; /* Ajusta la imagen sin recortarla */
            user-select: none;
            -webkit-user-drag: none;
            padding: 10px; /* Un poco de aire interno */
        }

        /* --- BOTONES DE NAVEGACIÓN (AHORA DENTRO DEL VIEWPORT) --- */
        /* --- BOTONES DE NAVEGACIÓN (VISIBLES SIEMPRE) --- */
        .slider-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.8); /* Un poco transparente para no tapar */
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border: 1px solid var(--border-subtle);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            color: var(--primary-dark);
            transition: all 0.2s ease;
            
            /* CAMBIO AQUÍ: Antes era 0, ahora es 1 */
            opacity: 1; 
        }
        
        /* Esta parte del hover ahora solo cambia el color, ya no la opacidad */
        .slider-nav-btn:hover { 
            background: var(--primary-dark); 
            color: white; 
            transform: translateY(-50%) scale(1.1); 
        }
        
        /* Mostrar botones solo cuando el mouse entra al slider (opcional, muy pro) */
        .slider-viewport:hover .slider-nav-btn { opacity: 1; }
        /* O si prefieres que siempre se vean, borra la línea de opacity: 0 */
        
        
        .slider-prev { left: 10px; }
        .slider-next { right: 10px; }

        /* MINIATURAS */
        .thumbnails { display: flex; gap: 10px; z-index: 5;justify-content: center;flex-wrap: wrap; }
        .thumb {
            width: 60px; height: 60px;
            border-radius: var(--radius-m);
            cursor: pointer;
            object-fit: cover;
            transition: all 0.2s;
            border: 2px solid transparent;
            background: #fff;
            padding: 2px;
            border: 1px solid var(--border-subtle);
        }
        .thumb:hover { transform: translateY(-2px); }
        .thumb.active { border-color: var(--accent-glow); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }

        /* --- DERECHA: INFO (ESTILOS RESUMIDOS) --- */
        .info-container { padding: 2.5rem; display: flex; flex-direction: column; }
        .title {max-width: 1000px;margin: auto;padding: 1rem; font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
        
        .score-box { background: var(--accent-gradient); color: white; padding: 10px 14px; border-radius: 10px; text-align: center; min-width: 80px; box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3); }
        .score-val { font-size: 1.3rem; font-weight: 900; display: block; }
        .score-label { font-size: 0.65rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }

        .pricing-section h2 {margin-top: 10px;   font-weight: 700; margin-bottom: 1rem; }
        
        .price-row { display: flex; align-items: center; justify-content: space-between; background: white; padding: 1rem; border: 1px solid var(--border-subtle); border-radius: 12px; margin-bottom: 1rem; position: relative; transition: transform 0.2s; }

        .good-price-sticker{    background-color: #cf2c27;
    color: #fff;
    display: inline-flex;
    font-size: .75rem;
    height: 22px;
    line-height: 22px;
    margin-left: 10px;
    left: 0;
    padding: 0 8px 0 5px;
    position: relative;
    white-space: nowrap;
    z-index: 10;
    top: -10px;
    position: absolute;}
    .good-price-sticker:before {
        background-color: #cf2c27;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 1px;
    border-top-left-radius: 1px;
    content: "";
    height: 16px;
    left: -8px;
    position: absolute;
    top: 3px;
    transform: rotate(45deg);
    width: 16px;
    z-index: -1;
    }

    .good-price-sticker:after {
        background-color: #fff;
    border-radius: 5px;
    content: "";
    height: 5px;
    left: -6px;
    position: absolute;
    top: 8px;
    width: 5px;
    }
        .price { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); }
        .btn-buy { padding: 0.7rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-block; background-color: #000;color: white;  transition: 0.2s; }
        .btn-buy:hover { opacity: 0.9; transform: scale(1.02); }
        .btn-secondary { background: white; color: var(--primary-dark); border: 2px solid #e2e8f0; }
        
        .reviews { margin-top: 5px; font-size: 0.9rem; color: #64748b; display:flex; align-items:center; gap:8px; }

.stars { display:inline-block; font-size:1rem; line-height:1; }

/* base de la estrella (gris claro) */
.star {
  display:inline-block;
  position:relative;
  font-size:1rem;
  line-height:1;
  color:#cbd5e1; /* color "vacío" */
  margin-right:2px;
}

/* estrella llena */
.star.full { color:#c05621; }

/* estrella "mitad": fondo gris con overlay de la mitad coloreada */
.star.half::before{
  content: '★';
  position:absolute;
  left:0;
  top:0;
  width:50%;
  overflow:hidden;
  color:#c05621; /* color "lleno" */
}

/* opcional: suavizar el tamaño de texto del número */
.reviews .meta { color: #64748b; font-size:0.9rem; }


        /* RESPONSIVE */
        @media (max-width: 850px) {
            .product-card { grid-template-columns: 1fr; }
            .gallery-container { border-right: none; border-bottom: 1px solid var(--border-subtle); }
            .slider-viewport { height: 280px; }
            .score-box { align-self: flex-start; display: flex; align-items: center; gap: 10px; }
            .info-container {
                padding: 1rem;
            }
        }

        .bandera {
            width: 100px;
            background: #000;
            font-family: sans-serif;
            text-align: center;
            border-radius: 6px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }
        .bandera .titulo {
            font-size: 12px;
            padding: 4px 0 2px;
            position: relative;
            color: #fff;
        }

        .bandera .puntaje {
            background: #008744;
    padding: 6px 0;
    font-size: 22px;
    color: #fff;
        }

        .bandera .puntaje span {
            font-size: 14px;
            color: #fff;
        }

        .bandera .texto {
            font-size: 13px;
    padding: 4px 0 6px;
    font-weight: bold;
    color: #fff;
        }

    :root {
        --primary-color: #3b82f6; /* Azul moderno */
        --text-dark: #1f2937;
        --text-light: #6b7280;
        --bg-zebra: #f9fafb;
        --border-color: #e5e7eb;
    }

        h2 {
            margin-top: 10px;
        }

/* ========================================== */
/* TABLA COMPARATIVA MEJORADA */
/* ========================================== */

/* Contenedor principal */
.comparison-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    margin-top: 0;
    padding: 0 5px;
}

/* Header de la sección */
.comparison-header {
    background: #fff;
    padding: 10px;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.comparison-header::before, h2.specs-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.comparison-header h2 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-header svg {
    width: 20px;
    height: 20px;
}

/* Wrapper de la tabla */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    border-top: none;
}

/* Tabla */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: white;
}

/* Columna fija izquierda */
.sticky-col {
    position: sticky;
    left: 0;
    z-index: 15;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9em;
    color: #475569;
    text-align: left;
    border-right: 3px solid #e2e8f0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.03);
}

/* Columnas de productos */
.prod-col {
    min-width: 250px;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    background: white;
    border-right: 1px solid #f1f5f9;
}

/* Headers de sección */
.section-header td {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 3px solid #e2e8f0;
    border-top: 2px solid #e2e8f0;
    padding: 0;
    position: sticky;
    left: 0;
    z-index: 20;
}

.section-title {
    padding: 16px 20px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.section-title:hover {
    background: rgba(102, 126, 234, 0.05);
}

.arrow {
    margin-right: 10px;
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #667eea;
    font-weight: bold;
}

tbody.collapsed .arrow {
    transform: rotate(-90deg);
}

/* Filas de datos */
tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f8fafc;
}

tbody tr:last-child {
    border-bottom: none;
}

/* Imagen del producto */
.prod-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.prod-img:hover {
    transform: scale(1.05);
}

/* Nombre del producto */
.prod-name {
    color: #667eea;
    font-weight: 700;
    font-size: 1.05em;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Precio */
.price {
    font-weight: 800;
    font-size: 1.2em;
    color: #1f2937;
    display: block;
    margin: 8px 0;
}

/* Score mejorado */
.score {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1em;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 5px;
}

/* Botón remover */
.btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-remove:hover {
    color: white;
    background: #ef4444;
    border-color: #ef4444;
}

/* Columna añadir */
.add-col {
      min-width: 140px;
    background: #fff;
    vertical-align: baseline;
}

.btn-add {
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px dashed #ccc;
    cursor: pointer;
    background: transparent;
    margin: 0 auto;
    margin-top: 30px;
    transition: 0.2s;
}

.btn-add:hover {
    border-color: #667eea;
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.btn-add span:first-child {
    font-size: 32px;
    line-height: 1;
    font-weight: 300;
}

.btn-add span:last-child {
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Loading overlay mejorado */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    z-index: 88378937989;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal mejorado */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: white;
    width: 600px;
    max-width: calc(100% - 40px);
    max-height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-head {
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    gap: 15px;
    align-items: center;
}

.modal-head button {
    border: none;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-head button:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body {
    overflow-y: auto;
    padding: 10px 0;
    max-height: calc(85vh - 100px);
}

.search-input {
    flex: 1;
    width: 50%;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: rgba(255,255,255,0.95);
    transition: all 0.2s;
}

.search-input:focus {
    border-color: white;
    background: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.search-item:hover {
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), transparent);
    transform: translateX(5px);
}

.search-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .comparison-header {
        padding: 15px;
    }
    
    .comparison-header h2 {
        font-size: 1.2em;
    }
    
    .sticky-col {
        font-size: 0.8em;
        padding: 10px 12px;
        min-width: 100px;
    }
    
    .prod-col {
        min-width: 160px;
        padding: 10px 8px;
    }
    
    .prod-img {
        width: 100px;
        height: 100px;
    }
    
    .prod-name {
        font-size: 0.85em;
    }
    
    .price {
        font-size: 1.1em;
    }
    
    .btn-remove {
        width: 24px;
        height: 24px;
        font-size: 14px;
        top: 5px;
        right: 5px;
    }
    
    .add-col {
        min-width: 100px;
        padding: 10px 5px;
    }
    
    
    .modal-box {
        width: 95%;
    }
    
    /* Ensure table wrapper allows horizontal scrolling on mobile */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .table-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    
    .table-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e0;
        border-radius: 2px;
    }
}

/* Mejoras adicionales para valores específicos */
td.prod-col strong {
    color: #1f2937;
}

td.prod-col a {
    display: inline-block;
    background: #1f2937;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

td.prod-col a:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Indicador de scroll en la tabla */
.table-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.table-wrapper.has-scroll::after {
    opacity: 1;
}

/* Animación para filas colapsadas */
tbody.collapsed tr {
    display: none;
}

tbody.collapsed .section-header {
    display: table-row;
}

        @media(max-width: 768px) {
            .sticky-col { font-size: 12px; padding: 10px; min-width: 90px; }
            .prod-col { min-width: 140px;width: 140px; padding: 10px 5px; }
            .add-col { min-width: 80px; padding: 8px 3px; }
            h1 { font-size: 1.2rem; }
        }

        /* Extra small mobile devices */
        @media(max-width: 480px) {
            .sticky-col { font-size: 11px; padding: 8px 10px; min-width: 80px; }
            .prod-col { min-width: 120px; width: 120px; padding: 8px 3px;font-size: 12px; }
            .add-col { min-width: 70px; padding: 6px 2px; }
            .prod-img { width: 80px; height: 80px; }
            .prod-name { font-size: 0.75em; }
            .price { font-size: 0.9em; }
            .score{
                font-size: 12px;
            }        
        }


        .container-pros-contras {
            max-width: 1000px;
            margin: auto;
            display: flex;
            order: 5;
        }
        .pros, .contras {
            width: calc(100% / 2);
            padding: 1rem;
            padding-top: 0;
            border: 1px dashed #cbd5e0;
        }
        .pros ul, .contras ul {
            background-color: unset;
            border: none;
            margin: 0;
        }

        .pros ul li, .contras ul li {
            display: flex;
            align-items: baseline;
            line-height: 1;
            margin-top: 8px;
        }
        .pros svg, .contras svg {
            height: 17px;
            min-width: 17px;
            margin-right: 5px;
        }
        .contras {
            margin-left: 10px;
        }
        .pros {
            background-color: #f4f9f5;
            
        }
        .contras {
            background-color: #fcf2f2;
        }

        @media (max-width:500px) {
            .pros, .contras {
                width: 100%;
            }
            .container-pros-contras {
                display: block;
            }
            .contras {
                margin-left: 0;
                margin-top: 10px;
            }
        }


/* ── Jump Nav base (ya deberías tener algo así) ── */
.jump-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.jump-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 20px;
    background: #f1f5f9;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 850px) {

    .jump-label {
        display: none;
    }

    .jump-nav {
        display: flex;
        gap: 0;
        margin-top: 14px;
        background: #f1f5f9;
        border-radius: 10px;
        padding: 3px;
        border: 1px solid #e2e8f0;
    }

    .nav-link {
        flex: 1;
        justify-content: center;
        border-radius: 8px;
        background: transparent;
        font-size: 12px;
        gap: 4px;
        border: none;
    }

    .nav-link:hover,
    .nav-link:active {
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        color: #1e293b;
    }

    .nav-link svg {
        width: 14px;
        height: 14px;
    }
}

[id] {
  scroll-margin-top: 80px;
}
.img-float {
    width: 400px;
    margin-left: 10px;
    float:right;
    margin-top: 20px;
}

@media (max-width:650px) {
    .img-float {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        float: unset;
    }
}









.proscons-header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    position: relative;
    padding: 10px;
    border-radius: 20px 20px 0 0;
    margin-top: 20px;
}

.proscons-header h2 {
    margin: 0;
    font-size: 1.6em;
    color: #fff;
    text-align: center;
}



.proscons-container {
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 10px;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    border-bottom: 3px solid #e9ecef;
}

.section-divider.pros-divider {
    background: linear-gradient(to right, #f4f9f5 0%, white 100%);
    color: #10b981;
}

.section-divider.cons-divider {
    background: linear-gradient(to right, #fcf2f2 0%, white 100%);
    color: #ef4444;
}

.section-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1em;
}

.section-icon.pros {
    background: #d1fae5;
    color: #10b981;
}

.section-icon.cons {
    background: #fee2e2;
    color: #ef4444;
}

.proscons-content {
    padding: 15px;
}

/* Mejoras a tus feature-card existentes */
.feature-card {
    margin-bottom: 25px;
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid #667eea;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.feature-card.pro {
    border-left-color: #10b981;
    background: linear-gradient(to right, #f0fdf4 0%, white 100%);
}

.feature-card.con {
    border-left-color: #ef4444;
    background: linear-gradient(to right, #fef2f2 0%, white 100%);
}

.feature-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9em;
    flex-shrink: 0;
}

.feature-number.pro {
    background: #10b981;
}

.feature-number.con {
    background: #ef4444;
}

.feature-description {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 12px;
}
.feature-list li {
    color: #4b5563;
}
.feature-description:last-child {
    margin-bottom: 0;
}

.highlight {
    background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 80%;
    font-weight: 600;
    padding: 0 4px;
}



@media (max-width: 768px) {
    .proscons-header h2 {
        font-size: 1.2em;
    }
    
    .section-divider {
        font-size: 1em;
        padding: 20px;
    }
    
    .proscons-content {
        padding: 10px;
    }
    
    .feature-title {
        font-size: 1em;
    }
}

/* --------------------------- Tabla de especificaciones --------------------------- */
/* Contenedor principal de specs */
.specs-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 10px 0;
}

/* Título principal */
h2.specs-title {
    background:#fff;
    position: relative;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    margin: 0;
    font-size: 1.6em;
    text-align: center;
    font-weight: 700;
    display: block;
}

/* Navegación por pestañas (tabs) */
.specs-tabs {
    display: flex;
    overflow-x: auto;
    background: #f8f9fa;
    border-bottom: 3px solid #e9ecef;
    padding: 0;
    gap: 5px;
    scrollbar-width: thin;
}

.specs-tabs::-webkit-scrollbar {
    height: 6px;
}

.specs-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    color: #64748b;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-btn .tab-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

/* Contenedor de las tablas */
.container-tabla-especificaciones {
    position: relative;
    padding: 0;
}

/* Grupos de especificaciones */
.group-container {
    display: none;
    animation: fadeIn 0.3s ease;
}

.group-container.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Título de cada grupo */
.titulo-tabla {
    background: linear-gradient(to right, #f8f9fa 0%, white 100%);
    padding: 20px 30px;
    font-size: 1.3em;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tabla de especificaciones */
.tabla-especificaciones {
    width: 100%;
    border-collapse: collapse;
}

.tabla-especificaciones tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.tabla-especificaciones tbody tr:hover {
    background: #f8fafc;
}

.tabla-especificaciones tbody tr:last-child {
    border-bottom: none;
}

/* Columnas */
.col-feature {
    padding: 18px 30px;
    font-weight: 600;
    color: #475569;
    width: 35%;
    font-size: 0.95em;
}

.col-value {
    padding: 18px 30px;
    color: #1e293b;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Badges para valores destacados */
.spec-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 700;
    margin-left: 8px;
}

.spec-badge.new {
    background: linear-gradient(135deg, #10b981, #059669);
}

.spec-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}


/* Botón "Ver más" */
.btn-ver-mas {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 30px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
    max-width: 300px;
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.svg-flecha {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-ver-mas.expanded .svg-flecha {
    transform: rotate(180deg);
}


.container-tabla-especificaciones.expanded {
    max-height: none;
}

/* Indicadores visuales */
.check-icon {
    color: #10b981;
    font-weight: bold;
}

.cross-icon {
    color: #ef4444;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .specs-title {
        font-size: 1.5em;
        padding: 20px;
    }
    
    .specs-tabs {
        gap: 0;
    }
    
    .tab-btn {
        min-width: 120px;
        padding: 12px 15px;
        font-size: 0.85em;
    }
    
    .tab-btn .tab-icon {
        display: block;
        margin: 0 auto 5px;
    }
    
    .titulo-tabla {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    
    .col-feature {
        width: 40%;
        padding: 15px 20px;
        font-size: 0.9em;
    }
    
    .col-value {
        padding: 15px 20px;
        font-size: 0.9em;
    }
    
}

/* Comparación visual (opcional) */
.spec-comparison {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85em;
}

.spec-comparison .arrow-up {
    color: #10b981;
    font-weight: bold;
}

/* Contenedor de especificaciones */
.container-tabla-especificaciones {
    position: relative;
    transition: max-height 0.4s ease;
}


/* Estado expandido: sin límite */
.container-tabla-especificaciones.expanded {
    max-height: none;
    overflow: visible;
}

/* Estado colapsado: altura limitada */
.container-tabla-especificaciones.collapsed {
    max-height: 300px;
    overflow: hidden;
    position: relative; /* IMPORTANTE para que el absolute funcione */
}

/* Shadow fade - DENTRO del contenedor */
.shadow-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.3));
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    opacity: 1;
}

/* Ocultar shadow cuando está expandido */
.container-tabla-especificaciones.expanded .shadow-fade {
    opacity: 0;
}

/* Mostrar shadow solo cuando está colapsado */
.container-tabla-especificaciones.collapsed .shadow-fade {
    opacity: 1;
}

/* --------------------------- Fin Tabla de especificaciones --------------------------- */




            
 /*=============================================== 
 CSS MEJORADO PARA VEREDICTO FINAL 
 =============================================== */
/* Contenedor principal del veredicto final */
.final-verdict-wrapper {
    max-width: 1000px;
    margin: 10px auto;
    padding: 0 5px;
}

.final-verdict {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

/* Header con gradiente y patrón */
.final-verdict-header {
    background: #fff;
    border-bottom:1px solid #ddd;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.final-verdict-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.final-verdict-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Texto del header */
.final-verdict-title-wrapper {
    flex: 1;
}

.final-verdict-title {
    font-size: 1.6em;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

/* Contenido principal */
.final-verdict-content {
    padding: 20px;
    padding-top:0
}

.final-verdict-content h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.final-verdict-content p {
    font-size: 1.1em;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 20px;
}

.final-verdict-content p:last-child {
    margin-bottom: 0;
}

.final-verdict-content strong {
    color: #1f2937;
    font-weight: 700;
}

/* Highlights con iconos */
.verdict-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 0px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #cbd5e0;
}

.highlight-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon.positive {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.highlight-icon.negative {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.highlight-icon.neutral {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-icon.positive svg {
    stroke: #059669;
}

.highlight-icon.negative svg {
    stroke: #dc2626;
}

.highlight-icon.neutral svg {
    stroke: #2563eb;
}

.highlight-text h4 {
    font-size: 1em;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.highlight-text p {
    font-size: 0.9em;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* CTA Final (opcional) */
.final-cta {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    text-align: center;
}

.final-cta-text {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
}

.final-cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .final-verdict-header {
        padding: 30px 20px;
    }
    
    .final-verdict-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .final-verdict-title {
        font-size: 1.5em;
    }
    
    .final-verdict-content {
        padding: 15px;
        padding-top: 0;
    }
    
    .final-verdict-content h2 {
        font-size: 1.3em;
    }
    
    .final-verdict-content p {
        font-size: 1em;
    }
    .verdict-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

 /*=============================================== 
 CSS MEJORADO PARA VEREDICTO FINAL 
 =============================================== */








  /*=============================================== 
 CSS MEJORADO PARA VEREDICTO del principio 
 =============================================== */

.veredicto {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: none;
    position: relative;
}

/* Header del veredicto con gradiente */
.veredicto-header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Patrón de fondo sutil (opcional) */
.veredicto-header::before,.proscons-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}



/* Texto del header */
.veredicto-title-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
}

.veredicto-title {
    font-size: 1.6em;
    text-align: center;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* Contenido del veredicto */
.veredicto-content {
    padding: 10px;
    background: white;
}

.veredicto-content p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

.veredicto-content strong {
    color: #2d3748;
    font-weight: 700;
}

/* Versión alternativa con imagen a la izquierda */
.veredicto.with-image {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.veredicto-image {
    position: relative;
    overflow: hidden;
}

.veredicto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.veredicto-text-wrapper {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 768px) {
    .veredicto-header {
        flex-direction: column;
        text-align: center;
        gap:10px
    }
    
    .veredicto-title {
        font-size: 1.4em;
    }
    
    .veredicto-content {
        padding: 20px;
    }
    
    .veredicto-content p {
        font-size: 1em;
    }
    
    .veredicto.with-image {
        grid-template-columns: 1fr;
    }
    
    .veredicto-image {
        height: 200px;
    }
}

  /*=============================================== 
 CSS MEJORADO PARA VEREDICTO del principio 
 =============================================== */



 .variant-selector {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variant-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    min-width: 70px;
}

.variant-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.variant-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.variant-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.variant-btn.active {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.color-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
}

.price-transition {
    transition: opacity 0.2s ease;
}

.price-fading {
    opacity: 0.4;
}



/* ── Sticky Buy Bar (shared) ── */
.sticky-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    padding: 8px 16px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.sticky-buy-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

.sticky-buy-inner {
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-buy-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #fff;
}

.sticky-buy-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.sticky-buy-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-buy-price {
    font-size: 16px;
    font-weight: 800;
    color: #16a34a;
    white-space: nowrap;
}

.sticky-buy-btn {
    background: #000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sticky-buy-btn:hover {
    background: #333;
}

/* ── Desktop: top bar ── */
@media (min-width: 769px) {
    .sticky-buy-bar {
        top: 0;
        bottom: auto;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transform: translateY(-100%);
    }
    .sticky-buy-bar.visible {
        transform: translateY(0);
    }
}

/* ── Mobile: bottom bar ── */
@media (max-width: 768px) {
    .sticky-buy-bar {
        bottom: 0;
        top: auto;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        transform: translateY(100%);
    }
    .sticky-buy-bar.visible {
        transform: translateY(0);
    }
    .sticky-buy-img {
        width: 34px;
        height: 34px;
    }
    .sticky-buy-name {
        font-size: 12px;
    }
    .sticky-buy-price {
        font-size: 14px;
    }
    .sticky-buy-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
    #backToTop {
        bottom: 70px;
    }
}


/* --------------------- Pros and cons short section --------------------- */


        .section-header {
            text-align: center;
            margin-bottom: 32px;
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .section-header p {
            color: #64748b;
            font-size: 0.95rem;
        }

        .pros-cons-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .card {
            border-radius: 16px;
            padding: 24px;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-4px);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        /* Pros Card */
        .card-pros {
            background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1px solid #86efac;
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
        }

        .card-pros:hover {
            box-shadow: 0 8px 30px rgba(34, 197, 94, 0.25);
        }

        .card-pros::before {
            background: linear-gradient(90deg, #22c55e, #16a34a);
        }

        /* Cons Card */
        .card-cons {
            background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fca5a5;
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
        }

        .card-cons:hover {
            box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
        }

        .card-cons::before {
            background: linear-gradient(90deg, #ef4444, #dc2626);
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .card-icon {
            width: 30px;
            height: 30px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            font-weight: 700;
        }

        .card-pros .card-icon {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
        }

        .card-cons .card-icon {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-top: 0;
        }

        .card-pros .card-title {
            color: #15803d;
        }

        .card-cons .card-title {
            color: #b91c1c;
        }

        .card-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .card-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.925rem;
            line-height: 1.5;
            color: #374151;
            margin-top: 0;
        }

        .list-icon {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 700;
            margin-top: 1px;
        }

        .card-pros .list-icon {
            background: #dcfce7;
            color: #16a34a;
            border: 1.5px solid #86efac;
        }

        .card-cons .list-icon {
            background: #fee2e2;
            color: #dc2626;
            border: 1.5px solid #fca5a5;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {

            .section-header {
                margin-bottom: 24px;
            }

            .section-header h2 {
                font-size: 1.5rem;
            }

            .pros-cons-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .card {
                padding: 20px;
            }


            .card-icon {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }

            .card-title {
                font-size: 1.1rem;
            }

            .card-list {
                gap: 10px;
            }

            .card-list li {
                font-size: 0.875rem;
            }

            .list-icon {
                width: 20px;
                height: 20px;
                font-size: 0.65rem;
            }
        }

        @media (max-width: 400px) {
            .card {
                padding: 16px;
            }

            .card-list li {
                gap: 10px;
            }
        }

/* --------------------- Fin Pros and cons short section --------------------- */



/* =============================================
   RTINGS SIDEBAR SCORES - INTERACTIVE
   ============================================= */
/* =============================================
   RTINGS VERDICT COMPONENT - CSS
   ============================================= */

.verdict-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 5px;
}

.verdict-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.verdict-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
}

.verdict-container {
    display: flex;
}

/* ===== LADO IZQUIERDO - Contenido ===== */
.verdict-content {
    flex: 1;
    padding: 24px;
    border-right: 1px solid #e5e7eb;
    min-height: 350px;
}

.verdict-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.verdict-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.verdict-main-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.score-badge-small {
    min-width: 38px;
    height: 26px;
    font-size: 0.9rem;
}

.score-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.verdict-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 24px;
}

/* Pros y Cons */
.verdict-pros-cons {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
}

.verdict-pros, .verdict-cons {
    flex: 1;
}

.verdict-pros h4, .verdict-cons h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.verdict-pros ul, .verdict-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verdict-pros li, .verdict-cons li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.5;
}

.verdict-pros li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: #10b981;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4v16m8-8H4'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.verdict-cons li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: #ef4444;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 12H4'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Botón See Price */
.verdict-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-see-price {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-see-price:hover {
    background: #0052a3;
}

.store-name {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===== LADO DERECHO - Sidebar ===== */
.verdict-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f9fafb;
}

.sidebar-score-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 4px solid transparent;
    position: relative;
}

.sidebar-score-item:hover {
    background: #f3f4f6;
}

/* Estado activo con flecha */
.sidebar-score-item.active {
    position: relative;
}

.sidebar-score-item.active::before {
    content: '‹';
    position: absolute;
    left: 8px;
    font-size: 18px;
    font-weight: bold;
}

/* Colores activos - Excellent (verde) */
.sidebar-score-item.active.score-excellent {
    background: linear-gradient(90deg, rgba(0, 179, 22, 0.15), rgba(0, 179, 22, 0.05));
    border-left-color: #00B316;
}
.sidebar-score-item.active.score-excellent::before { color: #00B316; }

/* Colores activos - Very Good (naranja) */
.sidebar-score-item.active.score-very-good {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-left-color: #f59e0b;
}
.sidebar-score-item.active.score-very-good::before { color: #f59e0b; }

/* Colores activos - Good (rojo) */
.sidebar-score-item.active.score-good {
    background: linear-gradient(90deg, rgba(204, 0, 0, 0.15), rgba(204, 0, 0, 0.05));
    border-left-color: #CC0000;
}
.sidebar-score-item.active.score-good::before { color: #CC0000; }

.sidebar-score-item .score-badge {
    margin-left: 12px;
    margin-right: 12px;
}

.sidebar-score-item .score-text {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

/* Separador de sección */
.sidebar-section-title {
    padding: 16px 20px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* ===== MOBILE - Ocultar por defecto ===== */
.verdict-mobile {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .verdict-container {
        display: none;
    }
    
    .verdict-mobile {
        display: block;
    }
}

/* ===== MOBILE ACCORDION ===== */
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
}

.accordion-header:hover {
    background: #f9fafb;
}

/* Estado activo - Borde coloreado */
.accordion-item.active .accordion-header {
    border: 2px solid;
    border-bottom: none;
    margin: 0;
}

.accordion-item.active.score-excellent .accordion-header {
    border-color: #00B316;
    background: rgba(0, 179, 22, 0.05);
}

.accordion-item.active.score-very-good .accordion-header {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.accordion-item.active.score-good .accordion-header {
    border-color: #CC0000;
    background: rgba(204, 0, 0, 0.05);
}

.accordion-header .score-badge {
    min-width: 40px;
    height: 28px;
    font-size: 0.95rem;
}

.accordion-header .accordion-title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}

.accordion-header .accordion-arrow {
    color: #9ca3af;
    font-size: 12px;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

/* Contenido del acordeón */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: fit-content;
    border: 2px solid;
    border-top: none;
}

.accordion-item.active.score-excellent .accordion-content {
    border-color: #00B316;
}

.accordion-item.active.score-very-good .accordion-content {
    border-color: #f59e0b;
}

.accordion-item.active.score-good .accordion-content {
    border-color: #CC0000;
}

.accordion-inner {
    padding: 16px;
    background: #fff;
}

.accordion-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 16px;
}

.accordion-pros-cons h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.accordion-pros-cons ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.accordion-pros-cons li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 6px;
    line-height: 1.4;
}

.accordion-pros-cons .pro-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-pros-cons .pro-icon::after {
    content: '+';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.accordion-pros-cons .con-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-pros-cons .con-icon::after {
    content: '−';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.accordion-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.accordion-cta .btn-see-price {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.accordion-cta .store-name {
    font-size: 0.85rem;
}

/* Separador mobile */
.accordion-section-title {
    padding: 14px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}


/* ============================================
   PERFORMANCE BREAKDOWN - SEO OPTIMIZED
   Version: 1.0
============================================ */

:root {
    --pb-bg-page: #f8f9fa;
    --pb-bg-card: #ffffff;
    --pb-bg-specs: #f1f3f4;
    --pb-border: #e0e0e0;
    --pb-border-light: #eeeeee;
    
    --pb-text-primary: #202124;
    --pb-text-secondary: #5f6368;
    --pb-text-muted: #80868b;
    
    --pb-score-excellent: linear-gradient(135deg, #1e8e3e, #137333);
    --pb-score-excellent-bg: #e6f4ea;
    --pb-score-excellent-text: #137333;
    
    --pb-score-good: linear-gradient(135deg, #f9ab00, #e37400);
    --pb-score-good-bg: #fef7e0;
    --pb-score-good-text: #b06000;
    
    --pb-score-average: linear-gradient(135deg, #CC0000, #8E0000);
    --pb-score-average-bg: #e8f0fe;
    --pb-score-average-text: #1557b0;
    
    --pb-score-poor: linear-gradient(135deg, #d93025, #a50e0e);
    --pb-score-poor-bg: #fce8e6;
    --pb-score-poor-text: #a50e0e;
    
    --pb-accent: #1a73e8;
}

/* Section Container */
.performance-breakdown {
    max-width: 1000px;
    margin: 0 auto;
}

.performance-breakdown__header {
    margin-bottom: 10px;
    text-align: center;
}

.performance-breakdown__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0;
    color: var(--pb-text-primary);
}

.performance-breakdown__subtitle {
    color: var(--pb-text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Review Card */
.review-card {
    background: var(--pb-bg-card);
    border: 1px solid var(--pb-border);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.review-card:target {
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
}

/* Card Header */
.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--pb-border-light);
    background: var(--pb-bg-card);
}

.review-card__score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
    font-size: 1rem;
    font-weight: 700;
    color: white;
}
.review-card__score span {
    color: #fff;
}

.review-card__score--excellent { background: var(--pb-score-excellent); }
.review-card__score--good { background: var(--pb-score-good); }
.review-card__score--average { background: var(--pb-score-average); }
.review-card__score--poor { background: var(--pb-score-poor); }

.review-card__title-group {
    flex: 1;
}

.review-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: var(--pb-text-primary);
}

.review-card__tagline {
    font-size: 0.8rem;
    color: var(--pb-text-muted);
    margin: 0;
}

/* Card Body */
.review-card__body {
    padding: 24px;
}

/* Media + Specs Row */
.review-card__media-specs {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.review-card__media {
    position: relative;
}

.review-card__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid var(--pb-border-light);
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Specs Table */
.specs-table {
    background: var(--pb-bg-specs);
    border-radius: 8px;
    padding: 12px 16px;
}

.specs-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--pb-border-light);
}

.specs-table__row:last-child {
    border-bottom: none;
}

.specs-table__label {
    font-size: 0.875rem;
    color: var(--pb-text-secondary);
}

.specs-table__value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pb-text-primary);
    text-align: right;
}

.specs-table__value--highlight {
    color: var(--pb-score-excellent-text);
    font-weight: 600;
}

.specs-table__value--warning {
    color: var(--pb-score-good-text);
}

.specs-table__value--negative {
    color: var(--pb-score-poor-text);
}
/* Specs table collapse */
.specs-table-wrapper {
  position: relative;
}

.specs-table {
  max-height: 260px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.specs-table.expanded {
  max-height: 2000px;
}

.specs-toggle {
  display: none;
  width: 100%;
  padding: 32px 0 12px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 45%, #fff 100%);
  border: none;
  cursor: pointer;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.specs-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  background: #f0f4ff;
  border: 1px solid #d0d9f0;
  border-radius: 20px;
  color: #3b62d9;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.specs-toggle:hover span {
  background: #e0e8ff;
  border-color: #b0c0e8;
  color: #2a4ec4;
  box-shadow: 0 2px 8px rgba(59, 98, 217, 0.15);
}

.specs-toggle .arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.specs-table.expanded + .specs-toggle {
  position: relative;
  background: none;
  padding: 12px 0;
}

.specs-table.expanded + .specs-toggle .arrow {
  transform: rotate(180deg);
}
/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge--yes {
    background: var(--pb-score-excellent-bg);
    color: var(--pb-score-excellent-text);
}

.badge--no {
    background: var(--pb-bg-specs);
    color: var(--pb-text-muted);
}

.badge--partial {
    background: var(--pb-score-good-bg);
    color: var(--pb-score-good-text);
}

/* Analysis Content */
.review-card__analysis {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--pb-text-secondary);
}

.review-card__analysis p {
    margin-bottom: 16px;
}

.review-card__analysis p:last-child {
    margin-bottom: 0;
}

.review-card__analysis strong {
    color: var(--pb-text-primary);
    font-weight: 600;
}

.review-card__analysis a {
    color: var(--pb-accent);
    text-decoration: none;
}

.review-card__analysis a:hover {
    text-decoration: underline;
}

/* Analysis List */
.review-card__list {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.review-card__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.review-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--pb-accent);
    font-weight: bold;
}

/* Comparison Callout */
.review-card__callout {
    background: var(--pb-score-average-bg);
    border-left: 4px solid var(--pb-accent);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.review-card__callout p {
    font-size: 0.9rem;
    color: var(--pb-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.review-card__callout strong {
    color: var(--pb-text-primary);
}

/* Sub Scores */
.review-card__subscores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--pb-border-light);
}

.subscore {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscore__badge {
    min-width: 38px;
    height: 26px;
    padding: 0 8px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscore__label {
    font-size: 0.8rem;
    color: var(--pb-text-secondary);
}

/* Jump Navigation */
.performance-breakdown__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--pb-bg-card);
    border-radius: 8px;
    border: 1px solid var(--pb-border);
}

.performance-breakdown__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--pb-bg-specs);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pb-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.performance-breakdown__nav-link:hover {
    background: var(--pb-accent);
    color: white;
}

.performance-breakdown__nav-link:hover span {
    color: white;
}

.performance-breakdown__nav-link span {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 700px) {
    .review-card__media-specs {
        grid-template-columns: 1fr;
    }
    
    .review-card__media {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .review-card__subscores {
        grid-template-columns: 1fr 1fr;
    }
    
    .review-card__header {
        padding: 16px;
    }
    
    .review-card__body {
        padding: 16px;
    }
    
    .performance-breakdown__nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .review-card__subscores {
        grid-template-columns: 1fr;
    }
    
    .performance-breakdown__title {
        font-size: 1.4rem;
    }
}

 /* Badge de ranking elegante y discreto */.ranking-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    padding: 4px 0;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ranking-badge:hover {
    color: #374151;
}

.ranking-badge-icon {
    width: 13px;
    height: 13px;
    fill: #f59e0b;
}

.ranking-number {
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
}

.ranking-text {
    font-weight: 500;
}