/* Spacious RTL storefront footer, layered over the modular footer renderer. */
.sf-footer {
    margin-top: 3rem;
    background: #fff !important;
    color: #344054 !important;
    border-top: 1px solid #e7edf3;
    overflow: visible;
}

.sf-footer::before { display: none; }

.sf-footer__benefits {
    border-bottom: 1px solid #edf1f5;
    background: #fff;
}

.sf-footer__benefits-inner {
    width: min(1440px, 100%);
    margin-inline: auto;
    padding: 38px max(var(--site-gutter), 20px) 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 70px);
}

.sf-footer__benefit { text-align: center; }
.sf-footer__benefit svg {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    fill: none;
    stroke: color-mix(in srgb, var(--primary) 72%, #fff);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sf-footer__benefit h2 { margin: 0 0 8px; color: #222; font-size: 1.04rem; font-weight: 900; }
.sf-footer__benefit p { max-width: 290px; margin: auto; color: #777; font-size: .84rem; line-height: 1.9; }

.sf-footer__inner { max-width: 1440px; padding: 54px max(var(--site-gutter), 20px) 22px; }
.sf-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 84px);
}
.sf-footer__col { padding: 0 !important; }
.sf-footer__col-title {
    margin-bottom: 18px;
    color: #20252b !important;
    font-size: 1.02rem;
    font-weight: 900;
}
.sf-footer__col-title::after { display: none; }
.sf-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: #20252b !important;
    text-decoration: none !important;
}
.sf-footer__brand img { width: auto; height: 92px; max-width: 190px; object-fit: contain; }
.sf-footer__brand-mark {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: color-mix(in srgb, var(--primary) 12%, white);
    font-size: 2rem;
}
.sf-footer__brand > span:last-child { display: grid; gap: 5px; }
.sf-footer__brand strong { font-size: 1.25rem; font-weight: 900; }
.sf-footer__brand small { color: #697586; font-size: .79rem; }
.sf-footer__text { color: #697586; font-size: .86rem; line-height: 2; }
.sf-footer__list { gap: 10px; }
.sf-footer__list li { padding: 0; }
.sf-footer__list li::before { display: none; }
.sf-footer__list a,
.sf-footer__contact a { color: #697586 !important; font-size: .86rem; font-weight: 500; }
.sf-footer__list a:hover,
.sf-footer__contact a:hover { color: var(--primary) !important; }
.sf-footer__contact { color: #697586; gap: 10px; }
.sf-footer__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-top: 40px;
    padding: 22px 0;
    border-block: 1px solid #edf1f5;
}
.sf-footer__categories strong { color: #20252b; margin-inline-end: 8px; }
.sf-footer__categories a { color: #697586 !important; font-size: .82rem; text-decoration: none; }
.sf-footer__categories a:hover { color: var(--primary) !important; }
.sf-footer__social-strip { margin-top: 26px; padding-top: 0; border: 0; align-items: flex-start; }
.sf-footer__social-strip-title { color: #20252b; font-size: .9rem; }
.sf-footer__social a {
    background: color-mix(in srgb, var(--primary) 9%, #fff) !important;
    border-color: color-mix(in srgb, var(--primary) 18%, #fff) !important;
    color: var(--primary);
    border-radius: 50%;
}
.sf-footer--light .sf-footer__social svg { fill: var(--primary); }
.sf-footer__certs--inmod {
    min-height: 124px;
    justify-content: center;
    gap: 18px;
}
.sf-footer__certs--inmod > a,
.sf-footer__certs--inmod > span {
    width: 112px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #edf1f5;
    border-radius: 12px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sf-footer__certs--inmod > a:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 28%, #edf1f5);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
.sf-footer__certs.sf-footer__certs--inmod img {
    display: block;
    width: auto;
    height: 104px;
    max-width: 100px;
    max-height: 104px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}
.sf-footer__trust-seal #zarinpal img { max-height: 84px; }
.sf-footer__bar { margin-top: 30px; padding-top: 20px; border-top-color: #edf1f5; }
.sf-footer__copyright { color: #7a8493 !important; }
.sf-footer__legal a,
.sf-footer__rss { color: #697586 !important; }

@media (max-width: 980px) {
    .sf-footer__benefits-inner,
    .sf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .sf-footer__benefits-inner { grid-template-columns: 1fr 1fr; gap: 28px 14px; padding-block: 30px; }
    .sf-footer__benefit svg { width: 46px; height: 46px; }
    .sf-footer__benefit h2 { font-size: .9rem; }
    .sf-footer__benefit p { font-size: .75rem; line-height: 1.75; }
    .sf-footer__inner { padding-top: 38px; }
    .sf-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .sf-footer__brand img { height: 72px; }
    .sf-footer__categories { align-items: flex-start; }
    .sf-footer__categories strong { width: 100%; }
}
