.mp-dc-cert {
    --mp-dc-yellow: #ffd400;
    --mp-dc-black: #111214;
    --mp-dc-gray: #676c72;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(250px, 1.55fr) 104px;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 20px 0 8px;
    padding: 14px 16px;
    border: 1px solid #e2e4e7;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.mp-dc-cert *,
.mp-dc-cert *::before,
.mp-dc-cert *::after {
    box-sizing: border-box;
}

.mp-dc-cert__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mp-dc-cert__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 2px solid var(--mp-dc-yellow);
    border-radius: 12px;
    color: var(--mp-dc-black);
}

.mp-dc-cert__icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-dc-cert__identity-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.mp-dc-cert__identity-text strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--mp-dc-black);
}

.mp-dc-cert__identity-text span {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-dc-gray);
}

.mp-dc-cert__cta {
    position: relative;
    display: flex;
    min-height: 60px;
    padding: 10px 46px 9px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: var(--mp-dc-yellow);
    color: #080808 !important;
    text-decoration: none !important;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mp-dc-cert__cta:hover,
.mp-dc-cert__cta:focus {
    background: #ffdc24;
    color: #080808 !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(0,0,0,.12);
}

.mp-dc-cert__cta-main {
    font-size: 21px;
    line-height: 1.05;
    font-weight: 800;
}

.mp-dc-cert__cta-sub {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mp-dc-cert__arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
}

.mp-dc-cert__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--mp-dc-gray) !important;
    text-decoration: none !important;
    text-align: center;
}

.mp-dc-cert__qr img {
    display: block;
    width: 78px;
    height: 78px;
    padding: 4px;
    border: 1px solid #eceef0;
    border-radius: 8px;
    background: #fff;
}

.mp-dc-cert__qr span {
    font-size: 9px;
    line-height: 1.1;
    font-weight: 600;
}

@media (max-width: 767px) {
    .mp-dc-cert {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 16px 0 6px;
        padding: 14px;
        border-radius: 9px;
    }

    .mp-dc-cert__identity {
        justify-content: center;
        text-align: left;
    }

    .mp-dc-cert__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .mp-dc-cert__icon svg {
        width: 31px;
        height: 31px;
    }

    .mp-dc-cert__identity-text strong {
        font-size: 13px;
    }

    .mp-dc-cert__identity-text span {
        font-size: 12px;
    }

    .mp-dc-cert__cta {
        min-height: 58px;
        width: 100%;
        padding-left: 18px;
        padding-right: 42px;
    }

    .mp-dc-cert__cta-main {
        font-size: 19px;
    }

    .mp-dc-cert__qr {
        display: none;
    }
}

/* Modo gráfico configurable desde Ajustes > Certificaciones Double Coin. */
.mp-dc-cert-image {
    display: block;
    width: 100%;
    margin: 20px 0 8px;
    text-decoration: none !important;
    line-height: 0;
}

.mp-dc-cert-image picture,
.mp-dc-cert-image img {
    display: block;
    width: 100%;
    height: auto;
}

.mp-dc-cert-image img {
    border: 0;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .mp-dc-cert-image {
        margin: 16px 0 6px;
    }

    .mp-dc-cert-image img {
        border-radius: 9px;
    }
}
