/* ===== استایل‌های کمکی پایدار — دیجی امیران (ورژن ۶.۱۲) =====
   این فایل جدا از build تیلویند است تا در بازسازی CSS از بین نرود. */

/* --- نوار نماد اعتماد و درگاه‌های پرداخت (فوتر) --- */
.trust-strip {
  align-items: stretch;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  min-width: 6.75rem;
  min-height: 5.5rem;
  padding: 0.6rem 0.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.trust-badge a {
  display: block;
  line-height: 0;
}

.trust-badge img {
  max-height: 4.25rem;
  max-width: 7rem;
  width: auto;
  height: auto;
}

.trust-badge .pay-logo {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
}

.trust-badge .pay-name {
  font-weight: 800;
  font-size: 0.72rem;
  color: #111827;
  white-space: nowrap;
}

.trust-badge .pay-cap {
  font-size: 0.62rem;
  color: #6b7280;
  white-space: nowrap;
}

/* --- جلوگیری از اسکرول افقی در موبایل (صفحات پکیج، پکیج‌ساز و...) --- */
/* آیتم‌های گرید اجازه ندارند از عرض ستون فراتر بروند (min-content بزرگ) */
main .grid > * {
  min-width: 0;
  max-width: 100%;
}

/* واژه‌های طولانی (کد کالا/لینک) بدون شکستن لایه‌ها شکسته شوند */
main {
  overflow-wrap: break-word;
}

/* جدول‌های عریض فقط داخل خودشان اسکرول شوند نه کل صفحه */
main table {
  max-width: 100%;
}

/* ایمنی نهایی: هیچ‌وقت اسکرول افقی در سطح صفحه */
body {
  overflow-x: clip;
}
