/* Loyalty Wallet — product page earn box + wallet hub shortcode */

.gtc-earn-box {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  border: 1px solid #d9e9ff;
  font-weight: 600;
}

.gtc-variation-earn {
  font-weight: 600;
  color: #1d4ed8;
}

.gtc-wallet-hub {
  display: grid;
  gap: 16px;
}

.gtc-wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gtc-wallet-card {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gtc-wallet-card h3 {
  margin-top: 0;
  font-size: 16px;
}

.gtc-wallet-card ul {
  margin: 0;
  padding-left: 18px;
}

.gtc-wallet-card li {
  margin-bottom: 4px;
  font-size: 14px;
  color: #374151;
}

.gtc-wallet-hero__title {
  font-size: 14px;
  color: #6b7280;
}

.gtc-wallet-hero__balance {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin: 8px 0;
}

.gtc-wallet-hero__meta {
  font-size: 13px;
  color: #6b7280;
}

.gtc-wallet-estimate {
  margin: 0.5em 0 0;
  color: #1f2937;
  font-size: 13px;
}

/* Shared badge styles (entries table can render inside the hub shortcode). */
.gtc-wallet-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.gtc-wallet-badge--warning {
  background: #fef3c7;
  color: #92400e;
}

/* Loyalty program intro ([gtc_wallet_intro]) */

.gtc-wallet-intro {
  display: grid;
  gap: 16px;
}

.gtc-wallet-intro__hero {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  border-color: #d9e9ff;
}

.gtc-wallet-intro__title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

.gtc-wallet-intro__tagline {
  margin: 0 auto 20px;
  max-width: 560px;
  font-size: 16px;
  color: #374151;
}

.gtc-wallet-intro__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}

.gtc-wallet-intro__cta {
  padding: 10px 28px;
}

.gtc-wallet-intro__link {
  font-weight: 600;
}

.gtc-wallet-intro__heading {
  margin: 8px 0 0;
  font-size: 20px;
}

.gtc-wallet-intro__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.gtc-wallet-intro__step {
  position: relative;
  padding-top: 24px;
}

.gtc-wallet-intro__step h4 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.gtc-wallet-intro__step p {
  margin: 0;
  font-size: 14px;
  color: #374151;
}

.gtc-wallet-intro__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
}

.gtc-wallet-intro__faq {
  display: grid;
  gap: 10px;
}

.gtc-wallet-intro__faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.gtc-wallet-intro__faq-item p {
  margin: 10px 0 0;
  color: #374151;
}

/* RTL */

[dir="rtl"] .gtc-wallet-badge {
  margin-left: 0;
  margin-right: 6px;
}

[dir="rtl"] .gtc-wallet-card ul {
  padding-left: 0;
  padding-right: 18px;
}
