.out-of-stock-notice {
    background-color: #ffe6e6; /* light red background */
    color: #b00020;            /* material red tone */
    border: 1px solid #ff4d4d;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 12px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-block;
}
 #paypal-button-container{   margin-top: 16px;}
 #qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-top: 20px;
}
#qrcode {
  position: relative;
  width: 100%;
}

#qrimg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.download-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 6px 12px;
  background-color: #2e6c80;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease-in-out;
}

.download-btn:hover {
  background-color: #1d4e60;
}
body.modal-open {
   overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;               /* Avoid layout shift */
}
 

    .upi-title {
      font-size: 18px;
	  display: flex;
	  justify-content: center;
      align-items: center;
      font-weight: 500;
      color: #4b5563; /* Tailwind's gray-700 */
     margin-top: 24px;
    margin-bottom: 10px;
    }

    .upi-logo-row,
    .upi-app-row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
      margin-top: 24px;
    }

  
#thankyou-container {
  margin-top: 20px;
  font-size: 16px;
  padding: 12px;
  background: #e6ffe6;
  border: 1px solid #4CAF50;
  border-radius: 8px;
}
  .required-asterisk {
    color: red;
    margin-left: 4px;
  }
.modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 1rem;
  overflow: auto;
}

.checkout-modal h2 {
  margin-top: 0;
  text-align: center;
}

.checkout-modal label {
  display: block;
  font-weight: 600;
  margin-top: 12px;
}

.checkout-modal input,
.checkout-modal select {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
#shipping-address-wrapper {
  margin-top: 20px;
  background: #eee;
  border: 1px solid #5d5d5d;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
}

.product-summary {
  margin-top: 20px;
  background: #f3f8ff;
  border: 1px solid #007BFF;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
}

.product-summary p {
  margin: 6px 0;
}

.buy-now-btn {
  background-color: #007BFF;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  margin-top: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.make-payment-btn, .made-payment-btn {
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  margin-top: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.make-payment-btn:hover, .made-payment-btn:hover {
  background-color: #0056b3;
}

.buy-now-btn:hover {
  background-color: #0056b3;
}

.checkout-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 10px;
  padding: 24px 24px 16px 24px;
  box-sizing: border-box;
  overflow: visible; /* Keep this to allow floating button to stay outside */
}


.modal-content-scroll {
  max-height: calc(90vh - 60px); /* Leave room for padding and close button */
  overflow-y: auto;
  padding-right: 8px; /* space for scrollbar */
}

/* Close button styling */
.close-btn {
  position: absolute;
  padding-bottom: 23px;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  background-color: #ff4d4f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 43px;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
  background-color: #d9363e;
}
.cancel-btn {
  background: none;
  background-color: #ff4d4f;
  border: none;
  color: white;
  margin-top: 10px;
  border-radius: 6px;
  display: block;
  text-align: center;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}
.cancel-btn:hover {
  background-color: #d9363e;
}