/* =========================================================
   Pixell.bg — Footer Mobile Reorder V1
   Desktop версията не се променя.
========================================================= */

@media (max-width: 520px) {
    body.pixell-site .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* 1. Покани */
    body.pixell-site .footer-grid
    > .footer-column:nth-of-type(1) {
        order: 1;
    }

    /* 2. Информация */
    body.pixell-site .footer-grid
    > .footer-column:nth-of-type(2) {
        order: 2;
    }

    /* 3. Условия и политики */
    body.pixell-site .footer-grid
    > .footer-column:nth-of-type(3) {
        order: 3;
    }

    /* 4. Бранд блокът остава най-отдолу */
    body.pixell-site .footer-grid > .footer-brand {
        position: relative;
        order: 4;
        max-width: 100%;
        margin-top: 8px;
        padding-top: 32px;
    }

    body.pixell-site .footer-grid > .footer-brand::before {
        position: absolute;
        top: 0;
        right: 8%;
        left: 8%;
        height: 1px;
        content: "";
        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.20),
                transparent
            );
    }

    body.pixell-site .footer-brand .footer-logo {
        margin-bottom: 15px;
    }

    body.pixell-site .footer-brand .footer-description {
        max-width: 360px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
    }

    body.pixell-site .footer-brand
    .footer-contact-compact {
        margin-bottom: 20px;
    }

    body.pixell-site .footer-brand .footer-social {
        justify-content: center;
    }

    body.pixell-site .footer-bottom {
        margin-top: 26px !important;
        padding-top: 18px !important;
    }
}

@media (max-width: 360px) {
    body.pixell-site .footer-grid > .footer-brand {
        padding-top: 28px;
    }

    body.pixell-site .footer-brand .footer-description {
        font-size: 13px;
        line-height: 1.62;
    }
}
