/* ==========================================================================
   FOOTER ESHOPU (Common/footer.latte)
   Tmavý footer, 4 stĺpce + biely pás platobných metód.
   Mobilný padding-bottom pre bottom-nav rieši bottom-nav.css (selektor `footer`).
   ========================================================================== */

footer.site-footer {
    position: relative;
    z-index: 25;
    margin-top: 4px;
    background-color: var(--surface-dark, #343332);
    color: var(--text-white, #fff);
    font-family: 'VolteRegular', sans-serif;
    font-size: 15px;
    line-height: 1.4;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 20px 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr 1.25fr;
    gap: 40px;
    align-items: stretch;
}

.footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-col h2 {
    margin: 0 0 20px;
    font-family: 'VolteSemibold', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text-white, #fff);
}

.footer-col p {
    margin: 0;
    color: #e6e6e6;
}

.footer-col strong {
    font-family: 'VolteSemibold', sans-serif;
    font-weight: 600;
    color: var(--text-white, #fff);
}

.footer-col a {
    color: #e6e6e6;
    text-decoration: none;
    transition: color .15s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--text-white, #fff);
}

/* Nadpis stĺpca ako link (Naše značky → /znacky) — ostáva biely, hover len podčiarkne */
.footer-col h2 a {
    color: var(--text-white, #fff);
}

.footer-col h2 a:hover,
.footer-col h2 a:focus-visible {
    text-decoration: underline;
}

/* --- 1. Značka --- */
.footer-logo {
    display: inline-block;
    width: 180px;
    margin-bottom: 36px;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-col .footer-company {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    color: var(--primary-color, #F39200);
    line-height: 0;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    color: var(--text-white, #fff);
}

.footer-col .footer-copyright {
    margin-top: auto;
    padding-top: 40px;
    color: #e6e6e6;
}

/* --- 2. Mapa stránky --- */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-links a {
    line-height: 20px;
}

/* --- 3. Naše značky --- */
.footer-brands {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brands img {
    width: auto;
    object-fit: contain;
}

.footer-brands .footer-brand-staramama {
    height: 58px;
}

.footer-brands .footer-brand-farmilia {
    height: 32px;
}

/* --- 4. Kontakt + Newsletter --- */
.footer-col .footer-contact {
    margin-bottom: 16px;
}

.footer-col .footer-reps {
    display: inline-block;
    align-self: flex-start;
    font-family: 'VolteSemibold', sans-serif;
    color: var(--surface-yellow, #F39200);
}

.footer-col .footer-reps:hover,
.footer-col .footer-reps:focus-visible {
    text-decoration: underline;
}

.footer-col .footer-newsletter-title {
    margin-top: 44px;
    margin-bottom: 10px;
}

.footer-col .footer-newsletter-desc {
    margin-bottom: 16px;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 6px 6px 6px 24px;
    border-radius: 999px;
    background-color: var(--text-white, #fff);
    box-sizing: border-box;
}

.footer-newsletter input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'VolteRegular', sans-serif;
    font-size: 15px;
    color: var(--text-primary, #343332);
}

.footer-newsletter input::placeholder {
    color: var(--text-primary, #343332);
    opacity: 1;
}

.footer-newsletter button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--surface-red, #E53012);
    color: var(--text-white, #fff);
    cursor: pointer;
    transition: background-color .15s ease;
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
    background-color: #c72a10;
}

/* --- Platobné metódy --- */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    margin-top: 48px;
    padding: 20px 40px;
    border-radius: 16px;
    background-color: var(--text-white, #fff);
}

.footer-payments img {
    height: 26px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

@media screen and (min-width: 1001px) {
    .footer-payments {
        flex-wrap: nowrap;
    }
}

/* --- Responzívne --- */
@media screen and (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }

    .footer-col .footer-copyright {
        padding-top: 24px;
    }

    .footer-col .footer-newsletter-title {
        margin-top: 32px;
    }

    .footer-payments {
        justify-content: center;
        padding: 18px 24px;
    }
}

@media screen and (max-width: 767px) {
    .footer-inner {
        padding: 40px 16px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo {
        margin-bottom: 24px;
    }

    .footer-col .footer-copyright {
        margin-top: 0;
        padding-top: 20px;
    }

    .footer-payments {
        gap: 14px 20px;
        padding: 16px;
    }

    .footer-payments img {
        height: 26px;
        max-width: 80px;
    }
}
