/* ── footer_columns: ShopWise 4-column footer ──────────────────────────────── */

.nexab-footer--columns { border: none; }

/* Dark scheme */
.nexab-footer--columns.nexab-footer--dark {
    background: var(--nx-dark-bg, #112946);
    color: rgba(255,255,255,.55);
}
/* Light scheme */
.nexab-footer--columns.nexab-footer--light {
    background: var(--nx-surface, #f4f7f6);
    color: var(--nx-text, #5a6577);
    border-top: 1px solid var(--nx-border, #e5e7eb);
}

/* ── Inner wrapper ─────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Body (columns area) ───────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__body .nexab-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

/* ── Brand column ──────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: .75rem;
}
.nexab-footer--dark .nexab-footer__logo img {
    filter: brightness(0) invert(1);
    opacity: .85;
    max-height: 34px;
}
.nexab-footer--light .nexab-footer__logo img { max-height: 34px; }
.nexab-footer--columns .nexab-footer__logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.nexab-footer--dark .nexab-footer__logo-text { color: #fff; }
.nexab-footer--light .nexab-footer__logo-text { color: var(--nx-heading, #10243d); }

.nexab-footer--columns .nexab-footer__tagline {
    font-size: .875rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    opacity: .6;
    max-width: 260px;
}

/* ── Contacts ──────────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.nexab-footer--columns .nexab-footer__contact-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-size: .85rem;
    color: inherit;
    opacity: .7;
    transition: opacity .18s;
}
.nexab-footer--columns .nexab-footer__contact-item:hover { opacity: 1; }
.nexab-footer--columns .nexab-footer__contact-item svg { flex-shrink: 0; opacity: .6; }

/* ── Socials ───────────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__socials {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.nexab-footer--columns .nexab-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: .875rem;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}
.nexab-footer--dark .nexab-footer__social-link {
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.55);
}
.nexab-footer--dark .nexab-footer__social-link:hover {
    background: var(--nx-accent, #0d9488);
    border-color: var(--nx-accent, #0d9488);
    color: #fff;
}
.nexab-footer--light .nexab-footer__social-link {
    border: 1px solid var(--nx-border, #e5e7eb);
    background: #fff;
    color: var(--nx-text, #5a6577);
}
.nexab-footer--light .nexab-footer__social-link:hover {
    background: var(--nx-accent, #0d9488);
    border-color: var(--nx-accent, #0d9488);
    color: #fff;
}

/* ── Link columns ──────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__col-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 1.25rem;
}
.nexab-footer--dark .nexab-footer__col-title { color: #fff; }
.nexab-footer--light .nexab-footer__col-title { color: var(--nx-heading, #10243d); }

.nexab-footer--columns .nexab-footer__col ul { list-style: none; margin: 0; padding: 0; }
.nexab-footer--columns .nexab-footer__col li { margin-bottom: .6rem; }
.nexab-footer--columns .nexab-footer__col a {
    text-decoration: none;
    font-size: .875rem;
    transition: color .18s;
}
.nexab-footer--dark .nexab-footer__col a { color: rgba(255,255,255,.48); }
.nexab-footer--dark .nexab-footer__col a:hover { color: var(--nx-accent, #0d9488); }
.nexab-footer--light .nexab-footer__col a { color: var(--nx-muted, #6b7280); }
.nexab-footer--light .nexab-footer__col a:hover { color: var(--nx-accent, #0d9488); }

/* ── Bottom bar ────────────────────────────────────────────────────────────── */
.nexab-footer--columns .nexab-footer__bar {
    border-top: 1px solid rgba(255,255,255,.08);
}
.nexab-footer--light .nexab-footer__bar { border-top-color: var(--nx-border, #e5e7eb); }

.nexab-footer--columns .nexab-footer__bar .nexab-footer__inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: .75rem;
    padding-bottom: .75rem;
}
.nexab-footer--columns .nexab-footer__copy {
    margin: 0;
    font-size: .8125rem;
    opacity: .45;
}
.nexab-footer--columns .nexab-footer__legal ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.nexab-footer--columns .nexab-footer__legal a {
    text-decoration: none;
    font-size: .8125rem;
    transition: color .18s;
}
.nexab-footer--dark .nexab-footer__legal a { color: rgba(255,255,255,.4); }
.nexab-footer--dark .nexab-footer__legal a:hover { color: var(--nx-accent, #0d9488); }
.nexab-footer--light .nexab-footer__legal a { color: var(--nx-muted, #6b7280); }
.nexab-footer--light .nexab-footer__legal a:hover { color: var(--nx-accent, #0d9488); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .nexab-footer--columns .nexab-footer__body .nexab-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    .nexab-footer--columns .nexab-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .nexab-footer--columns .nexab-footer__body .nexab-footer__inner {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    .nexab-footer--columns .nexab-footer__bar .nexab-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
