/* Banner ML Experience 2026 */
.mlxp-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #FFE600 0%, #FFD100 45%, #FFA800 100%);
    padding: 22px 0;
}

.mlxp-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% -20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

.mlxp-banner .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.mlxp-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.mlxp-brand img {
    height: 30px;
    width: auto;
}

.mlxp-divider {
    width: 1px;
    height: 28px;
    background: rgba(43, 41, 48, 0.25);
}

.mlxp-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.mlxp-meta .mlxp-date {
    font-size: 13px;
    font-weight: 700;
    color: #2B2930;
    letter-spacing: 0.3px;
}

.mlxp-meta .mlxp-place {
    font-size: 12px;
    font-weight: 500;
    color: rgba(43, 41, 48, 0.75);
}

.mlxp-message {
    flex: 1 1 320px;
    min-width: 240px;
}

.mlxp-message strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #2B2930;
    line-height: 1.35;
}

.mlxp-message span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a2e6e;
    margin-top: 2px;
}

.mlxp-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mlxp-countdown .mlxp-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(43, 41, 48, 0.92);
    color: #FFE600;
    border-radius: 10px;
    width: 58px;
    height: 58px;
}

.mlxp-countdown .mlxp-unit .mlxp-num {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.mlxp-countdown .mlxp-unit .mlxp-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 230, 0, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.mlxp-countdown .mlxp-sep {
    font-size: 20px;
    font-weight: 700;
    color: rgba(43, 41, 48, 0.4);
    margin: 0 -2px;
}

/* Variante oscura, para usar arriba de secciones que ya son amarillas (ej. landing de Mercado Libre) */
.mlxp-banner--dark {
    background: linear-gradient(115deg, #2B2930 0%, #1c1a20 100%);
}

.mlxp-banner--dark::before {
    background: radial-gradient(circle at 85% -20%, rgba(255, 230, 0, 0.18) 0%, rgba(255, 230, 0, 0) 55%);
}

.mlxp-banner--dark .mlxp-brand img {
    filter: brightness(0) invert(1);
}

.mlxp-banner--dark .mlxp-divider {
    background: rgba(255, 255, 255, 0.2);
}

.mlxp-banner--dark .mlxp-meta .mlxp-date,
.mlxp-banner--dark .mlxp-message strong {
    color: #ffffff;
}

.mlxp-banner--dark .mlxp-meta .mlxp-place {
    color: rgba(255, 255, 255, 0.65);
}

.mlxp-banner--dark .mlxp-message span {
    color: #FFE600;
}

.mlxp-banner--dark .mlxp-countdown .mlxp-unit {
    background: #FFE600;
    color: #2B2930;
}

.mlxp-banner--dark .mlxp-countdown .mlxp-unit .mlxp-label {
    color: rgba(43, 41, 48, 0.6);
}

.mlxp-banner--dark .mlxp-countdown .mlxp-sep {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .mlxp-banner .container {
        justify-content: center;
        text-align: center;
    }

    .mlxp-message {
        text-align: center;
    }

    .mlxp-divider {
        display: none;
    }
}

@media (max-width: 560px) {
    .mlxp-banner {
        padding: 18px 0;
    }

    .mlxp-countdown .mlxp-unit {
        width: 46px;
        height: 46px;
    }

    .mlxp-countdown .mlxp-unit .mlxp-num {
        font-size: 17px;
    }

    .mlxp-message strong {
        font-size: 15px;
    }

    .mlxp-message span {
        font-size: 13px;
    }
}
