/**
 * Marketplace desktop footer — shared across all desktop pages.
 */
:root {
    --mk-primary: #5146E5;
    --mk-max: 1680px;
}

.mk-container {
    width: 100%;
    max-width: var(--mk-max);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.mk-btn:hover { transform: translateY(-1px); }
.mk-btn--primary {
    background: var(--mk-primary);
    color: #fff !important;
}
.mk-btn--primary:hover { background: #4338ca; }

@media (min-width: 768px) {
    body:has(.mk-footer) .app {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    body:has(.mk-footer)::after {
        display: none !important;
        content: none !important;
    }
    /* فوتر زیر شل فید — تمام‌عرض مثل صفحه اول */
    body:has(#feedDashboardLayout) > .app > .mk-footer,
    body:has(#feedDashboardLayout) .app > .mk-footer {
        width: 100%;
        max-width: none;
        margin-top: 24px;
    }
}

.mk-footer {
    margin-top: 40px;
    margin-bottom: 0;
    background: #15182a;
    color: #d7dbe8;
    padding: 40px 0 28px;
    width: 100%;
}
.mk-footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}
.mk-footer__cols h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.mk-footer__cols a {
    display: block;
    color: #a8b0c4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.mk-footer__cols a:hover { color: #fff; }
.mk-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12.5px;
    color: #8b93a8;
    flex-wrap: wrap;
}
.mk-footer__bottom p { margin: 0; }
.mk-footer__social {
    display: inline-flex;
    gap: 10px;
}
.mk-footer__social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.mk-footer__badges {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}
.mk-footer__badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #c5cbda;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .mk-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
