/* ==========================================================================
   Footer - Dissh-style large footer
   ========================================================================== */

.site-footer {
    margin-top: var(--spacing-4xl);
}

/* Brand Statement
   ========================================================================== */
.footer-brand {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    text-align: center;
}

.footer-brand__inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand__logo {
    margin-bottom: var(--spacing-lg);
}

.footer-brand__logo img {
    max-height: 24px;
    width: auto;
    margin: 0 auto;
    opacity: 0.5;
}

.footer-brand__text {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: var(--line-height-loose);
    color: var(--color-text);
    text-align: center;
}

/* Footer Main: Newsletter + Links + Image
   ========================================================================== */
.footer-main {
    padding-bottom: var(--spacing-2xl);
}

.footer-main__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Newsletter
   ========================================================================== */
.footer-newsletter {
    padding-bottom: var(--spacing-2xl);
}

.footer-newsletter__heading {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.footer-newsletter__form {
    margin-bottom: var(--spacing-md);
}

.footer-newsletter__input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 8px;
    gap: var(--spacing-md);
}

.footer-newsletter__input {
    flex: 1;
    background: none;
    border: none;
    padding: 6px 0;
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text);
    outline: none;
}

.footer-newsletter__input::placeholder {
    color: var(--color-text-light);
}

.footer-newsletter__submit {
    flex-shrink: 0;
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.footer-newsletter__submit:hover {
    color: var(--color-hover);
}

.footer-newsletter__disclaimer {
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-text-light);
    line-height: var(--line-height-base);
}

/* Footer Links
   ========================================================================== */
.footer-links {
    padding-top: var(--spacing-lg);
}

.footer-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-links__title {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    letter-spacing: normal;
    text-transform: none;
}

.footer-links__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links__list li a,
.footer-links__list a {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: var(--line-height-loose);
}

.footer-links__list li a:hover,
.footer-links__list a:hover {
    color: var(--color-hover);
}

/* Footer Image (right side)
   ========================================================================== */
.footer-main__image {
    position: relative;
}

.footer-main__image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.footer-main__image-placeholder {
    width: 100%;
    min-height: 500px;
    background-color: var(--color-bg-alt);
}

.footer-main__image-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: var(--color-bg-alt);
    padding: var(--spacing-3xl);
}

.footer-main__image-logo img {
    max-width: 180px;
    width: auto;
    height: auto;
    min-height: auto;
    object-fit: contain;
    margin-bottom: var(--spacing-lg);
}

.footer-main__image-tagline {
    font-family: var(--font-primary);
    font-size: var(--font-size-xs);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    color: var(--color-text-light);
    text-align: center;
}

.footer-main__image-brand {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.footer-main__image-caption {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text);
}

.footer-bottom__copyright a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom__copyright a:hover {
    color: var(--color-text);
}

/* Footer Bottom Bar
   ========================================================================== */
.footer-bottom {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom__shipping {
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-text);
}

.footer-bottom__copyright {
    font-size: var(--font-size-sm);
    font-weight: 300;
    color: var(--color-text-light);
}

/* Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .footer-main__grid {
        grid-template-columns: 1fr 300px;
    }
}

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

    .footer-main__image {
        order: -1;
    }

    .footer-main__image img,
    .footer-main__image-placeholder {
        min-height: 350px;
    }

    .footer-links__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .footer-bottom__inner {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Footer payment icons (in Zakupy column) */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: var(--spacing-md) 0 0;
    padding: 0;
    list-style: none;
}
.footer-payments__item {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.footer-payments__item svg {
    display: block;
    width: 38px;
    height: 24px;
    filter: grayscale(1);
}

/* Hide legacy Journal link if present in menu */
.footer-links__list a[href*="/journal"],
.footer-links__list a[href$="/journal/"],
.footer-links__list li.menu-item-journal,
.footer-links__list li.journal-menu-item {
    display: none !important;
}

/* Keep studiokalmus credit link in HTML (SEO) but invisible */
.footer-bottom__credit {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Newsletter status message (FluentCRM subscribe) */
.newsletter-status {
    margin-top: 10px;
    font-size: var(--font-size-sm);
    min-height: 1.2em;
}
.newsletter-status.is-success { color: #1f7a4f; }
.newsletter-status.is-error { color: #b92a2a; }
