/* NearBySpaSalon — Public Frontend Theme
   Lightweight, mobile-first, framework-free.
   Change the variables below to retheme the complete public frontend.
*/

:root {
    /* Brand */
    --brand-primary: #e91e63;
    --brand-primary-dark: #c2185b;
    --brand-primary-light: #fce4ec;
    --brand-accent: #ff6f91;

    /* Surfaces */
    --bg-body: #ffffff;
    --bg-soft: #fff7fa;
    --bg-soft-2: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #111827;

    /* Text */
    --text-primary: #172033;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Borders */
    --border-color: #e5e7eb;
    --border-light: #f1f5f9;

    /* Status */
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --rating: #f59e0b;

    /* Shape */
    --button-radius: 10px;
    --input-radius: 10px;
    --card-radius: 16px;
    --pill-radius: 999px;

    /* Shadow */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, .09);

    /* Layout */
    --container-width: 1180px;
    --content-gap: 24px;
    --section-space: 56px;
    --mobile-padding: 16px;

    /* Typography */
    --font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --heading-weight: 700;
    --heading-line-height: 1.2;
}

/* Optional theme overrides:
:root {
    --brand-primary: #7c3aed;
    --brand-primary-dark: #6d28d9;
    --brand-primary-light: #ede9fe;
}
*/

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-rendering: optimizeSpeed;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--brand-primary);
}

a:hover {
    color: var(--brand-primary-dark);
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: var(--heading-weight);
    line-height: var(--heading-line-height);
}

h1 {
    font-size: clamp(30px, 4vw, 44px);
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
}

h3 {
    font-size: 20px;
}

p {
    color: var(--text-secondary);
}

/* ---------- Layout ---------- */

.nbs-container {
    width: min(100% - 32px, var(--container-width));
    margin-inline: auto;
}

.nbs-section {
    padding-block: var(--section-space);
}

.nbs-section--soft {
    background: var(--bg-soft);
}

.nbs-section--light {
    background: var(--bg-soft-2);
}

.nbs-grid {
    display: grid;
    gap: var(--content-gap);
}

.nbs-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nbs-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nbs-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Header ---------- */

.nbs-header {
    position: relative;
    z-index: 20;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}

.nbs-header__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nbs-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nbs-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nbs-logo__image {
display: block;
    width: 250px;
    height: auto;
}

@media (max-width: 768px) {
    .nbs-logo__image {
        width: 210px;
        max-width: 100%;
    }
}

.nbs-logo:hover {
    color: var(--brand-primary-dark);
}

.nbs-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nbs-nav a:hover,
.nbs-nav a.is-active {
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .nbs-nav.is-open {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--card-radius);
        box-shadow: var(--card-shadow-hover);
    }

    .nbs-nav.is-open a {
        padding: 12px;
        border-radius: 8px;
    }

    .nbs-nav.is-open a:hover,
    .nbs-nav.is-open a.is-active {
        background: var(--brand-primary-light);
    }
}

.nbs-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nbs-menu-toggle {
    display: none;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: var(--button-radius);
    cursor: pointer;
}

/* ---------- Hero ---------- */

.nbs-hero {
    background:
        linear-gradient(180deg, var(--bg-soft), var(--bg-body));
    padding: 64px 0 52px;
}

.nbs-hero__content {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.nbs-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nbs-hero h1 {
    margin-bottom: 14px;
}

.nbs-hero p {
    max-width: 650px;
    margin: 0 auto 26px;
    font-size: 17px;
}

/* ---------- Search ---------- */

.nbs-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px auto;
    gap: 10px;
    max-width: 900px;
    margin-inline: auto;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
}

.nbs-input,
.nbs-select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--input-radius);
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
}

.nbs-input:focus,
.nbs-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.nbs-search__button {
    min-height: 48px;
}

/* ---------- Buttons ---------- */

.nbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--button-radius);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.nbs-btn:hover {
    color: var(--text-primary);
    border-color: #d1d5db;
}

.nbs-btn:active {
    transform: translateY(1px);
}

.nbs-btn--primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-white);
}

.nbs-btn--primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: var(--text-white);
}

