/* =========================================================
   RePe Custom Footer
   ========================================================= */

/* Hide WoodMart demo footer */
body .footer-container,
body .wd-footer,
body footer.footer-container,
body .copyrights-wrapper {
    display: none !important;
}

/* Hide demo footer menus/widgets if theme still prints fragments */
body #woodmart-recent-posts-15,
body #menu-footer-menu-footer-menu-1,
body img[src*="wood-logo-dark.svg"],
body img[src*="payments.png"] {
    display: none !important;
}

.repe-footer {
    --repe-olive-dark: #2E3927;
    --repe-olive: #546142;
    --repe-olive-soft: #AABAA6;
    --repe-cream: #FAF8F5;
    --repe-beige: #E8D3C5;
    --repe-gold: #C9A46A;
    --repe-text: #26301F;

    width: 100%;
    margin-top: 54px;
    background:
        radial-gradient(circle at 12% 0%, rgba(201,164,106,.18), transparent 32%),
        linear-gradient(180deg, #F8F4EE 0%, #E9DFD4 100%);
    color: var(--repe-text);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(201,164,106,.22);
}

.repe-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(84,97,66,.06), transparent 38%, rgba(201,164,106,.08));
    pointer-events: none;
}

.repe-footer-wave {
    height: 16px;
    background:
        linear-gradient(90deg, var(--repe-olive-dark), var(--repe-olive), var(--repe-gold));
    opacity: .96;
}

.repe-footer-inner {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 42px;
    display: grid;
    grid-template-columns: 1.45fr .78fr .78fr 1.1fr;
    gap: 34px;
    position: relative;
    z-index: 2;
}

.repe-footer-logo {
    display: inline-block;
    color: var(--repe-olive-dark) !important;
    text-decoration: none !important;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
}

.repe-footer-tagline {
    margin: 16px 0 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--repe-olive);
}

.repe-footer-desc {
    margin: 18px 0 0;
    max-width: 520px;
    font-size: 15px;
    line-height: 2.05;
    color: rgba(38,48,31,.86);
}

.repe-footer-badges {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.repe-footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(250,248,245,.72);
    border: 1px solid rgba(84,97,66,.16);
    color: var(--repe-olive-dark);
    font-size: 12px;
    font-weight: 800;
}

.repe-footer-col h4,
.repe-footer-consult h4 {
    margin: 0 0 22px;
    color: var(--repe-olive-dark);
    font-size: 18px;
    font-weight: 900;
    position: relative;
}

.repe-footer-col h4::after,
.repe-footer-consult h4::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--repe-gold);
    border-radius: 999px;
    margin-top: 12px;
}

.repe-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.repe-footer-col li {
    margin: 0 0 12px;
}

.repe-footer-col a,
.repe-footer-bottom-links a,
.repe-footer-social a {
    color: rgba(38,48,31,.82) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}

.repe-footer-col a:hover,
.repe-footer-bottom-links a:hover,
.repe-footer-social a:hover {
    color: var(--repe-olive) !important;
}

.repe-footer-consult p {
    margin: 0;
    font-size: 15px;
    line-height: 2.05;
    color: rgba(38,48,31,.82);
}

.repe-footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.repe-footer-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    transition: all .2s ease;
}

.repe-footer-btn-primary {
    background: var(--repe-olive-dark);
    color: var(--repe-cream) !important;
    border: 1px solid var(--repe-olive-dark);
}

.repe-footer-btn-primary:hover {
    background: var(--repe-olive);
    border-color: var(--repe-olive);
    transform: translateY(-2px);
}

.repe-footer-btn-secondary {
    background: rgba(250,248,245,.55);
    color: var(--repe-olive-dark) !important;
    border: 1px solid rgba(84,97,66,.24);
}

.repe-footer-btn-secondary:hover {
    border-color: var(--repe-gold);
    transform: translateY(-2px);
}

