/* =====================================================
   ESCOLHA PRIME SCORE
   NOVO ESCOLHA PRIME — ARQUITETURA LEGO
   ===================================================== */

.product-score-section {
    padding: 32px 0 44px;
}


/* =====================================================
   CARD PRINCIPAL
   ===================================================== */

.product-score-card {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    padding: 30px 34px;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06);

    box-sizing: border-box;
}


/* =====================================================
   CABEÇALHO
   ===================================================== */

.product-score-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 24px;

    margin-bottom: 26px;

    border-bottom: 1px solid #eef0f3;
}


.product-score-eyebrow {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #d9a441;
}


.product-score-title {
    margin: 0;

    font-size: 26px;

    line-height: 1.2;

    font-weight: 700;

    color: #0f2742;
}


.product-score-version {
    margin: 7px 0 0;

    font-size: 13px;

    color: #64748b;
}


/* =====================================================
   NOTA PRINCIPAL
   ===================================================== */

.product-score-main {
    display: flex;

    align-items: baseline;

    justify-content: flex-end;

    white-space: nowrap;

    min-width: 150px;
}


.product-score-value {
    font-size: 48px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.03em;

    color: #0f2742;
}


.product-score-scale {
    margin-left: 5px;

    font-size: 15px;

    color: #64748b;
}


/* =====================================================
   ÁREA DOS CRITÉRIOS
   ===================================================== */

.product-score-details {
    width: 100%;
}


.product-score-details__heading {
    margin-bottom: 20px;
}


.product-score-details__heading h3 {
    margin: 0 0 5px;

    font-size: 20px;

    line-height: 1.3;

    color: #0f2742;
}


.product-score-details__heading p {
    margin: 0;

    font-size: 14px;

    line-height: 1.5;

    color: #64748b;
}


/* =====================================================
   LISTA DE CRITÉRIOS
   ===================================================== */

.product-score-criteria {
    display: grid;

    gap: 12px;
}


/* =====================================================
   CRITÉRIO INDIVIDUAL
   ===================================================== */

.product-score-criterion {
    padding: 17px 18px;

    border: 1px solid #e7eaf0;

    border-radius: 12px;

    background: #ffffff;

    box-sizing: border-box;
}


.product-score-criterion__top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;
}


.product-score-criterion h4 {
    margin: 0 0 3px;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 700;

    color: #0f2742;
}


.product-score-criterion p {
    max-width: 650px;

    margin: 0;

    font-size: 13px;

    line-height: 1.45;

    color: #64748b;
}


/* =====================================================
   NOTA DO CRITÉRIO
   ===================================================== */

.product-score-criterion__grade {
    display: flex;

    align-items: baseline;

    white-space: nowrap;

    color: #0f2742;
}


.product-score-criterion__grade strong {
    font-size: 19px;

    font-weight: 800;
}


.product-score-criterion__grade span {
    margin-left: 3px;

    font-size: 12px;

    color: #64748b;
}


/* =====================================================
   BARRA DE DESEMPENHO
   ===================================================== */

.product-score-criterion__bar {
    width: 100%;

    height: 7px;

    overflow: hidden;

    border-radius: 999px;

    background: #edf0f3;
}


.product-score-criterion__bar span {
    display: block;

    height: 100%;

    border-radius: 999px;

    background: #d9a441;
}


/* =====================================================
   PESO
   ===================================================== */

.product-score-criterion__weight {
    margin-top: 7px;

    font-size: 11px;

    color: #64748b;
}


.product-score-criterion__weight strong {
    color: #0f2742;
}


/* =====================================================
   ESTADO SEM DETALHES
   ===================================================== */

.product-score-empty {
    padding: 20px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    background: #ffffff;

    color: #64748b;
}


/* =====================================================
   RESPONSIVO
   ===================================================== */

@media (max-width: 768px) {

    .product-score-section {
        padding: 24px 0 34px;
    }


    .product-score-card {
        max-width: 100%;

        padding: 22px 20px;

        border-radius: 14px;
    }


    .product-score-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding-bottom: 20px;

        margin-bottom: 22px;
    }


    .product-score-main {
        justify-content: flex-start;

        min-width: 0;
    }


    .product-score-value {
        font-size: 42px;
    }


    .product-score-title {
        font-size: 23px;
    }


    .product-score-criterion {
        padding: 15px;
    }


    .product-score-criterion__top {
        flex-direction: column;

        gap: 8px;
    }


    .product-score-criterion__grade {
        justify-content: flex-start;
    }

}