/*****
FOOTER GRASSLAND
******/
footer {
    padding-top: 50px;
    background-color: var(--color-primary);
    position: relative;
}
.footer-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
    background-image: url("/wp-content/uploads/2025/02/grassland-animal-feading-logo-footer.webp");
    background-position: bottom left;
    background-repeat: repeat-x;
    background-size: contain;
}
.footer-container {
    max-width: 1500px;
    margin: auto;
}
.footer-container p {
    color: var(--color-default) !important;
    font-size: 1rem;
    margin-bottom: 10px;
}
.footer-container p a {
    font-family: var(--font-jost-regular) !important;
    font-size: 1rem;
}
p.jost__capital {
    font-family: var(--font-jost-regular) !important;
    text-transform: uppercase;
}
p.jost__regular {
    font-family: var(--font-jost-regular) !important;
}
.footer__wrapper ul {
    padding-left: 0;
    list-style: none;
    list-style-type: none !important;
}
.footer__wrapper .menu ul {
    padding-left: 0;
    list-style: none;
    list-style-type: none !important;
}
.footer__wrapper .menu li a {
    font-family: var(--font-jost-regular) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
}
img.footer-icon {
    width: 24px;
}
.footer-container i.fas {
    margin-right: 8px;
}
.navbar-light .navbar-nav .nav-link {
    color: var(--color-default);
}
p.copyright {
    padding-top: 6px;
    font-size: 0.75rem;
    text-align: center;
}
a.social-link {
    display: inline-block;
    margin: 0 5px;
}
a.social-link svg path {
    fill: var(--color-default); /* Domyślny kolor */
    transition: fill 0.3s ease-in-out;
}
a.social-link:hover svg path {
    fill:var(--color-links-hover);
}

footer img.social-icon,
img.social-icon {
    height: 20px!important;
}
.stars span.star {
    background-image: url("images/star.svg");
    display: inline-block;
    height: 20px;
    width: 21px;
}
.stars span.rating {
    font-size: 22px;
    line-height: 22px;
    color: var(--color-secondary) !important;
    font-family: var(--font-eb-garmond-italic) !important;
}
footer .footer-part {
    margin-top: 60px;
}
.display-mobile {
    display: none;
}
.display-large {
    display: block;
}
.footer-mobile {
    width: 100vw;
    display: -webkit-box;
    display: none;
    justify-content: space-between;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 998;
    background: #fff;
    padding: 22px 0 5px;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    box-shadow: 0 0 4px 1px #eee;
}
#scrollTopBtn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    background: var(--color-default);
    color: var(--color-white);
    border: none;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 100;
    transition: ease 0.5s;
}
#scrollTopBtn:hover {
    bottom: 85px;
}
.footer-mobile .mobile-cart {
    display: flex;
    justify-content: center;
}
.footer-mobile span.basket-count {
    position: absolute;
    right: -5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer__socials-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.footer__socials-wrapper a {
    background: var(--color-button);
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0 !important;
}

.img-footer-logo {
    width: 200px;
    margin-left: 0;
}

.footer__wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    z-index: 2;

}
footer .footer__wrapper .footer-part {
    margin-top: 0;
}
.footer__bottom-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-default);
    position: relative;
    z-index: 2;
}
.footer__address-container,
.footer__contact,
.footer__customer-support,
.footer__informations,
.footer__logo {
    display: flex;
    align-items: baseline;
}
.footer__contact-row svg {
    width: 19px;
}
.footer__logo {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer__logo #logo {
    max-width: 200px;
}
.footer__address-hours,
.footer__address-location {
    display: flex;
}
.footer__contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    text-align: left;
}
@media (max-width: 1200px) {
    .footer__logo #logo {
        max-width: 150px;
    }
}
@media (max-width:992px) {
    .footer-container {
        margin-bottom: 69px;
    }

    .footer-mobile {
        display: flex;
    }

    .footer-mobile > div {
        flex: 1;
        text-align: center;
    }

    .footer-mobile > div > a,
    .footer-mobile > div > button {
        position: relative;
        display: inline-block;
        line-height: 14px;
        font-size: 13px;
        color: var(--color-default) !important;
    }
    .footer-mobile button#toggle-filters:focus,
    .footer-mobile button#toggle-filters:hover {
        background-color: transparent;
    }
    .footer__wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-row-gap: 2rem;
    }
    .footer__logo {
        grid-column: 1 / -1;
        justify-self: center;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .footer__logo #logo {
        /* max-width: 130px; */
        display:none;
    }
    .footer__wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 1rem;
    }
    .footer__address-container,
    .footer__contact,
    .footer__customer-support,
    .footer__informations,
    .footer__logo {
        justify-self: center;
        text-align: center;
    }
    .footer__bottom-bar {
        display: flex;
        align-items: center;
    }
}
@media (max-width: 576px) {
    .footer-container::before {
        height: 20%;
        background-size: cover;
    }
    .display-mobile {
        display: block;
        margin-bottom: 30px;
    }

    .display-large {
        display: none;
    }

    footer .footer-part {
        margin-top: 30px;
    }

    .footer-mobile p {
        font-size: 13px;
    }
    .footer__wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 1rem;
    }
    .footer__logo #logo {
        /* max-width: 100px; */
        display:none;
    }
}