.repe-footer-social {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.repe-footer-social span {
    color: rgba(38,48,31,.72);
    font-size: 13px;
    font-weight: 800;
}

.repe-footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(84,97,66,.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(38,48,31,.70);
    font-size: 13px;
    font-weight: 700;
}

.repe-footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .repe-footer {
        margin-top: 38px;
    }

    .repe-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 34px 28px;
        padding: 46px 0 34px;
    }

    .repe-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .repe-footer-inner {
        width: min(100% - 28px, 1320px);
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 38px 0 28px;
    }

    .repe-footer-logo {
        font-size: 44px;
    }

    .repe-footer-tagline {
        font-size: 15px;
    }

    .repe-footer-bottom {
        width: min(100% - 28px, 1320px);
        flex-direction: column;
        align-items: flex-start;
    }

    .repe-footer-actions {
        flex-direction: column;
    }

    .repe-footer-btn {
        width: 100%;
    }
}

/* =========================================================
   RePe Footer Update:
   Designer credit + social brand icons + remove bottom extra links
   ========================================================= */

.repe-footer-social {
    margin-top: 24px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

.repe-footer-social > span {
    width: 100% !important;
    color: rgba(38,48,31,.72) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    margin-bottom: 2px !important;
}

.repe-social-link {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    text-decoration: none !important;
    border: 1px solid rgba(84,97,66,.16) !important;
    background: rgba(250,248,245,.62) !important;
    color: #2E3927 !important;
    transition: all .22s ease !important;
    overflow: hidden !important;
}

.repe-social-link svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.repe-social-link small {
    position: absolute !important;
    bottom: -26px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    white-space: nowrap !important;
    background: #2E3927 !important;
    color: #FAF8F5 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all .2s ease !important;
}

.repe-social-link:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(201,164,106,.42) !important;
    background: #2E3927 !important;
    color: #FAF8F5 !important;
}

.repe-social-link:hover small {
    bottom: -34px !important;
    opacity: 1 !important;
}

.repe-social-word {
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: -.3px !important;
}

/* رنگ‌های نرم نزدیک به برندها در هاور */
.repe-social-instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45) !important;
}

.repe-social-telegram:hover {
    background: #229ED9 !important;
}

.repe-social-whatsapp:hover {
    background: #25D366 !important;
}

.repe-social-eitaa:hover {
    background: #F58220 !important;
}

.repe-social-bale:hover {
    background: #19A7CE !important;
}

.repe-social-soroush:hover {
    background: #2B65D9 !important;
}

/* پایین فوتر ساده‌تر شود */
.repe-footer-bottom {
    justify-content: space-between !important;
}

.repe-footer-bottom-links {
    display: none !important;
}

