/* ============================================================
   Energishop — Footer Styles
   Prefix: esh-footer  |  Colors: #111 / #FFD100 / #FFF
   ============================================================ */

/* ---- Container scope (works on all pages, not just front) ---- */
.esh-footer .esh-container,
.esh-footer__newsletter .esh-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ---- Newsletter Bar ---- */
.esh-footer__newsletter {
    background: var(--esh-yellow, #FFD100);
    padding: 32px 0;
}
.esh-footer__nw-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.esh-footer__nw-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--esh-black, #111);
    margin: 0;
}
.esh-footer__nw-form {
    display: flex;
    gap: 0;
    max-width: 440px;
    width: 100%;
}
.esh-footer__nw-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--esh-black, #111);
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-size: .9rem;
    background: var(--esh-white, #FFF);
    color: var(--esh-black, #111);
    outline: none;
}
.esh-footer__nw-input:focus {
    border-color: var(--esh-black, #111);
    box-shadow: 0 0 0 3px rgba(255,209,0,.4);
}
.esh-footer__nw-btn {
    padding: 12px 28px;
    background: var(--esh-black, #111);
    color: var(--esh-yellow, #FFD100);
    font-weight: 700;
    font-size: .9rem;
    border: 2px solid var(--esh-black, #111);
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: .3s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
}
.esh-footer__nw-btn:hover {
    background: var(--esh-white, #FFF);
    color: var(--esh-black, #111);
}

/* ---- Main Footer ---- */
.esh-footer__main {
    background: var(--esh-black, #111);
    padding: 56px 0 40px;
}
.esh-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
}
.esh-footer__logo {
    display: block;
    max-width: 160px;
    height: auto;
    margin-bottom: 16px;
}
.esh-footer__desc {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    margin: 0;
}
.esh-footer__heading {
    font-size: .9rem;
    font-weight: 700;
    color: var(--esh-yellow, #FFD100);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 16px;
}

/* Links */
.esh-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.esh-footer__links li {
    margin-bottom: 10px;
}
.esh-footer__links a {
    font-size: .88rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .2s ease;
}
.esh-footer__links a:hover {
    color: var(--esh-yellow, #FFD100);
    padding-left: 4px;
}

/* Contact */
.esh-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.esh-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
}
.esh-footer__contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--esh-yellow, #FFD100);
}
.esh-footer__contact a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .2s ease;
}
.esh-footer__contact a:hover {
    color: var(--esh-yellow, #FFD100);
}

/* Social */
.esh-footer__social {
    display: flex;
    gap: 12px;
}
.esh-footer__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: .3s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
}
.esh-footer__social-link:hover {
    transform: translateY(-3px);
}
.esh-footer__social-link--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #FFF;
}
.esh-footer__social-link--ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #FFF;
}
.esh-footer__social-link--g:hover {
    background: var(--esh-white, #FFF);
    border-color: var(--esh-white, #FFF);
    color: var(--esh-black, #111);
}

/* ---- Bottom Bar ---- */
.esh-footer__bottom {
    background: #0a0a0a;
    padding: 16px 0;
    text-align: center;
}
.esh-footer__copyright {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .esh-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .esh-footer__nw-inner {
        flex-direction: column;
        text-align: center;
    }
    .esh-footer__nw-form {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .esh-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .esh-footer__main {
        padding: 40px 0 32px;
    }
}