.nbs-btn--soft {
    background: var(--brand-primary-light);
    border-color: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

.nbs-btn--block {
    width: 100%;
}

/* ---------- Trust strip ---------- */

.nbs-trust {
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-card);
}

.nbs-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.nbs-trust__item {
    padding: 18px 20px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.nbs-trust__item:last-child {
    border-right: 0;
}

.nbs-trust__title {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 800;
}

.nbs-trust__text {
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Page heading ---------- */

.nbs-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.nbs-page-heading h1,
.nbs-page-heading h2 {
    margin-bottom: 7px;
}

.nbs-page-heading p {
    margin-bottom: 0;
}

.nbs-count {
    color: var(--text-muted);
    font-size: 14px;
    white-space: nowrap;
}

/* ---------- Filters ---------- */

.nbs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.nbs-filter {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
}

.nbs-filter:hover,
.nbs-filter.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

/* ---------- Business cards ---------- */

.nbs-card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.nbs-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft-2);
}

.nbs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nbs-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 13px;
}

.nbs-card__body {
    padding: 17px;
}

.nbs-card__title {
    margin: 0 0 6px;
    font-size: 19px;
}

.nbs-card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.nbs-card__title a:hover {
    color: var(--brand-primary);
}

.nbs-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.nbs-rating__star {
    color: var(--rating);
    font-size: 16px;
}

