/* =========================================
   CHECKOUT PAGE – PREMIUM STYLES
   ========================================= */

body {
  background: #fafafa;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* Layout container */
.checkout-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* Order Summary */
.order-summary {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 20px;
}

.order-summary h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Product row in summary */
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 15px;
}

/* Square rounded product images */
.order-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 14px;
  margin-right: 12px;
}

/* UPI QR Box */
.upi-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  margin: 25px 0;
}

.upi-box img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 12px;
}

.upi-box p {
  font-weight: 500;
  font-size: 15px;
  color: #444;
}

/* Form Fields */
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 14px;
  border: 1.5px solid #eee;
  border-radius: 12px;
  margin-top: 6px;
  font-size: 15px;
  background: #fff;
  transition: 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: #ff6a90;
  box-shadow: 0 0 8px rgba(255,106,144,0.3);
}

/* Premium Gradient Button (Orange → Pink) */
.btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7a18, #ff3cac);
  color: #fff;
  transition: 0.3s ease;
  box-shadow: 0 4px 14px rgba(255,58,150,0.3);
  margin-top: 15px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,58,150,0.4);
}

/* Footer Styling */
.checkout-footer {
  text-align: center;
  background: #111;
  color: #fff;
  padding: 18px 15px;
  margin-top: 30px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  font-size: 14px;
}

/* Mobile View Tweaks */
@media (max-width: 600px) {
  .checkout-container {
    padding: 14px;
  }

  .order-summary,
  .upi-box {
    padding: 16px;
  }

  .order-item img {
    width: 44px;
    height: 44px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 14px;
  }
}
/* Fix dropdown UI */
.checkout-form select,
.checkout-form input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid #ddd;
  font-size: 15px;
  font-family: 'Poppins',sans-serif;
  background: #fff;
  appearance: none;
  transition: 0.2s;
}

.checkout-form select:focus,
.checkout-form input:focus {
  border-color: #7a5af8;
  box-shadow: 0 0 0 3px rgba(122,90,248,0.15);
  outline: none;
}

/* Mobile spacing improvements */
@media(max-width:800px){
  .checkout-form input,
  .checkout-form select{
    font-size:16px;
    padding:16px;
  }
  #upi-qr{
    width:180px;
    height:180px;
    border-radius:20px;
  }
}

/* iPad optimization */
@media(max-width:1024px){
  #upi-qr{
    width:200px;
    height:200px;
    border-radius:22px;
  }
}
