/* ============================================================
   Product Timeline Widget — Beps PuroOmega Widgets
   Timeline horizontal de beneficios por producto
   ============================================================ */

/* ── 1. CONTENEDOR ───────────────────────────────────────────── */
.beps-product-timeline {
    max-width: 566px;
    margin: 0 auto;
    width: 100%;
}

/* ── 2. TRACK: línea + nodos ─────────────────────────────────── */
.beps-pt__track-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Línea horizontal centrada verticalmente */
.beps-pt__line {
    position: absolute;
    left: 25px;   /* mitad del nodo */
    right: 25px;
    top: 50%;
    height: 1px;
    background-color: #E8E8E8;
    transform: translateY(-50%);
    z-index: 0;
}

/* ── 3. NODOS ────────────────────────────────────────────────── */
.beps-pt__nodes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.beps-pt__node {
    position: relative;
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.beps-pt__node:hover,
.beps-pt__node:focus {
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}

/* ── 4. SVG GOTA ─────────────────────────────────────────────── */
.beps-pt__drop {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Estado inactivo */
.beps-pt__node:not(.beps-pt__node--active) .beps-pt__drop path {
    fill: #49465B;
    stroke: #E8E8E8;
    stroke-width: 1;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

/* Estado activo */
.beps-pt__node--active .beps-pt__drop path {
    fill: #130F32;
    stroke: #F9D777;
    stroke-width: 3;
}

/* ── 5. NÚMERO ───────────────────────────────────────────────── */
.beps-pt__num {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
}

.beps-pt__node:not(.beps-pt__node--active) .beps-pt__num {
    color: #E8E8E8;
}

.beps-pt__node--active .beps-pt__num {
    color: #ffffff;
    font-weight: 500;
}

/* ── 6. CONTENIDO ────────────────────────────────────────────── */
.beps-pt__content {
    margin-top: 32px;
    text-align: center;
}

.beps-pt__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.beps-pt__title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Prefijo ("Mes X") en su propia línea */
.beps-pt__title-prefix {
    display: block;
}

/* Ocultar el separador — entre prefijo y título */
.beps-pt__title-sep {
    display: none;
}

.beps-pt__desc,
.beps-pt__desc p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.beps-pt__desc {
    margin: 0;
}

.beps-pt__desc p {
    margin-top: 0;
    margin-bottom: 1em;
}

.beps-pt__desc p:last-child {
    margin-bottom: 0;
}

/* ── 7. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .beps-product-timeline {
        max-width: 100%;
    }

    .beps-pt__node {
        width: 40px;
        height: 40px;
    }

    .beps-pt__drop {
        width: 40px;
        height: 40px;
    }

    .beps-pt__line {
        left: 20px;
        right: 20px;
    }

    .beps-pt__num {
        font-size: 11px;
        margin-top: 3px;
        margin-left: 3px;
    }
}
