/* Apps gallery — overrides on top of page.css (topbar, .bar, .label, h1 are inherited) */
main.apps-page {
  min-height: auto;
  display: block;
  justify-content: initial;
  padding: 100px 8vw 80px;
}
.apps-page .wrap {
  max-width: 1100px;
}
.apps-page > .wrap > p {
  max-width: 480px;
}

.apps-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 22px 0 0;
  padding: 0;
}
.apps-benefits li {
  position: relative;
  font-size: 13px;
  color: #5A5F6B;
  padding-left: 16px;
}
.apps-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #702963;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 36px 0 40px;
}
.store-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #E6E7EB;
  border-radius: 6px;
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.store-card:hover {
  border-color: #702963;
  transform: translateY(-2px);
}
.store-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.app-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(112, 41, 99, 0.1);
  color: #702963;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.store-card-heading {
  min-width: 0;
}
.store-card-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 5px;
}
.category-tag {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #702963;
  background: rgba(112, 41, 99, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
}
.store-card .tagline {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5A5F6B;
  margin-bottom: 14px;
  flex: 1;
}
.app-meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #9AA0AC;
  margin-bottom: 16px;
}
.app-meta .dot {
  margin: 0 6px;
  color: #C7CBD4;
}

/* Download buttons */
.download-row {
  display: flex;
  gap: 8px;
}
.dl-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  border-radius: 4px;
  padding: 9px 10px;
  font-family: Arial, Helvetica, sans-serif;
  transition: opacity 0.15s ease;
}
.dl-btn:hover {
  opacity: 0.88;
}
.dl-btn.primary {
  background: #702963;
  color: #ffffff;
}
.dl-btn.secondary {
  background: #F4F5F7;
  color: #111318;
}
.dl-label {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dl-size {
  font-size: 10px;
  opacity: 0.75;
}

/* UPI QR overlay */
.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.qr-overlay[hidden] {
  display: none;
}
.qr-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  width: 300px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}
.qr-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 6px;
}
.qr-amount {
  font-size: 13px;
  color: #5A5F6B;
  margin-bottom: 16px;
}
.qr-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}
.qr-status {
  font-size: 13px;
  color: #702963;
}
.qr-status.paid {
  color: #1a7a3c;
  font-weight: bold;
}
.qr-status.expired {
  color: #B3261E;
}
.qr-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #9AA0AC;
}
.qr-close:hover {
  color: #111318;
}
