.simple-footer,
.simple-footer * {
    box-sizing: border-box;
}

.simple-footer {
    direction: rtl;
    width: 100%;
    margin-top: 28px;
    padding: 24px 0 calc(18px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #667085;
    font-family: Tahoma, Arial, sans-serif;
}

.simple-footer a {
    color: inherit;
    text-decoration: none;
}

.simple-footer-container {
    width: min(94%, 1180px);
    margin: 0 auto;
}

.simple-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.simple-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.simple-footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 5px;
}

.simple-footer-brand-text h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 19px;
    font-weight: 800;
}

.simple-footer-brand-text p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.simple-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.simple-footer-links a {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

.simple-footer-links a:hover {
    color: #b58a35;
}

.simple-footer-whatsapp {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 10px;
    background: #16a34a;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}

.simple-footer-whatsapp:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.simple-footer-whatsapp svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.simple-footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eef0f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: #98a2b3;
    font-size: 12px;
}

.simple-footer-bottom strong {
    color: #344054;
}

.simple-footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.simple-footer-legal a:hover {
    color: #b58a35;
}

@media (max-width: 850px) {
    .simple-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .simple-footer-brand {
        min-width: 0;
        flex-direction: column;
    }

    .simple-footer-brand-text p {
        max-width: 420px;
    }

    .simple-footer-links {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .simple-footer {
        margin-top: 18px;
        padding-top: 20px;
    }

    .simple-footer-container {
        width: min(92%, 520px);
    }

    .simple-footer-logo {
        width: 54px;
        height: 54px;
    }

    .simple-footer-brand-text h2 {
        font-size: 18px;
    }

    .simple-footer-brand-text p {
        font-size: 12.5px;
    }

    .simple-footer-links {
        gap: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border: 1px solid #eaecf0;
        border-radius: 12px;
        overflow: hidden;
    }

    .simple-footer-links a {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        font-size: 12.5px;
        border-bottom: 1px solid #eaecf0;
        border-left: 1px solid #eaecf0;
    }

    .simple-footer-links a:nth-child(even) {
        border-left: 0;
    }

    .simple-footer-links a:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .simple-footer-whatsapp {
        width: 100%;
        min-height: 46px;
    }

    .simple-footer-bottom {
        flex-direction: column;
        text-align: center;
        line-height: 1.8;
    }

    .simple-footer-legal {
        justify-content: center;
    }
}
