/* استایل فوتر استاندارد اینماد و پنجره‌های قوانین - پارتینوپارتز */
.ptn-legal-footer {
  direction: rtl;
  background: #0f172a;
  color: #cbd5e1;
  border-top: 3px solid #2563eb;
  margin-top: 48px;
  font-family: inherit;
  font-size: 0.85rem;
}
.ptn-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 20px 24px 20px;
}
.ptn-footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.ptn-trust-item {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ptn-trust-item span:first-child {
  font-size: 1.35rem;
}
.ptn-trust-item strong {
  display: block;
  color: #f8fafc;
  font-size: 0.84rem;
}
.ptn-trust-item small {
  color: #94a3b8;
  font-size: 0.75rem;
}
.ptn-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr 0.9fr;
  gap: 24px;
}
@media (max-width: 980px) {
  .ptn-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ptn-footer-grid { grid-template-columns: 1fr; }
}
.ptn-footer-col h4 {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #2563eb;
  display: inline-block;
}
.ptn-footer-about {
  line-height: 1.8;
  color: #94a3b8;
  margin: 0;
  text-align: justify;
}
.ptn-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ptn-footer-links button {
  background: none;
  border: none;
  padding: 0;
  color: #cbd5e1;
  font-size: 0.84rem;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: color 0.15s ease;
}
.ptn-footer-links button:hover {
  color: #60a5fa;
}
.ptn-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ptn-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.65;
  color: #e2e8f0;
}
.ptn-contact-label {
  color: #94a3b8;
  font-weight: 700;
  white-space: nowrap;
}
.ptn-ltr-num {
  direction: ltr;
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: #93c5fd;
}
.ptn-enamad-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #334155;
  border: 2px solid #cbd5e1;
}
.ptn-enamad-box img {
  max-width: 110px;
  max-height: 110px;
  cursor: pointer;
}
.ptn-footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* مودال نمایش متن قوانین */
.ptn-law-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10080;
  padding: 16px;
  direction: rtl;
}
.ptn-law-backdrop.open {
  display: flex;
}
.ptn-law-modal {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 740px;
  max-height: 86vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}
.ptn-law-header {
  background: #0f172a;
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ptn-law-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}
.ptn-law-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}
.ptn-law-body {
  padding: 20px 22px;
  overflow-y: auto;
  line-height: 1.85;
  font-size: 0.88rem;
  color: #334155;
}
.ptn-law-body h4 {
  color: #0f172a;
  margin: 14px 0 6px 0;
  font-size: 0.94rem;
}
.ptn-law-body ul {
  padding-right: 20px;
  margin: 6px 0 12px 0;
}

/* PTN_FOOTER_VISUAL_START */
.ptn-legal-footer {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.91) 0%, rgba(15, 23, 42, 0.96) 100%),
    url("footer-parts-visual.svg?v=1") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.ptn-footer-visual-card {
  position: relative;
  width: 100%;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
}
.ptn-footer-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ptn-footer-visual-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px 10px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0) 100%);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
}
/* PTN_FOOTER_VISUAL_END */