.nbs-location {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.nbs-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.nbs-service {
    padding: 5px 9px;
    border-radius: var(--pill-radius);
    background: var(--bg-soft-2);
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.3;
}

.nbs-service--more {
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

.nbs-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* ---------- Empty state ---------- */

.nbs-empty {
    padding: 40px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: var(--bg-card);
    text-align: center;
}

.nbs-empty h2 {
    margin-bottom: 8px;
    font-size: 22px;
}

.nbs-empty p {
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- Area links ---------- */

.nbs-area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.nbs-area-link {
    padding: 9px 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
}

.nbs-area-link:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ---------- Business detail ---------- */

.nbs-business {
    padding-block: 40px 64px;
}

.nbs-business__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 30px;
    align-items: start;
}

.nbs-business__image {
    overflow: hidden;
    border-radius: var(--card-radius);
    background: var(--bg-soft-2);
    aspect-ratio: 16 / 10;
}

.nbs-business__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nbs-business__info {
    padding: 6px 0;
}

.nbs-business__info h1 {
    margin-bottom: 10px;
}

.nbs-business__brand {
    margin-bottom: 12px;
    color: var(--brand-primary);
    font-weight: 700;
}

.nbs-business__meta {
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.nbs-business__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.nbs-business__section {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}



/* ---------- Mobile bottom navigation ---------- */

.nbs-mobile-nav {
    display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .nbs-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nbs-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nbs-business__hero {
        grid-template-columns: 1fr;
    }


    .nbs-search {
        grid-template-columns: minmax(0, 1fr) 180px auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-space: 42px;
        --content-gap: 16px;
    }

    .nbs-container {
        width: min(100% - 32px, var(--container-width));
    }

    .nbs-header__inner {
        min-height: 60px;
        width: 100%;
        padding-inline: 14px;
    }

    .nbs-header__actions {
        margin-left: auto;
    }

    .nbs-nav {
        display: none;
    }

    .nbs-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nbs-hero {
        padding: 44px 0 38px;
    }

    .nbs-search {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .nbs-search__button {
        width: 100%;
    }

    .nbs-trust__grid {
        grid-template-columns: 1fr;
    }

    .nbs-trust__item {
        border-right: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nbs-trust__item:last-child {
        border-bottom: 0;
    }

    .nbs-page-heading {
        display: block;
    }

    .nbs-count {
        display: block;
        margin-top: 8px;
    }

    .nbs-grid--3,
    .nbs-grid--4 {
        grid-template-columns: 1fr;
    }


    .nbs-mobile-nav {
        position: fixed;
        z-index: 50;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
    }

    .nbs-mobile-nav a {
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
    }

    .nbs-mobile-nav a.is-active,
    .nbs-mobile-nav a:hover {
        color: var(--brand-primary);
    }

    .nbs-mobile-nav__icon {
        font-size: 18px;
        line-height: 1;
    }
}

@media (max-width: 520px) {
    :root {
        --mobile-padding: 14px;
    }

    .nbs-container {
        width: min(100% - 28px, var(--container-width));
    }

    .nbs-card__body {
        padding: 15px;
    }

    .nbs-card__actions .nbs-btn {
        flex: 1 1 auto;
    }


    .nbs-business {
        padding-top: 28px;
    }

    .nbs-business__actions .nbs-btn {
        flex: 1 1 calc(50% - 5px);
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nbs-btn {
        transition: none;
    }
}

/* ---------- Utility ---------- */

.nbs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nbs-text-center {
    text-align: center;
}

.nbs-muted {
    color: var(--text-muted);
}

/* ==========================================================
   NearBySpaSalon Public UI — v2 compatibility layer
   These classes match the current public PHP templates.
   ========================================================== */

/* Page headings / breadcrumbs */
.nbs-page-head {
    padding-top: 34px;
    padding-bottom: 22px;
    background: linear-gradient(180deg, #fff, #fff9fb);
}

.nbs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 13px;
}

.nbs-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.nbs-breadcrumb a:hover {
    color: var(--brand-primary);
}

.nbs-page-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.nbs-page-heading-row h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -.025em;
}

.nbs-page-heading-row p {
    margin: 0;
    color: var(--text-secondary);
}

.nbs-section-soft {
    background: var(--bg-soft-2);
}

/* Directory */
.nbs-directory-section {
    padding-top: 30px;
}

.nbs-filter-box {
    margin-bottom: 28px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.nbs-filter-title {
    margin-bottom: 11px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.nbs-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nbs-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background: #fff;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.nbs-chip span {
    color: var(--text-muted);
    font-size: 11px;
}

.nbs-chip:hover,
.nbs-chip.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

.nbs-chip.is-active span {
    color: var(--brand-primary-dark);
}

.nbs-directory-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 14px;
}

.nbs-directory-topbar strong {
    color: var(--text-primary);
}

.nbs-directory-topbar a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}

.nbs-card-grid {
    display: grid;
    gap: 22px;
}

.nbs-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nbs-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nbs-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nbs-business-card {
    overflow: hidden;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nbs-business-card:hover {
    transform: translateY(-2px);
    border-color: #f3b6ca;
    box-shadow: var(--card-shadow-hover);
}

.nbs-business-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft-2);
}

.nbs-business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.nbs-business-card:hover .nbs-business-image img {
    transform: scale(1.025);
}

.nbs-image-placeholder,
.nbs-detail-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff0f5, #f8fafc);
    color: var(--brand-primary);
    font-weight: 800;
    letter-spacing: .08em;
}

.nbs-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: var(--pill-radius);
    background: var(--brand-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.nbs-business-body {
    padding: 18px;
}

.nbs-business-type {
    margin-bottom: 5px;
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nbs-business-title {
    margin: 0 0 9px;
    font-size: 21px;
    line-height: 1.25;
}

.nbs-business-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.nbs-business-title a:hover {
    color: var(--brand-primary);
}

.nbs-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.nbs-rating-stars {
    color: var(--rating);
    font-size: 16px;
    line-height: 1;
}

.nbs-rating strong {
    color: var(--text-primary);
}

.nbs-rating-large {
    font-size: 14px;
    margin-bottom: 16px;
}

.nbs-rating-large .nbs-rating-stars {
    font-size: 19px;
}

.nbs-business-location,
.nbs-detail-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}

.nbs-business-location span,
.nbs-detail-location span {
    color: var(--brand-primary);
}

.nbs-business-address {
    margin-bottom: 11px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.nbs-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 13px 0 15px;
}

.nbs-service-list span {
    padding: 5px 9px;
    border-radius: var(--pill-radius);
    background: var(--bg-soft-2);
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.25;
}

.nbs-service-list span:nth-child(1) {
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}

.nbs-business-actions,
.nbs-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nbs-business-actions .nbs-btn {
    min-height: 38px;
    padding: 7px 12px;
}

/* PHP templates use these button names */
.nbs-btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.nbs-btn-primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

.nbs-btn-outline {
    background: #fff;
    color: var(--text-primary);
}

.nbs-btn-light {
    background: var(--bg-soft-2);
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.nbs-btn-light:hover {
    background: #eef2f7;
    color: var(--text-primary);
}

.nbs-empty-state {
    padding: 56px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: #fff;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.nbs-empty-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 24px;
    font-weight: 800;
}

.nbs-empty-state h1,
.nbs-empty-state h2 {
    margin-bottom: 8px;
}

.nbs-empty-state p {
    max-width: 560px;
    margin: 0 auto 20px;
}

/* Pagination */
.nbs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.nbs-page-numbers {
    display: flex;
    gap: 7px;
}

.nbs-page-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    background: #fff;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.nbs-page-link:hover,
.nbs-page-link.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
}

/* SEO/content block */
.nbs-content-box {
    max-width: 860px;
    margin-inline: auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: #fff;
    box-shadow: var(--card-shadow);
}

.nbs-content-box h2 {
    margin-bottom: 12px;
}

.nbs-content-box p:last-child {
    margin-bottom: 0;
}

/* Business detail */
.nbs-business-detail-section {
    padding-top: 30px;
}

.nbs-business-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 38px;
    align-items: stretch;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.nbs-business-detail-media {
    min-height: 390px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--bg-soft-2);
}

.nbs-business-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.nbs-business-detail-content {
    align-self: center;
    padding: 12px 6px;
}

.nbs-business-detail-content h1 {
    margin: 0 0 9px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.03em;
}

.nbs-business-brand {
    margin-bottom: 13px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.nbs-detail-address {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.nbs-detail-actions .nbs-btn {
    min-height: 44px;
}

.nbs-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 24px;
    margin-top: 26px;
}

.nbs-detail-panel {
    margin-bottom: 24px;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: #fff;
    box-shadow: var(--card-shadow);
}

.nbs-section-heading-small h2 {
    margin: 0 0 17px;
    font-size: 22px;
}

.nbs-service-list-large {
    margin-top: 0;
}

.nbs-service-list-large span {
    padding: 8px 12px;
    font-size: 13px;
}

.nbs-muted {
    color: var(--text-muted);
}

.nbs-detail-info-list {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.nbs-detail-info-list>div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border-light);
}

.nbs-detail-info-list>div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.nbs-detail-info-list strong {
    font-size: 13px;
}

.nbs-detail-info-list span {
    color: var(--text-secondary);
    font-size: 14px;
}

.nbs-detail-map-button {
    width: fit-content;
}

.nbs-detail-fact {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
}

.nbs-detail-fact span {
    color: var(--text-muted);
}

.nbs-detail-fact strong {
    color: var(--text-primary);
}

.nbs-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nbs-social-links a {
    display: inline-flex;
    padding: 8px 11px;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.nbs-social-links a:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.nbs-back-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 5px;
    padding: 5px 2px;
}

.nbs-back-links a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}



/* Current PHP markup uses nbs-mobile-bottom-nav */
.nbs-mobile-bottom-nav {
    display: none;
}

/* ---------- Compatibility responsive rules ---------- */
@media (max-width: 1020px) {
    .nbs-card-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nbs-business-detail {
        grid-template-columns: 1fr;
    }

    .nbs-business-detail-media,
    .nbs-business-detail-media img {
        min-height: 330px;
    }

    .nbs-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nbs-page-head {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .nbs-page-heading-row {
        display: block;
    }

    .nbs-page-heading-row .nbs-btn {
        margin-top: 16px;
    }

    .nbs-card-grid-2,
    .nbs-card-grid-3,
    .nbs-card-grid-4 {
        grid-template-columns: 1fr;
    }

    .nbs-directory-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .nbs-business-detail {
        padding: 14px;
        gap: 20px;
        border-radius: 16px;
    }

    .nbs-business-detail-media,
    .nbs-business-detail-media img {
        min-height: 270px;
    }

    .nbs-business-detail-content {
        padding: 4px;
    }

    .nbs-business-detail-content h1 {
        font-size: 34px;
    }

    .nbs-detail-panel {
        padding: 20px;
    }

    .nbs-back-links {
        flex-direction: column;
    }



    .nbs-mobile-bottom-nav {
        position: fixed;
        z-index: 60;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 62px;
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, .08);
    }

    .nbs-mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
    }

    .nbs-mobile-bottom-nav a span {
        font-size: 18px;
        line-height: 1.1;
    }

    .nbs-mobile-bottom-nav a.is-active {
        color: var(--brand-primary);
    }

}

