/* Free Shipping Progress Bar Styles */
.free-ship-progress-bar {
  position: fixed;
  top: 60px;
  /* Below sticky header */
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 10px 16px;
  border-bottom: 2px solid var(--black);
  z-index: 95;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.free-ship-progress-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Upsell Product Styles */
.free-ship-upsell {
  margin-bottom: 0;
}

.free-ship-upsell [data-upsell-product] {
  cursor: pointer;
  transition: transform 0.2s;
}

.free-ship-upsell [data-upsell-product]:hover {
  transform: scale(1.02);
}

.free-ship-upsell button[data-upsell-add] {
  transition: all 0.2s;
}

.free-ship-upsell button[data-upsell-add]:hover {
  background: linear-gradient(135deg, var(--pink), var(--orange)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

/* Complete State */
.free-ship-complete {
  animation: slide-up 0.3s ease;
}

/* Progress State */
.free-ship-progress {
  animation: slide-up 0.3s ease;
}

.free-ship-progress-text {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--black);
}

.free-ship-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  overflow: hidden;
}

.free-ship-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  width: 0%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

@media (max-width: 768px) {
  .free-ship-progress-bar {
    top: 56px;
    padding: 8px 12px;
  }

  .free-ship-progress-text {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .free-ship-progress-track {
    height: 5px;
  }

  .free-ship-upsell div[style*="padding: 12px 14px"] {
    flex-direction: column;
    gap: 8px;
  }

  .free-ship-upsell div[style*="flex: 0 0 80px"] {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
  }
}

/* Coupon Form Styles */
.coupon-section {
  margin-bottom: 20px;
}

.coupon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0;
  transition: color 0.2s;
}

.coupon-toggle:hover {
  color: var(--pink);
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.coupon-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.coupon-form input:focus {
  border-color: var(--pink);
}

.coupon-form .button {
  padding: 12px 24px;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.coupon-form .button:hover:not(:disabled) {
  background: var(--pink);
  transform: translateY(-1px);
}

.coupon-form .button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.coupon-message {
  text-align: center;
  width: 100%;
}

/* Applied Coupon Display */
.coupon-applied {
  background: linear-gradient(135deg, var(--green) 0%, #20C997 100%);
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.25);
  position: relative;
}

.coupon-applied-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-applied-icon {
  font-size: 28px;
  line-height: 1;
}

.coupon-applied-info {
  flex: 1;
  color: white;
}

.coupon-applied-label {
  font-size: 11px;
  opacity: 0.95;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.coupon-applied-code {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.coupon-remove-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-weight: 900;
  line-height: 1;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.coupon-remove-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.coupon-timer {
  font-size: 11px;
  color: white;
  opacity: 0.95;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}