/* ============================================================
   footernew.css — طراحی جدید فوتر سایت (همه دامنه‌ها)
   همه استایل‌ها زیر #pfooter اسکوپ شده‌اند تا با CSSهای
   سراسری تداخل نکنند. شناسه js-jump-to-top برای jsnewsite.js
   حفظ شده است.
   ============================================================ */

#pfooter {
    margin-top: 30px;
    /* cssnewsite برای footer می‌گوید border-top: unset !important؛ اینجا با specificity بالاتر برمی‌گردانیم */
    border-top: 3px solid #f4b700 !important;
    background: #f7f8fa;
    font-size: 13px;
    color: #4a4f5c;
    /* خنثی‌کردن footer { text-align:center; padding-top:5px } سراسری index.css */
    text-align: start;
    padding: 0;
}

#pfooter *,
#pfooter *::before,
#pfooter *::after {
    box-sizing: border-box;
}

#pfooter .pf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

#pfooter a {
    color: #4a4f5c;
    text-decoration: none;
    transition: color .2s ease;
}

#pfooter a:hover {
    color: #1d85d5;
}

/* ---------- برگشت به بالا ---------- */
#pfooter .pf-top {
    text-align: center;
    padding: 14px 0 0;
}

#pfooter .pf-backtop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e7e7ee;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    color: #4a4f5c;
    box-shadow: 0 2px 10px rgba(20, 24, 40, .06);
    transition: all .2s ease;
}

#pfooter .pf-backtop:hover {
    border-color: #f4b700;
    color: #b07c00;
    box-shadow: 0 4px 14px rgba(244, 183, 0, .25);
}

#pfooter .pf-backtop i {
    color: #f4b700;
    font-size: 16px;
}

/* ---------- نوار ویژگی‌ها ---------- */
#pfooter .pf-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 20px 0;
}

#pfooter .pf-feature {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 14px;
    padding: 16px 10px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(20, 24, 40, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

#pfooter .pf-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(20, 24, 40, .09);
}

#pfooter .pf-feature-icon {
    display: block;
    width: 64px;
    height: 58px;
    margin: 0 auto 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 58px;
}

#pfooter .pf-feature span:last-child {
    font-size: 12px;
    font-weight: 700;
    color: #4a4f5c;
    line-height: 1.8;
}

/* ---------- بدنه اصلی ---------- */
#pfooter .pf-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1.2fr;
    gap: 24px;
    padding: 10px 0 24px;
}

@media screen and (max-width: 1023px) {
    #pfooter .pf-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 640px) {
    #pfooter .pf-grid {
        grid-template-columns: 1fr;
    }
}

#pfooter .pf-col {
    min-width: 0;
}

#pfooter .pf-title {
    font-size: 14px;
    font-weight: 800;
    color: #1f2430;
    margin: 0 0 14px;
    padding-bottom: 8px;
    position: relative;
}

#pfooter .pf-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: #f4b700;
}

/* درباره / سئو */
#pfooter .pf-about-logo {
    max-width: 110px;
    height: auto;
    margin-bottom: 10px;
}

#pfooter .pf-seo {
    margin: 0;
    font-size: 12px;
    line-height: 2.4;
    color: #6a7080;
    text-align: start;
}

/* لینک‌ها */
#pfooter .pf-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#pfooter .pf-links-list li {
    margin-bottom: 4px;
}

#pfooter .pf-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    line-height: 1.9;
}

#pfooter .pf-links-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f4b700;
    flex-shrink: 0;
}

#pfooter .pf-links-list img {
    width: 18px;
    height: 18px;
}

#pfooter .pf-enlink {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    color: #9aa0ad;
}

/* پشتیبانی */
#pfooter .pf-support-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#pfooter .pf-support-list li {
    line-height: 2.3;
    margin-bottom: 6px;
}

#pfooter .pf-support-list a {
    color: #1d85d5;
    font-weight: 700;
    direction: ltr;
    unicode-bidi: embed;
}

#pfooter .pf-support-list img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-inline-start: 4px;
}

#pfooter .pf-social {
    margin-top: 14px;
}

#pfooter .pf-social-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1f2430;
}

#pfooter .pf-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#pfooter .pf-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ececf1;
    box-shadow: 0 2px 8px rgba(20, 24, 40, .05);
    transition: transform .2s ease, border-color .2s ease;
}

#pfooter .pf-social-links a:hover {
    transform: translateY(-2px);
    border-color: #f4b700;
}

#pfooter .pf-social-links img {
    width: 20px;
    height: 20px;
}

/* نمادها */
#pfooter .pf-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

#pfooter .pf-badge {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(20, 24, 40, .05);
}

#pfooter .pf-badge img {
    max-width: 110px;
    max-height: 90px;
    width: auto;
    height: auto;
}

#pfooter .pf-paypal {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 8px;
}

/* ---------- نوار پایانی ---------- */
#pfooter .pf-bottom {
    background: #1f2430;
    color: #c3c8d4;
    margin-top: 4px;
}

#pfooter .pf-bottom .pf-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
}

#pfooter .pf-copy {
    font-size: 11.5px;
    line-height: 2.2;
}

#pfooter .pf-bottom-logo {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

@media screen and (max-width: 640px) {
    #pfooter .pf-bottom .pf-container {
        flex-direction: column;
        text-align: center;
    }
}
