/*
 * Estilos premium para el contenido de descripción generado por IA.
 * Se carga SOLO en páginas de producto individual (is_product()).
 * Estándar: satbyte-ui-admin.md — Color primario #11205E
 */

/* === TABLA DE ESPECIFICACIONES === */
.sb-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    overflow: hidden;
}

.sb-specs-table thead th {
    background-color: #11205E;
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.sb-specs-table tbody tr {
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s ease;
}

.sb-specs-table tbody tr:last-child {
    border-bottom: none;
}

.sb-specs-table tbody tr:hover {
    background-color: #f8fafc;
}

.sb-specs-table td {
    padding: 11px 16px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

.sb-specs-table td:first-child {
    font-weight: 600;
    color: #2d3748;
    width: 35%;
    background-color: #fafbfe;
}

/* === CONTENEDOR DE VÍDEO YOUTUBE === */
.sb-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 28px 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sb-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* === PREGUNTAS FRECUENTES (FAQ) === */
.sb-faq-item {
    margin-bottom: 10px;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.sb-faq-item:hover {
    border-color: #11205E;
}

.sb-faq-item[open] {
    border-color: #11205E;
    box-shadow: 0 2px 8px rgba(17, 32, 94, 0.08);
}

.sb-faq-item summary {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
    color: #2d3748;
    cursor: pointer;
    background: #f8fafc;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.sb-faq-item summary:hover {
    background: #eef1f8;
}

.sb-faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    color: #11205E;
    transition: transform 0.2s ease;
}

.sb-faq-item[open] summary::after {
    content: "−";
}

.sb-faq-item summary::-webkit-details-marker {
    display: none;
}

.sb-faq-item p {
    padding: 14px 18px;
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
    font-size: 14px;
    border-top: 1px solid #edf2f7;
}

/* === PUNTOS CLAVE (KEY TAKEAWAYS) === */
.sb-key-takeaways {
    background: linear-gradient(135deg, #f8fafc 0%, #eef1f8 100%);
    border: 1px solid #d1d5db;
    border-left: 4px solid #11205E;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}

.sb-key-takeaways h3,
.sb-key-takeaways strong:first-child {
    color: #11205E;
    font-size: 15px;
    margin: 0 0 12px 0;
}

.sb-key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.sb-key-takeaways li {
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 6px;
    font-size: 14px;
}

/* === PROS Y CONTRAS === */
.sb-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.sb-pros-cons > div {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e2e4e7;
}

.sb-pros-cons > div:first-child {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.sb-pros-cons > div:last-child {
    background: #fefce8;
    border-color: #fef08a;
}

.sb-pros-cons h4,
.sb-pros-cons strong {
    display: block;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 700;
}

.sb-pros-cons > div:first-child h4,
.sb-pros-cons > div:first-child strong {
    color: #166534;
}

.sb-pros-cons > div:last-child h4,
.sb-pros-cons > div:last-child strong {
    color: #854d0e;
}

.sb-pros-cons ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.sb-pros-cons li {
    padding: 4px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* === RECOMENDACIÓN EXPERTA (BLOCKQUOTE) === */
.sb-expert-quote,
blockquote.sb-expert-quote {
    border-left: 4px solid #11205E;
    background: linear-gradient(135deg, #f8fafc 0%, #eef1f8 100%);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #374151;
    font-size: 15px;
    position: relative;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    .sb-pros-cons {
        grid-template-columns: 1fr;
    }

    .sb-specs-table td:first-child {
        width: auto;
    }
}