@media (max-width: 520px) {
    .nbs-filter-box {
        padding: 15px;
    }

    .nbs-business-body {
        padding: 15px;
    }

    .nbs-business-actions .nbs-btn {
        flex: 1 1 calc(33.333% - 6px);
    }

    .nbs-detail-actions .nbs-btn {
        flex: 1 1 100%;
    }

    .nbs-detail-info-list>div {
        grid-template-columns: 78px minmax(0, 1fr);
    }
}


/* ==========================================================
   PRICE / PUBLIC TEMPLATE COMPATIBILITY
   ========================================================== */

/* Button names used by the current public PHP templates */
.nbs-btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.nbs-btn-primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

.nbs-btn-light {
    background: #fff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.nbs-btn-light:hover {
    background: var(--bg-soft);
    border-color: #d1d5db;
    color: var(--text-primary);
}

/* Price page */
.nbs-price-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.nbs-price-intro h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 30px);
}

.nbs-price-intro p {
    max-width: 760px;
    margin: 0;
}

.nbs-price-filter {
    display: grid;
    grid-template-columns: minmax(250px, 1.8fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.nbs-price-filter>div {
    min-width: 0;
}

.nbs-price-filter label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.nbs-price-filter input,
.nbs-price-filter select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--input-radius);
    background: #fff;
    color: var(--text-primary);
    outline: none;
}

