/* ==========================================================================
   Container
   ========================================================================== */

.checkout-progress {
    margin: 2rem auto 5rem auto;
}

.checkout-progress .container {
    position: relative;
    max-width: 980px;
}

.checkout-progress progress {
    margin-bottom: 0;
    height: 0.25rem;
    /* --pico-progress-color: var(--pico-form-element-valid-active-border-color); */
}

.checkout-progress a {
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;

    margin: 0;
    line-height: 1;
    letter-spacing: normal;
    background-color: transparent;
    text-decoration: none;
}

.checkout-progress a:first-of-type {
    left: 15%;
    transform: translateX(-15%);
}

.checkout-progress a:last-of-type {
    left: 85%;
    transform: translateX(-85%);
}

.checkout-progress a>span:first-child {
    border: 0.5rem solid var(--static-light-color);
    background-color: #707072;
    border-radius: 100%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--static-light-color);
    font-weight: 600;
    transition: color var(--pico-transition), background-color var(--pico-transition);
}

.checkout-progress a>span:first-child .svg-icon{
    width: 100%;
    --pico-color: var(--static-light-color);
}

.checkout-progress a>span:last-child {
    font-size: 0.9rem;
    color: var(--global-text-color);
    transition: color var(--pico-transition);
}

/* Current Item */

.checkout-progress a.current {
    font-weight: 600;
    --global-text-color: var(--static-dark-color);
}

.checkout-progress a.current>span:first-child {
    background-color: var(--static-dark-color);
}

/* Hover */

.checkout-progress a:hover {
    --global-text-color: var(--pico-primary);
}

.checkout-progress a:hover>span:first-child, .checkout-progress a:active>span:first-child, .checkout-progress a:focus>span:first-child {
    background-color: var(--pico-primary);
    color: rgb(255 242 238);
}

/* Container: Tablet Styles
   ========================================================================== */

@media(max-width: 980px) {}

/* Container: Mobile Styles
   ========================================================================== */

@media(max-width: 768px) {
    .checkout-progress a>span:last-child {
        display: none;
    }

    .checkout-progress {
        margin: 1rem auto 2rem auto;
    }
}

/* ==========================================================================
   Container
   ========================================================================== */


/* Container: Tablet Styles
   ========================================================================== */

@media(max-width: 980px) {}

/* Container: Mobile Styles
   ========================================================================== */

@media(max-width: 768px) {}