/* ===== CHECKOUT PAGE ===== */

.checkout-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 120px 0 60px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.checkout-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,146,58,0.1), transparent 60%);
  pointer-events: none;
}
.checkout-hero h1 { font-size: clamp(36px,5vw,60px); color: white; margin-bottom: 10px; }
.checkout-hero p { color: rgba(255,255,255,0.6); font-size: 16px; }

.checkout-section { padding: 60px 0 100px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }

/* FORM LEFT */
.checkout-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.cblock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cblock-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.cblock-head h3 { font-size: 20px; font-family: 'Cormorant Garamond', serif; }

.payment-info {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 20px; border: 1px solid var(--border);
}
.payment-logos { display: flex; gap: 10px; margin-bottom: 12px; }
.pay-logo {
  width: 48px; height: 32px; background: white;
  border-radius: 6px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.payment-info p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.razorpay-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 6px 14px; border-radius: 50px;
  background: white; border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--dark-mid);
}

.place-order-btn {
  width: 100%; margin-top: 24px;
  padding: 20px; border-radius: var(--radius-xl);
  background: var(--gold); color: white;
  font-size: 18px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(201,146,58,0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.place-order-btn:hover { background: #B07C2A; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,146,58,0.45); }
.place-order-btn:disabled { background: var(--muted); box-shadow: none; transform: none; cursor: not-allowed; }
.checkout-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.6; }

/* RIGHT SUMMARY */
.order-summary-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: sticky; top: 96px;
}
.os-title { font-size: 22px; margin-bottom: 20px; }
.os-product { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.os-img { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; }
.os-img img { width: 100%; height: 100%; object-fit: cover; }
.os-name { font-weight: 700; font-size: 15px; }
.os-variant { font-size: 12px; color: var(--muted); margin-top: 3px; }
.os-qty { font-size: 12px; color: var(--muted); margin-top: 2px; }
.os-item-price { font-weight: 800; font-size: 17px; margin-left: auto; font-family: 'Outfit', sans-serif; letter-spacing: -0.5px; }
.os-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.free-tag { color: var(--green); font-weight: 700; }
.os-total { display: flex; justify-content: space-between; font-size: 24px; font-weight: 800; font-family: 'Outfit', sans-serif; color: var(--dark); margin-top: 4px; letter-spacing: -0.5px; }
.os-trust { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.os-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.os-contact { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.os-contact p { font-size: 13px; color: var(--muted); }
.os-contact a { color: var(--gold); }
.wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 8px 18px; border-radius: 50px;
  background: #25D366; color: white; font-size: 13px; font-weight: 600;
  transition: opacity var(--transition);
}
.wa-btn:hover { opacity: 0.85; }

.next-steps-card { background: var(--cream-dark); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
.next-steps-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.next-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.next-step:last-child { margin: 0; }
.ns-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.next-step strong { font-size: 14px; display: block; margin-bottom: 2px; }
.next-step p { font-size: 12px; color: var(--muted); }

@media(max-width:900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
}

/* SUCCESS MODAL */
.success-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10,7,5,0.88);
}
.sm-box {
  background: white; border-radius: var(--radius-xl); padding: 48px 40px;
  max-width: 480px; width: 100%; text-align: center;
  animation: smIn 0.4s ease;
}
@keyframes smIn { from{opacity:0;transform:scale(0.88) translateY(20px);} to{opacity:1;transform:none;} }
.sm-icon { font-size: 60px; margin-bottom: 16px; }
.sm-box h2 { font-size: 38px; color: var(--dark); margin-bottom: 12px; }
.sm-box > p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.sm-order-id { margin-top: 20px; padding: 12px 20px; background: var(--cream-dark); border-radius: var(--radius-md); font-size: 13px; font-weight: 600; color: var(--brown); }
.sm-details { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
