/* =====================================================
 * BADGE OPORTUNIDADE (LOOP + SINGLE)
 * ===================================================== */
.elb-badge-oportunidade {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #999;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 20;
    letter-spacing: 0.4px;
}

.woocommerce ul.products li.product {
    position: relative;
}

/* =====================================================
 * PAINÉIS BASE (LEVANTA NA LOJA / RECEBA EM CASA)
 * ===================================================== */
.elb-painel {
    margin-top: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.elb-painel:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.elb-painel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.elb-painel-header img {
    width: 26px;
    height: auto;
}

.elb-painel-header strong {
    display: block;
    font-size: 15px;
}

.elb-toggle {
    display: inline-block;
    margin-top: 2px;
    font-size: 13px;
    color: #1877F2;
    text-decoration: none;
}

.elb-toggle:hover {
    text-decoration: underline;
}

/* =====================================================
 * STATUS / PREÇO NO PAINEL
 * ===================================================== */
.elb-status {
    margin-left: auto;
    font-weight: 700;
    font-size: 14px;
}

.elb-status.aberto {
    color: #1a7f37;
}

.elb-status.fechado {
    color: #c71f1f;
}

.elb-preco-envio {
    margin-left: auto;
    font-weight: 700;
    font-size: 14px;
}

/* =====================================================
 * CORPO DOS PAINÉIS (TABELAS)
 * ===================================================== */
.elb-painel-body {
    display: none;
    padding: 14px;
    border-top: 1px solid #eee;
}

.elb-painel-body.open {
    display: block;
}

.elb-painel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.elb-painel th,
.elb-painel td {
    padding: 6px 4px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.elb-painel th {
    font-weight: 700;
}

/* =====================================================
 * PAINEL INFORMATIVO — OPORTUNIDADE (EDITORIAL)
 * ===================================================== */
.elb-painel-info {
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent;
    border: none;
    border-left: 4px solid #999;
    padding: 10px 14px;
    margin-top: 14px;
}

.elb-painel-info:hover {
    box-shadow: none !important;
    transform: none !important;
}

.elb-painel-info strong {
    font-size: 15px;
    display: block;
}

.elb-painel-info p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #444;
    line-height: 1.45;
}

/* =====================================================
 * RESPONSIVE AJUSTES
 * ===================================================== */
@media (max-width: 768px) {

    .elb-badge-oportunidade {
        top: 8px;
        left: 8px;
        font-size: 10px;
        padding: 5px 10px;
    }

    .elb-painel-header {
        gap: 10px;
    }

    .elb-painel-header strong {
        font-size: 14px;
    }

    .elb-status,
    .elb-preco-envio {
        font-size: 13px;
    }
}
