/* ===== FOOTER MAIN PAGE ===== */
.footer-main-page {
    background-color: #111;
    color: #fff;
    font-size: 14px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* --- Main grid --- */
.footer-main-page .footer-main {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.4fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px 40px;
    align-items: start;
}

/* --- Headings --- */
.footer-main-page .footer-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
}

/* --- Kolumna kontakt --- */
.footer-main-page .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 40px;
}

.footer-main-page .footer-phone {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 4px;
}

.footer-main-page .footer-phone:hover { color: #ccc; }

.footer-main-page .footer-email {
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-main-page .footer-email:hover { color: #fff; }

.footer-main-page .footer-address {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin: 0 0 16px;
}

.footer-main-page .footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.footer-main-page .footer-socials a {
    color: #aaa;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: color .2s;
}

.footer-main-page .footer-socials a:hover { color: #fff; }

/* --- Kolumny linków --- */
.footer-main-page .footer-col {
    padding-right: 20px;
}

.footer-main-page .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main-page .footer-list li {
    margin-bottom: 10px;
}

.footer-main-page .footer-list li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-main-page .footer-list li a:hover { color: #fff; }

/* --- Kolumna atutów --- */
.footer-main-page .footer-benefits {
    padding-right: 20px;
}

.footer-main-page .footer-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-main-page .footer-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-main-page .footer-benefits-list i {
    font-size: 22px;
    color: #e1001d;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-main-page .footer-benefits-list strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-main-page .footer-benefits-list span,
.footer-main-page .footer-benefits-list a[href^="tel"] {
    display: block;
    color: #9ab;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 2px;
    text-decoration: none;
}

.footer-main-page .footer-benefits-list a[href^="tel"]:hover {
    color: #fff;
}

/* --- Logotypy --- */
.footer-main-page .footer-payments {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    border-top: 1px solid #2a2a2a;
}

.footer-main-page .footer-payments img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.85);
}

.footer-main-page .footer-payments img.inpost-logo {
    height: 42px;
    filter: none;
}

/* --- Footer bottom --- */
.footer-main-page .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    border-top: 1px solid #2a2a2a;
    color: #777;
    font-size: 13px;
}

.footer-main-page .footer-bottom strong { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .footer-main-page .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 40px 30px;
    }

    .footer-main-page .footer-benefits {
        grid-column: 1 / -1;
        align-self: auto;
    }

    .footer-main-page .footer-benefits-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 40px;
    }

    .footer-main-page .footer-benefits-list li {
        flex: 1 1 180px;
    }

    .footer-main-page .footer-contact { padding-right: 0; }
    .footer-main-page .footer-col { padding-right: 0; }
}

@media (max-width: 640px) {
    .footer-main-page .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 20px;
    }

    .footer-main-page .footer-benefits {
        grid-column: auto;
    }

    .footer-main-page .footer-payments {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 20px;
    }

    .footer-main-page .footer-payments img { height: 22px; }

    .footer-main-page .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 14px 20px;
    }
}


.logo-inpost svg {
    fill: white;
}
/* ===== COOKIE SETTINGS ===== */
#cookie-change-button {
    display: none !important;
}

.footer-main-page .footer-list li button.footer-cookie-settings {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #aaa;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: color .2s;
    display: inline;
}

.footer-main-page .footer-list li button.footer-cookie-settings:hover {
    color: #fff;
}
