.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 50px auto;
    max-width: 1000px;
    padding: 0 10px;
    box-sizing: border-box;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ccc;
    z-index: 0;
}

/* Barra nera sopra la grigia */
.progress-bar {
    position: absolute;
    top: 22px;
    left: 0;
    height: 4px;
    background-color: #000;
    z-index: 1;
    width: 0;
    transition: width 0.3s ease;
}

/* Step attivi */
.step {
    position: relative;
    text-align: center;
    width: 25%;
    z-index: 2;
}

.step .circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #333;
    line-height: 44px;
    font-weight: bold;
    margin: 0 auto;
}

.step.active .circle {
    background-color: #000;
    color: #fff;
}

.step .label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

/* Larghezza barra per step attivo */
.progress-container.step-1 .progress-bar {
    width: 15%;
}

.progress-container.step-2 .progress-bar {
    width: 38%;
}

.progress-container.step-3 .progress-bar {
    width: 60%;
}

.progress-container.step-4 .progress-bar {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .step .label {
        font-size: 10px;
    }

    .step .circle {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }

    .cell.is-col-span-2 {
        --bulma-grid-cell-column-span: 1;
    }
    .border-left,.padding-left, .padding-right {
        padding: 10px;

    }
}

@media (max-width: 480px) {
    .progress-container {
        display: none;
        /*flex-direction: column;
    align-items: flex-start;*/
    }

    .progress-container::before,
    .progress-bar {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .step .circle {
        margin-right: 10px;
    }

    .step .label {
        font-size: 14px;
    }

    .scroltable-wrapper {
        position: relative;
        margin-bottom: 20px;
    }

    .scroltable-container {
        overflow: auto;
    }
}

#loading {
    position: fixed;
    left: 0;
    bottom: 0;
    background: rgba(255,255,255,.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#shopcart table td, #shopcart table th {
    vertical-align: middle;
}
