/* Barra de pasos de la compra (cart-order, adicionales, formulario, pago) según la maqueta
   del carrito (RegaloOriginal-carrito-desarrolladores, .cart-steps). Archivo nuevo; sustituye
   visualmente al antiguo .stepwizard sin tocar ro.css. */
.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 760px;
    margin: 0 auto 36px;
    padding: 0;
    list-style: none;
    gap: 0;
    font-family: 'DM Sans', Arial, sans-serif;
}
.cart-steps li {
    position: relative;
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #77737c;
}
/* El conector va dentro de la fila (no absoluto) para que nunca pise los círculos ni el texto:
   ocupa el hueco que queda entre un paso y el siguiente. */
.cart-steps li + li::before {
    content: "";
    flex: 0 1 36px;
    width: 36px;
    min-width: 12px;
    height: 1px;
    margin: 0 14px;
    background: #dfdce1;
}
.cart-steps a,
.cart-steps .cart-step-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}
.cart-steps a:hover .step-label {
    color: var(--ro-brand, #d9263b);
}
.cart-steps .step-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eeecef;
    color: #7c7680;
    font-size: 13px;
    font-weight: 600;
}
.cart-steps [aria-current="step"] {
    color: var(--ro-ink, #222326);
    font-weight: 700;
}
.cart-steps [aria-current="step"] .step-number {
    background: var(--ro-brand, #d9263b);
    color: #fff;
}
@media (max-width: 600px) {
    .cart-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
        margin-bottom: 26px;
    }
    .cart-steps li {
        justify-content: center;
        font-size: 11px;
        text-align: center;
    }
    .cart-steps li + li::before {
        position: absolute;
        top: 14px;
        left: -9px;
        flex: none;
        width: 12px;
        min-width: 0;
        margin: 0;
    }
    .cart-steps li > a,
    .cart-steps li > .cart-step-link {
        flex-direction: column;
        gap: 6px;
    }
    .cart-steps .step-number {
        width: 27px;
        height: 27px;
        font-size: 12px;
    }
    .cart-steps .step-label {
        max-width: 80px;
    }
}
