/**
 * Uproszczony header i minimalna stopka koszyka i checkoutu (przebudowa UX, makiety 2026-10-26).
 * Szablony: template-parts/lean-header.php, lean-footer.php. Warunek: sbco_lean_layout().
 */

body.sb-lean {
    background: #fff;
}

.sbl-header {
    display: block;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #ebe7ef;
}

.sbl-header__inner,
.sbl-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.sbl-header__inner {
    min-height: 60px;
}

.sbl-header__logo {
    display: inline-flex;
    align-items: center;
    color: var(--main-accent, #4804a4);
    font-family: var(--font-primary-bold-family), sans-serif;
    font-size: 22px;
    text-decoration: none;
}

.sbl-header__logo img {
    display: block;
    width: auto;
    height: 34px;
}

.sbl-header__secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-green, #00674f);
    font-family: var(--font-secondary-bold-family), sans-serif;
    font-size: 14px;
}

.sbl-footer {
    margin-top: 48px;
    border-top: 1px solid #ebe7ef;
    background: #fff;
}

.sbl-footer__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding-top: 20px;
    padding-bottom: 24px;
    color: #6b6b73;
    font-size: 13px;
}

.sbl-footer a {
    font: inherit; /* globalne `body, a` daje rozmiar body */
    letter-spacing: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sbl-footer a:hover {
    color: var(--main-accent, #4804a4);
}

@media (max-width: 767px) {
    .sbl-header__inner {
        min-height: 52px;
        padding: 0 16px;
    }

    .sbl-header__logo img {
        height: 28px;
    }

    .sbl-header__secure {
        font-size: 13px;
    }

    /* Miejsce na przypięty pasek koszyka / zamówienia */
    .sbl-footer {
        margin-top: 24px;
        padding-bottom: 88px;
    }
}
