/* WAPCT v1.7 — prominent homepage UPI QR section. */
.wapct-qr-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(100%, 1000px);
  margin: 32px auto 42px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 61, 0.4);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 138, 61, 0.25), transparent 31%),
    linear-gradient(135deg, #2a1810 0%, #452719 64%, #6b3216 100%);
  box-shadow: 0 24px 60px rgba(42, 24, 16, 0.22);
  color: #fff;
}

.wapct-qr-panel::before {
  content: "♡";
  position: absolute;
  left: -30px;
  bottom: -90px;
  color: rgba(255, 138, 61, 0.08);
  font-family: Georgia, serif;
  font-size: 280px;
  line-height: 1;
  pointer-events: none;
}

.wapct-qr-copy,
.wapct-qr-visual {
  position: relative;
  z-index: 1;
}

.wapct-qr-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 176, 111, 0.5);
  border-radius: 50px;
  background: rgba(238, 109, 27, 0.14);
  color: #ffba82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wapct-qr-copy h3 {
  max-width: 570px;
  margin: 16px 0 10px;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
}

.wapct-qr-copy > p {
  max-width: 610px;
  margin: 0;
  color: #efdccc;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.wapct-qr-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0 18px;
}

.wapct-qr-steps span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff8f1;
  font-size: 0.92rem;
}

.wapct-qr-steps b {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #ee6d1b;
  color: #fff;
  font-size: 0.78rem;
}

.wapct-qr-copy .wapct-qr-note {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cdb6a5;
  font-size: 0.78rem;
}

.wapct-qr-note a {
  color: #ffb172;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wapct-qr-visual {
  display: flex;
  justify-content: center;
}

.wapct-qr-card {
  width: min(100%, 292px);
  padding: 10px;
  border: 1px solid #f3ddcb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(12, 5, 2, 0.34);
  color: #2a1810;
  text-align: center;
}

.wapct-qr-crop {
  position: relative;
  width: min(100%, 270px);
  aspect-ratio: 283 / 392;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.wapct-qr-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 760px) {
  .wapct-qr-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 20px;
    border-radius: 20px;
    text-align: center;
  }

  .wapct-qr-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .wapct-qr-steps {
    width: min(100%, 340px);
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .wapct-qr-copy .wapct-qr-note {
    width: min(100%, 380px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .wapct-qr-panel {
    padding: 24px 15px;
  }

  .wapct-qr-card {
    width: 100%;
    padding: 10px;
  }
}
