/**
 * EM Child — Footer
 *
 * Full replacement for Soledad's default footer (which the child theme's
 * footer.php now overrides entirely). Four-column layout: brand/logo,
 * catalog links, company links, contacts+socials — plus a copyright row.
 *
 * Colors reuse Soledad's own theme variables (--pcbg-cl / --pctext-cl /
 * --pcheading-cl / --pcmeta-cl / --pcaccent-cl, set sitewide on <body> by
 * the Customizer) instead of new hardcoded colors, so the footer follows
 * whatever palette/dark-mode the client already configured. Font-family is
 * intentionally NOT set here — task 03 (sitewide typography) is still
 * pending client approval, so this inherits the current body font as-is.
 */

.em-footer {
    background-color: var(--pcbg-l-cl, #f7f7f7);
    color: var(--pctext-cl, #313131);
    padding: 50px 0 0;
    margin-top: 40px;
}

.em-footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--pcborder-cl, #dedede);
}

@media (max-width: 991px) {
    .em-footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .em-footer-columns {
        grid-template-columns: 1fr;
    }
}

.em-footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--pcheading-cl, #313131);
    margin: 0 0 16px;
}

.em-footer-logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.em-footer-desc {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--pcmeta-cl, #888888);
    max-width: 320px;
}

.em-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.em-footer-links li {
    margin-bottom: 10px;
}

.em-footer-links a {
    font-size: 13px;
    color: var(--pctext-cl, #313131);
    text-decoration: none;
}

.em-footer-links a:hover {
    color: var(--pcaccent-cl, #ff7f00);
}

.em-footer-address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.7;
    color: var(--pcmeta-cl, #888888);
    margin: 0 0 14px;
}

.em-footer-links--contact li {
    margin-bottom: 8px;
}

.em-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.em-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--pcborder-cl, #dedede);
    color: var(--pctext-cl, #313131);
}

.em-footer-socials a:hover {
    background-color: var(--pcaccent-cl, #ff7f00);
    color: #fff;
}

.em-footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.em-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--pcmeta-cl, #888888);
}

.em-footer-bottom a {
    color: var(--pcmeta-cl, #888888);
    text-decoration: underline;
}

.em-footer-bottom a:hover {
    color: var(--pcaccent-cl, #ff7f00);
}
