#cst-shipping-popup {

position: fixed;
bottom: -120px;
left: 0;
width: 100vw;
background: #111;
color: white;
text-align: center;
padding: 18px;
z-index: 1000;
font-size: 16px;
transition: bottom 0.4s ease;

}

#cst-shipping-popup.show {

bottom: 0;

}

#cst-shipping-popup.no-animate {
    transition: none;
}

.cst-popup-close {

position:absolute;
right:0px;
top:0px;
background:transparent!important;
border:none!important;
color:#fff;
font-size:34pt;
cursor:pointer;
line-height: 1;

}

.cst-popup-close:hover {
opacity:0.7;
color: #d91d33;
}

.cst-terms-link {
color:#fff;
text-decoration:underline;
margin-left:10px;
}

.cst-popup-message {
    display: inline-block;
    transition: all 0.25s ease;
    will-change: transform, opacity;
}

.cst-fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

.cst-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.cst-progress-bar {
    width: 50%;                  
    height: 6px;
    background: rgba(255,255,255,0.2);
    margin: 10px auto 0;         /* center horizontally with auto margins */
    border-radius: 4px;
    overflow: hidden;
}

/* Tablet: ~768px width */
@media (max-width: 1024px) {
    .cst-progress-bar {
        width: 80%;
    }
}

/* Mobile: <= 480px width */
@media (max-width: 480px) {
    .cst-progress-bar {
        width: 100%;
    }
}

/* Keep progress bar full-width in each phase */
.cst-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.6s ease, background 0.6s ease;
    background: #2ecc71; /* initial phase 1 color */
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cst-pulse {
    animation: pulse 0.5s ease-in-out;
}

.cst-progress-container {
    width: 50%;
    max-width: 500px;
    margin: 10px auto 0;
}



