/* Stopka (footer.php + helpers/ux/86-stopka.php), Figma „ostatnie zmiany”, warstwa 3 (desktop 1440 + mobile 390, 1.12):
   tło #1D1726, logo + opis + przyciski social, kolumny Sklep / Pomoc / Dla firm / Sklep w Warszawie (nagłówki koral),
   pod kreską płatności · dostawa · ocena Google, na dole copyright.
   Telefon: Sklep w Warszawie zawsze rozwinięty, Sklep / Pomoc / Dla firm jako akordeon z „+”
   (klasa sbf--js dodawana skryptem - bez JS wszystko rozwinięte). */
.layout-footer.sbf {
    display: block;
    padding-block: 72px 40px;
    background: #1d1726;
    box-shadow: none;
    color: rgba(255, 255, 255, .82);
}
.layout-footer.sbf .wrapper {
    display: block;
    box-sizing: border-box;
    max-inline-size: var(--sb-wrap);
    margin: 0 auto;
    padding-inline: var(--sb-gutter);
}
.layout-footer.sbf :is(ul, p) { margin: 0; padding: 0; list-style: none; }
.layout-footer.sbf a { color: inherit; text-decoration: none; }
.layout-footer.sbf a:hover { color: #fff; }

.sbf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) repeat(4, minmax(0, 1fr));
    gap: 32px 40px;
    align-items: start;
}

/* marka */
.sbf-logo { display: inline-block; margin-bottom: 18px; }
.sbf-logo img { display: block; width: 172px; height: auto; }
.layout-footer.sbf .sbf-desc { max-width: 320px; margin-bottom: 20px; font: 15px/1.6 var(--sb-font); color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.sbf-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.layout-footer.sbf .sbf-pill {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 15px;
    border-radius: 999px;
    font: 13px/1 var(--sb-font-bold);
    color: #fff;
    transition: filter .15s, transform .15s;
}
.layout-footer.sbf .sbf-pill:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.sbf-pill--youtube { background: var(--sb-red); }
.sbf-pill--instagram { background: var(--sb-accent, #4a03a6); }
.sbf-pill--telegram { background: #229ed9; }

/* kolumny */
.layout-footer.sbf h3.sbf-head {
    margin: 0 0 16px;
    font: 12px/1.3 var(--sb-font-bold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sb-red);
}
.sbf-toggle {
    all: unset;
    display: block;
    width: 100%;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    cursor: default;
    pointer-events: none;
}
.sbf-links, .sbf-info { display: grid; gap: 12px; }
.sbf-links a, .sbf-info li { font: 15px/1.45 var(--sb-font); color: rgba(255, 255, 255, .86); }
.layout-footer.sbf .sbf-info a { font: inherit; letter-spacing: inherit; white-space: nowrap; }
.sbf-contact a:hover, .sbf-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.layout-footer.sbf .sbf-route { display: inline-block; margin-top: 14px; font: 15px/1.4 var(--sb-font-bold); color: #fff; }
.layout-footer.sbf .sbf-route:hover { text-decoration: underline; text-underline-offset: 3px; }

/* dół */
.sbf-bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.layout-footer.sbf .sbf-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 14px/1.5 var(--sb-font); color: rgba(255, 255, 255, .82); }
.layout-footer.sbf .sbf-copy { margin-top: 32px; font: 12px/1.6 var(--sb-font); color: rgba(255, 255, 255, .5); }

@media (max-width: 1100px) {
    .sbf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sbf-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .layout-footer.sbf { padding-block: 40px 28px; }
    .sbf-grid { display: flex; flex-direction: column; gap: 0; }
    .sbf-grid > * { width: 100%; max-width: none; align-self: stretch; }
    .sbf-brand { order: -2; padding-bottom: 24px; }
    .layout-footer.sbf .sbf-desc { max-width: none; }
    .sbf-col--waw { order: -1; padding-bottom: 24px; }
    .sbf-col--menu { border-top: 1px solid rgba(255, 255, 255, .12); }
    .sbf-col--menu:nth-last-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .layout-footer.sbf .sbf-col--menu h3.sbf-head { margin: 0; padding: 18px 0; }
    .sbf--js .sbf-toggle { position: relative; pointer-events: auto; cursor: pointer; }
    .sbf--js .sbf-toggle::before,
    .sbf--js .sbf-toggle::after {
        content: "";
        position: absolute;
        right: 2px;
        top: 50%;
        width: 12px;
        height: 2px;
        margin-top: -1px;
        background: rgba(255, 255, 255, .9);
        transition: transform .2s;
    }
    .sbf--js .sbf-toggle::after { transform: rotate(90deg); }
    .sbf--js .sbf-col.is-open .sbf-toggle::after { transform: rotate(0); }
    .sbf--js .sbf-col--menu:not(.is-open) .sbf-links { display: none; }
    .sbf-col--menu .sbf-links { padding-bottom: 18px; }
    .sbf-bottom { margin-top: 24px; padding-top: 0; border-top: 0; }
    .layout-footer.sbf .sbf-facts { flex-direction: column; gap: 8px; }
    .layout-footer.sbf .sbf-copy { margin-top: 20px; }
}