.nbs-price-filter input:focus,
.nbs-price-filter select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.nbs-price-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nbs-price-filter-actions .nbs-btn {
    min-height: 46px;
    white-space: nowrap;
}

.nbs-price-notice {
    margin-top: 14px;
    padding: 13px 15px;
    border: 1px solid #f5d5df;
    border-radius: 12px;
    background: var(--brand-primary-light);
    color: #7a2444;
    font-size: 13px;
    line-height: 1.55;
}

.nbs-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.nbs-price-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.nbs-price-card:hover {
    transform: translateY(-2px);
    border-color: #f2b7c9;
    box-shadow: var(--card-shadow-hover);
}

.nbs-price-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.nbs-business-type {
    margin-bottom: 5px;
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.nbs-price-card h2 {
    margin: 0;
    font-size: 18px;
}

.nbs-price-value {
    flex: 0 0 auto;
    color: var(--brand-primary-dark);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
}

.nbs-price-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 0;
}

.nbs-price-meta div,
.nbs-price-source div {
    min-width: 0;
}

.nbs-price-meta span,
.nbs-price-source span {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.nbs-price-meta strong,
.nbs-price-source strong {
    display: block;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.nbs-price-source {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.nbs-price-source>div {
    min-width: 0;
}

.nbs-price-source .nbs-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 11px;
    font-size: 12px;
}

.nbs-directory-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 14px;
}

.nbs-directory-topbar strong {
    color: var(--text-primary);
}

.nbs-directory-topbar .nbs-muted {
    margin-left: 8px;
}

.nbs-empty-state {
    padding: 58px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.nbs-empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 22px;
    font-weight: 800;
}

.nbs-empty-state h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.nbs-empty-state p {
    max-width: 620px;
    margin: 0 auto;
}

/* Content box used below the price results */
.nbs-content-box {
    max-width: 900px;
    margin-inline: auto;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.nbs-content-box h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.nbs-content-box p:last-child {
    margin-bottom: 0;
}

/* Current mobile navigation class */
.nbs-mobile-bottom-nav {
    display: none;
}

@media (max-width: 1050px) {
    .nbs-price-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nbs-price-search {
        grid-column: 1 / -1;
    }

    .nbs-price-filter-actions {
        grid-column: 1 / -1;
    }

    .nbs-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nbs-price-filter {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .nbs-price-search,
    .nbs-price-filter-actions {
        grid-column: auto;
    }

    .nbs-price-filter-actions .nbs-btn {
        flex: 1 1 auto;
    }

    .nbs-price-grid {
        grid-template-columns: 1fr;
    }

    .nbs-price-card-top {
        gap: 10px;
    }

    .nbs-price-value {
        font-size: 21px;
    }

    .nbs-price-meta {
        grid-template-columns: 1fr;
    }

    .nbs-content-box {
        padding: 22px 20px;
    }


    .nbs-mobile-bottom-nav {
        position: fixed;
        z-index: 50;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
    }

    .nbs-mobile-bottom-nav a {
        display: grid;
        place-items: center;
        align-content: center;
        gap: 2px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
    }

    .nbs-mobile-bottom-nav a.is-active {
        color: var(--brand-primary);
    }

    .nbs-mobile-bottom-nav span {
        font-size: 18px;
        line-height: 1;
    }
}

@media (max-width: 520px) {
    .nbs-price-card {
        padding: 17px;
    }

    .nbs-price-card-top {
        flex-direction: column;
    }

    .nbs-price-value {
        text-align: left;
    }

    .nbs-price-source {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Enrich brand price list */
.nbs-brand-price-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.nbs-brand-price-intro h2 {
    margin: 8px 0;
    font-size: clamp(25px, 3vw, 34px);
}
.nbs-brand-price-intro p {
    max-width: 760px;
    margin: 0;
}
.nbs-brand-price-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: var(--pill-radius);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nbs-brand-price-stats {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 15px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: var(--bg-card);
    text-align: center;
}
.nbs-brand-price-stats strong {
    display: block;
    color: var(--brand-primary-dark);
    font-size: 26px;
}
.nbs-brand-price-stats span {
    color: var(--text-muted);
    font-size: 12px;
}
.nbs-price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.nbs-price-tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 17px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}
.nbs-price-tabs a:hover,
.nbs-price-tabs a.is-active {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
}
.nbs-price-category {
    margin-bottom: 44px;
}
.nbs-price-category-heading {
    margin-bottom: 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border-light);
}
.nbs-price-category-heading h2 {
    margin: 4px 0 0;
}
.nbs-price-service {
    margin-bottom: 22px;
}
.nbs-price-service h3 {
    margin-bottom: 10px;
    font-size: 19px;
}
.nbs-price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: var(--bg-card);
    box-shadow: var(--card-shadow);
}
.nbs-price-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}
.nbs-price-table th,
.nbs-price-table td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    vertical-align: middle;
}
.nbs-price-table th {
    background: var(--bg-soft-2);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.nbs-price-table tbody tr:last-child td {
    border-bottom: 0;
}
.nbs-price-table tbody tr:hover {
    background: var(--bg-soft);
}
.nbs-price-table-value {
    width: 170px;
    color: var(--brand-primary-dark);
    font-weight: 800;
    white-space: nowrap;
}
.nbs-member-price {
    color: var(--text-primary);
}
.nbs-enrich-source-box {
    margin-top: 36px;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: var(--bg-soft-2);
}
.nbs-enrich-source-box p {
    margin: 5px 0 0;
}
@media (max-width: 700px) {
    .nbs-brand-price-intro {
        display: block;
    }
    .nbs-brand-price-stats {
        margin-top: 16px;
        max-width: 220px;
    }
    .nbs-price-category {
        margin-bottom: 34px;
    }
    .nbs-price-table {
        min-width: 560px;
    }
}

/* Enrich category accordion */
.nbs-price-category {
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    background: var(--bg-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}
.nbs-price-category[open] {
    box-shadow: var(--card-shadow-hover);
}
.nbs-price-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.nbs-price-category-heading::-webkit-details-marker,
.nbs-price-category-heading::marker {
    display: none;
}
.nbs-price-category-heading:hover {
    background: var(--bg-soft);
}
.nbs-price-category-heading h2 {
    margin: 3px 0 2px;
    font-size: clamp(21px, 2.5vw, 27px);
}
.nbs-category-count {
    color: var(--text-muted);
    font-size: 12px;
}
.nbs-category-toggle {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--brand-primary);
    font-size: 22px;
    line-height: 1;
}
.nbs-price-category[open] .nbs-category-toggle {
    transform: rotate(45deg);
}
.nbs-price-category-content {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-light);
}
.nbs-price-category-content .nbs-price-service {
    margin-top: 20px;
}
.nbs-price-category-content .nbs-price-service:first-child {
    margin-top: 18px;
}
@media (max-width: 600px) {
    .nbs-price-category-heading {
        padding: 15px 14px;
    }
    .nbs-price-category-content {
        padding: 0 12px 14px;
    }
    .nbs-price-table {
        min-width: 560px;
    }
}
/* ==========================================================
   NearBySpaSalon — Premium Footer
   ========================================================== */