.repe-footer-designer {
    color: rgba(38,48,31,.70) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.repe-footer-designer a {
    color: #546142 !important;
    text-decoration: none !important;
    font-weight: 950 !important;
}

.repe-footer-designer a:hover {
    color: #C9A46A !important;
}

@media (max-width: 640px) {
    .repe-footer-bottom {
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .repe-footer-designer {
        font-size: 12px !important;
    }

    .repe-social-link {
        width: 40px !important;
        height: 40px !important;
    }
}


/* =========================================================
   RePe Footer Final Polish:
   Center copyright + clean social grid + support contact
   ========================================================= */

.repe-footer-contact {
    margin-top: 16px !important;
    display: grid !important;
    gap: 8px !important;
}

.repe-footer-contact a {
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    direction: ltr !important;
    text-decoration: none !important;
    color: #2E3927 !important;
    background: rgba(250,248,245,.66) !important;
    border: 1px solid rgba(84,97,66,.14) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.repe-footer-contact a:hover {
    color: #546142 !important;
    border-color: rgba(201,164,106,.35) !important;
}

.repe-footer-social {
    margin-top: 24px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(78px, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
    max-width: 310px !important;
}

.repe-footer-social > span {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    color: rgba(38,48,31,.72) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    margin-bottom: 2px !important;
}

.repe-footer .repe-social-link {
    width: 100% !important;
    height: 72px !important;
    border-radius: 18px !important;
    padding: 8px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    text-decoration: none !important;
    background: rgba(250,248,245,.66) !important;
    border: 1px solid rgba(84,97,66,.14) !important;
    color: #2E3927 !important;
    box-shadow: 0 8px 18px rgba(32,35,28,.035) !important;
}

.repe-footer .repe-social-link i {
    width: 34px !important;
    height: 34px !important;
    border-radius: 13px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(84,97,66,.08) !important;
    font-style: normal !important;
    transition: all .22s ease !important;
}

.repe-footer .repe-social-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.repe-footer .repe-social-link small {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    color: rgba(38,48,31,.78) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.repe-footer .repe-social-link:hover {
    transform: translateY(-3px) !important;
    color: #FAF8F5 !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(32,35,28,.12) !important;
}

.repe-footer .repe-social-link:hover i {
    background: rgba(255,255,255,.18) !important;
}

.repe-footer .repe-social-link:hover small {
    color: #FAF8F5 !important;
    bottom: auto !important;
}

.repe-footer .repe-social-word {
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: -.3px !important;
}

/* Brand hover colors */
.repe-footer .repe-social-instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45) !important;
}

.repe-footer .repe-social-telegram:hover {
    background: #229ED9 !important;
}

.repe-footer .repe-social-whatsapp:hover {
    background: #25D366 !important;
}

.repe-footer .repe-social-eitaa:hover {
    background: #F58220 !important;
}

.repe-footer .repe-social-bale:hover {
    background: #19A7CE !important;
}

.repe-footer .repe-social-soroush:hover {
    background: #2B65D9 !important;
}

/* Center copyright area */
.repe-footer-bottom {
    width: min(1320px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    padding: 22px 0 24px !important;
    border-top: 1px solid rgba(84,97,66,.13) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    text-align: center !important;
}

.repe-footer-copyright,
.repe-footer-designer {
    width: 100% !important;
    text-align: center !important;
    color: rgba(38,48,31,.70) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.repe-footer-designer a {
    color: #546142 !important;
    text-decoration: none !important;
    font-weight: 950 !important;
}

.repe-footer-designer a:hover {
    color: #C9A46A !important;
}

.repe-footer-bottom-links {
    display: none !important;
}

@media (max-width: 640px) {
    .repe-footer-social {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100% !important;
    }

    .repe-footer .repe-social-link {
        height: 68px !important;
    }

    .repe-footer-contact a {
        width: 100% !important;
        justify-content: center !important;
    }

    .repe-footer-bottom {
        width: min(100% - 28px, 1320px) !important;
    }
}


/* =========================================================
   RePe Footer Compact Final
   Shorter footer + compact social icons + support phone label
   ========================================================= */

.repe-footer {
    margin-top: 34px !important;
}

.repe-footer-wave {
    height: 9px !important;
}

.repe-footer-inner {
    padding: 34px 0 24px !important;
    gap: 22px !important;
    align-items: start !important;
}

.repe-footer-logo {
    font-size: 44px !important;
}

.repe-footer-tagline {
    margin-top: 10px !important;
    font-size: 14px !important;
}

.repe-footer-desc {
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
    max-width: 470px !important;
}

.repe-footer-badges {
    margin-top: 14px !important;
    gap: 7px !important;
}

.repe-footer-badges span {
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
}

.repe-footer-col h4,
.repe-footer-consult h4 {
    margin-bottom: 14px !important;
    font-size: 15px !important;
}

.repe-footer-col h4::after,
.repe-footer-consult h4::after {
    width: 30px !important;
    margin-top: 8px !important;
}

.repe-footer-col li {
    margin-bottom: 7px !important;
}

.repe-footer-col a {
    font-size: 12.5px !important;
}

.repe-footer-consult p {
    font-size: 13px !important;
    line-height: 1.8 !important;
}

.repe-footer-contact {
    margin-top: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.repe-footer-contact a {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    border-radius: 999px !important;
}

.repe-footer-contact a[href^="tel"]::before {
    content: "پشتیبانی: " !important;
    direction: rtl !important;
    margin-left: 4px !important;
    font-weight: 900 !important;
    color: #546142 !important;
}

.repe-footer-actions {
    margin-top: 14px !important;
    gap: 8px !important;
}

.repe-footer-btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
}

/* شبکه‌های اجتماعی کوچک و مرتب */
.repe-footer-social {
    margin-top: 14px !important;
    max-width: 300px !important;
    display: grid !important;
    grid-template-columns: repeat(6, 38px) !important;
    gap: 7px !important;
    align-items: center !important;
}

.repe-footer-social > span {
    grid-column: 1 / -1 !important;
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

.repe-footer .repe-social-link {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 13px !important;
    display: grid !important;
    place-items: center !important;
    gap: 0 !important;
}

.repe-footer .repe-social-link i {
    width: 26px !important;
    height: 26px !important;
    border-radius: 10px !important;
    background: transparent !important;
}

.repe-footer .repe-social-link svg {
    width: 18px !important;
    height: 18px !important;
}

.repe-footer .repe-social-link small {
    display: none !important;
}

.repe-footer .repe-social-word {
    font-size: 9.5px !important;
    font-weight: 950 !important;
}

/* پایین فوتر کوتاه‌تر */
.repe-footer-bottom {
    padding: 14px 0 15px !important;
    gap: 4px !important;
}

.repe-footer-copyright,
.repe-footer-designer {
    font-size: 11.5px !important;
    line-height: 1.7 !important;
}

/* در عرض‌های متوسط فوتر همچنان کوتاه بماند */
@media (max-width: 1024px) {
    .repe-footer-inner {
        grid-template-columns: 1fr 1fr !important;
        padding: 30px 0 22px !important;
        gap: 24px !important;
    }

    .repe-footer-brand {
        grid-column: 1 / -1 !important;
    }

    .repe-footer-social {
        grid-template-columns: repeat(6, 38px) !important;
    }
}

@media (max-width: 640px) {
    .repe-footer {
        margin-top: 28px !important;
    }

    .repe-footer-inner {
        grid-template-columns: 1fr !important;
        padding: 28px 0 20px !important;
        gap: 22px !important;
    }

    .repe-footer-logo {
        font-size: 40px !important;
    }

    .repe-footer-contact {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .repe-footer-social {
        grid-template-columns: repeat(6, 36px) !important;
        max-width: 100% !important;
    }

    .repe-footer .repe-social-link {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
}


/* =========================================================
   RePe Footer Contact Direction Fix
   Phone RTL, Email LTR
   ========================================================= */

.repe-footer-contact {
    direction: rtl !important;
}

.repe-footer-contact a {
    direction: rtl !important;
    unicode-bidi: isolate !important;
    text-align: center !important;
}

.repe-footer-contact a[href^="tel"] {
    direction: rtl !important;
    unicode-bidi: isolate !important;
}

.repe-footer-contact a[href^="tel"]::before {
    content: "پشتیبانی: " !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
}

.repe-footer-contact a[href^="mailto"] {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    font-family: Arial, sans-serif !important;
    letter-spacing: .1px !important;
}


/* =========================================================
   RePe Footer V2: centered brand + support row below columns
   ========================================================= */

.repe-footer-v2 .repe-footer-inner {
    grid-template-columns: .85fr .85fr 1.35fr 1.15fr !important;
    align-items: start !important;
    padding: 30px 0 18px !important;
    gap: 24px !important;
}

.repe-footer-v2 .repe-footer-brand-center {
    text-align: center !important;
    justify-self: center !important;
}

.repe-footer-v2 .repe-footer-logo {
    font-size: 48px !important;
    display: inline-block !important;
}

.repe-footer-v2 .repe-footer-tagline {
    max-width: 360px !important;
    margin: 10px auto 0 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

.repe-footer-v2 .repe-footer-badges {
    justify-content: center !important;
    margin-top: 12px !important;
}

.repe-footer-v2 .repe-footer-about p {
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    color: rgba(38,48,31,.82) !important;
}

.repe-footer-support {
    width: min(1320px, calc(100% - 48px)) !important;
    margin: 0 auto !important;
    padding: 14px 0 16px !important;
    border-top: 1px solid rgba(84,97,66,.12) !important;
    display: grid !important;
    grid-template-columns: 1.35fr auto auto auto !important;
    align-items: center !important;
    gap: 16px !important;
    position: relative !important;
    z-index: 2 !important;
}

.repe-footer-support-text {
    display: grid !important;
    gap: 4px !important;
}

.repe-footer-support-text strong {
    font-size: 13px !important;
    font-weight: 950 !important;
    color: #2E3927 !important;
}

.repe-footer-support-text span {
    font-size: 11.5px !important;
    color: rgba(38,48,31,.72) !important;
    line-height: 1.7 !important;
}

.repe-footer-v2 .repe-footer-contact {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    direction: rtl !important;
}

.repe-footer-v2 .repe-footer-contact a {
    min-height: 32px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    text-decoration: none !important;
    background: rgba(250,248,245,.70) !important;
    border: 1px solid rgba(84,97,66,.15) !important;
    color: #2E3927 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.repe-footer-v2 .repe-phone-link {
    direction: rtl !important;
    unicode-bidi: isolate !important;
    gap: 4px !important;
}

.repe-footer-v2 .repe-phone-link::before {
    display: none !important;
    content: none !important;
}

.repe-footer-v2 .repe-phone-link span {
    color: #546142 !important;
    font-weight: 950 !important;
}

.repe-footer-v2 .repe-phone-link b {
    font-weight: 950 !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
}

.repe-footer-v2 .repe-email-link {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    font-family: Arial, sans-serif !important;
}

.repe-footer-v2 .repe-footer-actions {
    margin: 0 !important;
    display: flex !important;
    gap: 8px !important;
}

.repe-footer-v2 .repe-footer-btn {
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
}

.repe-footer-v2 .repe-footer-social {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    max-width: none !important;
}

.repe-footer-v2 .repe-footer-social > span {
    display: none !important;
}

.repe-footer-v2 .repe-social-link {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 12px !important;
}

.repe-footer-v2 .repe-social-link i {
    width: 24px !important;
    height: 24px !important;
}

.repe-footer-v2 .repe-social-link svg {
    width: 17px !important;
    height: 17px !important;
}

.repe-footer-v2 .repe-social-word {
    font-size: 8.8px !important;
}

.repe-footer-v2 .repe-footer-bottom {
    padding: 12px 0 14px !important;
    gap: 3px !important;
}

@media (max-width: 1180px) {
    .repe-footer-support {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .repe-footer-v2 .repe-footer-contact,
    .repe-footer-v2 .repe-footer-actions,
    .repe-footer-v2 .repe-footer-social {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 1024px) {
    .repe-footer-v2 .repe-footer-inner {
        grid-template-columns: 1fr 1fr !important;
    }

    .repe-footer-v2 .repe-footer-brand-center {
        grid-column: 1 / -1 !important;
        order: -1 !important;
    }
}

@media (max-width: 640px) {
    .repe-footer-v2 .repe-footer-inner {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .repe-footer-v2 .repe-footer-col h4::after,
    .repe-footer-v2 .repe-footer-consult h4::after {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .repe-footer-support {
        width: min(100% - 28px, 1320px) !important;
    }

    .repe-footer-v2 .repe-footer-contact {
        width: 100% !important;
        flex-direction: column !important;
    }

    .repe-footer-v2 .repe-footer-contact a,
    .repe-footer-v2 .repe-footer-btn {
        width: 100% !important;
    }
}


/* =========================================================
   RePe Footer Brand Gold + Layout Final
   ========================================================= */

.repe-footer-v2 .repe-footer-inner {
    grid-template-columns: 1.15fr .82fr .82fr 1.05fr !important;
    grid-template-areas: "brand categories guide about" !important;
    align-items: start !important;
    gap: 28px !important;
}

/* سمت راست فوتر: برند RePe */
.repe-footer-v2 .repe-footer-brand-center {
    grid-area: brand !important;
    text-align: right !important;
    justify-self: stretch !important;
}

/* وسط فوتر: دسته‌بندی‌ها */
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(1) {
    grid-area: categories !important;
    text-align: center !important;
}

/* وسط فوتر: راهنمای مشتریان */
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(2) {
    grid-area: guide !important;
    text-align: center !important;
}

/* سمت چپ/کنار فوتر: درباره RePe */
.repe-footer-v2 .repe-footer-about {
    grid-area: about !important;
    text-align: right !important;
}

/* خط طلایی زیر تیترهای وسط، وسط‌چین شود */
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(1) h4::after,
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(2) h4::after {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* لوگوی فوتر مثل هدر */
.repe-footer-v2 .repe-footer-logo {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.repe-footer-v2 .repe-footer-logo span {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 56px !important;
    line-height: .86 !important;
    font-weight: 500 !important;
    letter-spacing: .4px !important;
    color: #D8B873 !important;
    text-shadow:
        0 1px 0 rgba(255,255,255,.28),
        0 10px 24px rgba(201,164,106,.12) !important;
}

.repe-footer-v2 .repe-footer-logo small {
    font-family: "RePeYekanBakh", Tahoma, Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    color: #8A6A32 !important;
    margin-right: 3px !important;
}

/* توضیح برند سمت راست */
.repe-footer-v2 .repe-footer-tagline {
    margin: 12px 0 0 !important;
    max-width: 430px !important;
    text-align: right !important;
    font-size: 13.5px !important;
    line-height: 1.9 !important;
    color: #546142 !important;
    font-weight: 850 !important;
}

.repe-footer-v2 .repe-footer-badges {
    justify-content: flex-start !important;
    margin-top: 14px !important;
}

/* دسته‌بندی‌ها و راهنمای مشتریان وسط فوتر */
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(1) ul,
.repe-footer-v2 .repe-footer-inner > .repe-footer-col:nth-of-type(2) ul {
    display: grid !important;
    justify-items: center !important;
}

/* درباره RePe مرتب‌تر */
.repe-footer-v2 .repe-footer-about p {
    max-width: 390px !important;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .repe-footer-v2 .repe-footer-inner {
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "brand brand"
            "categories guide"
            "about about" !important;
        text-align: center !important;
    }

    .repe-footer-v2 .repe-footer-brand-center,
    .repe-footer-v2 .repe-footer-about {
        text-align: center !important;
    }

    .repe-footer-v2 .repe-footer-logo {
        align-items: center !important;
    }

    .repe-footer-v2 .repe-footer-tagline {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .repe-footer-v2 .repe-footer-badges {
        justify-content: center !important;
    }

    .repe-footer-v2 .repe-footer-about p {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 640px) {
    .repe-footer-v2 .repe-footer-inner {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "categories"
            "guide"
            "about" !important;
    }

    .repe-footer-v2 .repe-footer-logo span {
        font-size: 48px !important;
    }

    .repe-footer-v2 .repe-footer-logo small {
        font-size: 8px !important;
        letter-spacing: 2.6px !important;
    }
}


/* =========================================================
   RePe Footer Logo Center Fix
   Keep brand column on right, center logo/tagline inside it
   ========================================================= */

.repe-footer-v2 .repe-footer-brand-center {
    text-align: center !important;
    justify-self: stretch !important;
}

.repe-footer-v2 .repe-footer-logo {
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.repe-footer-v2 .repe-footer-logo span,
.repe-footer-v2 .repe-footer-logo small {
    text-align: center !important;
}

.repe-footer-v2 .repe-footer-logo small {
    margin-right: 0 !important;
}

.repe-footer-v2 .repe-footer-tagline {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.repe-footer-v2 .repe-footer-badges {
    justify-content: center !important;
}

