* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

body {
  background: #f5f5f5;
  padding: 20px;
}

.step-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.step {
  display: flex;
  align-items: center;
  color: #666;
}

.step.active {
  color: #00b5a6;
  border-bottom: 2px solid #00b5a6;
}

.step-divider::after {
  content: "------------------";
  width: 100px;
  height: 1px;
  margin: 0 15px;
  color: #666;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.payment-methods img {
  height: 30px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.payment-methods img:hover {
  opacity: 1;
}

.help-text {
  text-align: right;
  margin-top: 20px;
  color: #666;
  font-size: 18px;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-section {
  background: white;
  border-radius: 8px;
  padding: 20px;
}

.pin-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff1f1;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: bold;
}

.pin-input {
  border: 1px solid #ff3f6c;
  padding: 4px 8px;
  border-radius: 4px;
  outline: none;
}

.check-btn {
  border: 1px solid #ff3f6c;
  padding: 4px 8px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background-color: #ffffff;
  font-weight: bold;
  color: #ff3f6c;
}

.offers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
}

.show-offers {
  border: none;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  color: #ff3f6c;
}

.product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-top: 20px;
  position: relative;
}

.product-image {
  font-size: 12px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.remove-btn {
  position: absolute;
  top: 0;
  right: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.product-details {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  gap: 5px;
}

.size-qty {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.size-qty span {
  font-size: 12px;
  font-weight: bold;
  padding: 3px;
  border: 1px solid #ff3f6c;
  border-radius: 4px;
}

.price .current-price {
  font-size: 18px;
  font-weight: bold;
}

.price .mrp {
  font-size: 16px;
  text-decoration: line-through;
  color: #999;
}

.price {
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.return-tag {
  font-size: 14px;
  margin-top: 2px;
}

.price-details {
  background: white;
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
}
.price-details h3 {
  color: #474747;
}

.apply-btn {
  border: 1px solid #ff3f6c;
  padding: 5px 12px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  color: #ff3f6c;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.donation-options {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.donation-btn {
  border: 1px solid #ddd;
  padding: 5px 15px;
  border-radius: 20px;
  background: white;
  cursor: pointer;
}

.place-order-btn {
  background: #ff3f6c;
  color: white;
  border: none;
  width: 100%;
  padding: 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

.discount {
  color: #ff3f6c;
}

select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.address-item {
  background: white;
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  width: 480px;
  position: relative;
  left: 45%;
  margin: 10px 0;
  border: none;
  border-radius: 4px solid;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.pincode-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.address-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.add-address-btn,
.select-address-btn {
  background: #ff3f6c;
  color: white;
  border: none;
  width: 100%;
  padding: 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;

}

.loading-spinner {
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top: 2px solid #ff3f6c;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
}
.modal-content img {
  width: 80px;
  height: 40px;
  margin-bottom: 10px;
}
.modal-close {
  background: #f00;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  position: absolute;
  top: 10px;
  right: 10px;
}
.pay-button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
} */