.nbs-footer {
    position: relative;
    margin-top: 50px;
    background: var(--bg-dark);
    color: #cbd5e1;
    overflow: hidden;
}

/* Premium pink accent line */

.nbs-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--brand-primary),
            var(--brand-accent),
            var(--brand-primary),
            transparent);
}


/* ---------- Main footer ---------- */

.nbs-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;

    padding-top: 58px;
    padding-bottom: 52px;
}


/* ---------- Footer logo ---------- */

.nbs-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nbs-footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}


/* ---------- Footer description ---------- */

.nbs-footer-description {
    max-width: 330px;
    margin: 18px 0 0;

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.75;
}


/* ---------- Footer columns ---------- */

.nbs-footer-column h3,
.nbs-footer-social-column h3 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}


.nbs-footer-column a {
    display: block;

    margin-bottom: 12px;

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.nbs-footer-column a:hover {
    color: var(--brand-accent);
    transform: translateX(3px);
}


/* ---------- Social icons ---------- */

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


.nbs-social-icon {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);

    color: #ffffff;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.nbs-social-icon svg {
    width: 19px;
    height: 19px;

    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.4;
}


.nbs-social-icon:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;

    transform: translateY(-3px);
}


.nbs-footer-follow-text {
    max-width: 220px;

    margin: 16px 0 0;

    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


/* ---------- Bottom bar ---------- */

.nbs-footer-bottom {
    margin-top: 0;

    border-top: 1px solid rgba(255, 255, 255, .08);

    color: #64748b;
    font-size: 12px;
}


.nbs-footer-bottom-inner {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* ---------- Privacy / Terms ---------- */

.nbs-footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
}


.nbs-footer-legal a {
    color: #7f8ba0;

    text-decoration: none;

    transition: color .2s ease;
}


.nbs-footer-legal a:hover {
    color: var(--brand-accent);
}


/* ==========================================================
   Footer Responsive
   ========================================================== */

@media (max-width: 960px) {

    .nbs-footer-main {
        grid-template-columns:
            1.4fr 1fr 1fr;

        gap: 38px;
    }

    .nbs-footer-social-column {
        grid-column: 1 / -1;
    }
}


@media (max-width: 768px) {

    .nbs-footer {
        padding-bottom: 88px;
    }

    .nbs-footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 38px 28px;

        padding-top: 48px;
        padding-bottom: 42px;
    }

    .nbs-footer-brand {
        grid-column: 1 / -1;
    }

    .nbs-footer-social-column {
        grid-column: 1 / -1;
    }

    .nbs-footer-logo img {
        width: 170px;
        max-height: 105px;
    }

    .nbs-footer-bottom-inner {
        min-height: auto;

        padding-top: 20px;
        padding-bottom: 20px;

        flex-direction: column;
        align-items: flex-start;
    }

    .nbs-footer-legal {
        gap: 20px;
        flex-wrap: wrap;
    }
}


@media (max-width: 520px) {

    .nbs-footer-main {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .nbs-footer-brand,
    .nbs-footer-social-column {
        grid-column: auto;
    }

    .nbs-footer-logo img {
        width: 155px;
    }

    .nbs-social-icon {
        width: 40px;
        height: 40px;
    }

    .nbs-footer-column a {
        font-size: 13px;
    }
}