/* Cart progress bar */
.checkout-progress {
  width: 90%;
  max-width: 900px;
  margin: 12px 0;
  position: relative;
  padding: 0px;
}

.checkout-progress .progress-track {
  position: absolute;
  width: 100%;
  top: 7px;
  height: 6px;
  background: #e0dede;
  border-radius: 3px;
}

.checkout-progress .progress-fill {
  height: 6px;
  background: #efc256;
  border-radius: 3px;
  width: 0%;
  transition: width 0.4s ease;
}

.checkout-progress .progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  text-align: center;
}

.checkout-progress .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.checkout-progress .step .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #e0dede;
  background: #fff;
  margin-bottom: 10px;
  position: relative;
}

.checkout-progress .step:first-child {
  margin-left: -10px;
}

.checkout-progress .step:last-child {
  margin-right: -10px;
}

.checkout-progress .step.active .dot {
  border-color: #efc256;
}

.checkout-progress .step .label {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #bababa;
}

.checkout-progress .step.active .label {
  color: #4e4e4e;
}

/* --- Mobile improvements --- */
@media (max-width: 1024px) {
    .checkout-progress { 
        width: 100%; 
        margin: 12px auto;
    }
    .checkout-progress .step:first-child {
        margin-left: 0px;
    }

    .checkout-progress .step:first-child .label {
        left: 0;
        transform: none;
    }

    .checkout-progress .step:last-child {
        margin-right: 0px;
    }

    .checkout-progress .step:last-child .label {
        right: 0;
        left: auto;
        transform: none;
    }
}


@media (max-width: 480px) {
  .checkout-progress .step .label {
    font-size: 13px;
  }
}
