/* ============================================================
   VIRTUBIT — COMPARAÇÃO VERSUS  |  style.css
   ============================================================ */

.vb-versus {
    margin: 36px 0;
    font-family: inherit;
}

.vb-versus__titulo {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

/* Scroll horizontal em mobile */
.vb-versus__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── Tabela ─────────────────────────────────────────────────── */
.vb-versus__tabela {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* ── Cabeçalho ──────────────────────────────────────────────── */
.vb-versus__tabela thead tr {
    background: linear-gradient(135deg, #6c3bda 0%, #7c4bea 100%);
}

.vb-versus__col-spec {
    width: 150px;
    min-width: 110px;
    background: #4a2a9a;
    padding: 14px 16px;
}

.vb-versus__col-produto {
    padding: 14px 20px;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.vb-versus__col-produto--destaque {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid #f0c040 !important;
    border-right: 3px solid #f0c040 !important;
}

.vb-versus__badge {
    display: inline-block;
    background: #f0c040;
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
    line-height: 1;
}

.vb-versus__produto-nome {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

/* ── Células de spec ────────────────────────────────────────── */
.vb-versus__td-label {
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #f8f6ff;
    border-right: 1px solid #ece8ff;
    border-bottom: 1px solid #ede9ff;
    white-space: nowrap;
}

.vb-versus__td-valor {
    padding: 11px 20px;
    font-size: 14px;
    color: #333;
    text-align: center;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.vb-versus__tr--par .vb-versus__td-label,
.vb-versus__tr--par .vb-versus__td-valor {
    background: #fdfdff;
}

/* Coluna destaque */
.vb-versus__td--destaque {
    border-left: 3px solid #7c4bea !important;
    border-right: 3px solid #7c4bea !important;
    background: #faf8ff !important;
}

/* ── Separador entre specs e lojas ──────────────────────────── */
.vb-versus__sep {
    height: 4px;
    background: linear-gradient(135deg, #6c3bda 0%, #7c4bea 100%);
    padding: 0;
}

/* ── Linhas de loja ─────────────────────────────────────────── */
.vb-versus__td-label--loja {
    font-weight: 700;
    font-size: 13px;
    color: #3a2a6a;
}

.vb-versus__td-loja {
    padding: 10px 16px;
    text-align: center;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.vb-versus__loja-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vb-versus__loja-preco {
    font-size: 15px;
    font-weight: 700;
    color: #6c3bda;
    white-space: nowrap;
}

.vb-versus__sem-loja {
    color: #ccc;
    font-size: 16px;
}

/* ── Botão Ver → ────────────────────────────────────────────── */
.vb-versus__btn {
    display: inline-block;
    background: linear-gradient(135deg, #6c3bda 0%, #7c4bea 100%);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(108,59,218,0.25);
    white-space: nowrap;
}

.vb-versus__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(108,59,218,0.38);
    color: #fff !important;
    text-decoration: none !important;
}

.vb-versus__btn--destaque {
    background: linear-gradient(135deg, #f0c040 0%, #e8a800 100%);
    color: #1a1a2e !important;
    box-shadow: 0 3px 10px rgba(240,192,64,0.35);
}

.vb-versus__btn--destaque:hover {
    color: #1a1a2e !important;
    box-shadow: 0 5px 16px rgba(240,192,64,0.48);
}

/* ── Badge das lojas ─────────────────────────────────────────── */
.vb-versus__td-label--loja {
    min-width: 140px;
}

.vb-versus__loja-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 5px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ── Subtítulo ──────────────────────────────────────────────── */
.vb-versus__subtitulo {
    font-size: 12px;
    color: #999;
    text-align: center;
    font-style: italic;
    margin-top: 14px;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .vb-versus__titulo        { font-size: 17px; }
    .vb-versus__col-spec      { min-width: 90px; }
    .vb-versus__td-label      { font-size: 11px; padding: 9px 8px; }
    .vb-versus__td-valor,
    .vb-versus__td-loja       { padding: 9px 10px; }
    .vb-versus__loja-preco    { font-size: 13px; }
    .vb-versus__btn           { padding: 6px 10px; font-size: 11px; }
    .vb-versus__produto-nome  { font-size: 11px; }
}
