/* Nhựa Style Barber Shop – Custom Footer 3.0.2 */
.nsbs-footer-pro,
.nsbs-footer-pro * {
    box-sizing: border-box;
}

.nsbs-footer-pro {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--nsbs-text, #d8d1c8);
    background:
        radial-gradient(circle at 8% 4%, rgba(215, 160, 93, 0.09), transparent 29%),
        linear-gradient(180deg, var(--nsbs-bg-soft, #0c0f0d), var(--nsbs-bg, #070908));
    border-top: 1px solid rgba(215, 160, 93, 0.24);
    font: inherit;
    isolation: isolate;
}

.nsbs-footer-pro a {
    color: inherit;
    text-decoration: none;
}

.nsbs-footer-pro svg {
    display: block;
    width: 1em;
    height: 1em;
    overflow: visible;
}

.nsbs-footer-pro__container {
    width: min(calc(100% - 48px), 1320px);
    margin-inline: auto;
    padding: clamp(58px, 6.2vw, 86px) 0 28px;
}

.nsbs-footer-pro__grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) minmax(210px, 0.95fr) minmax(220px, 1fr) minmax(170px, 0.72fr);
    gap: clamp(38px, 4.3vw, 68px);
    align-items: start;
}

.nsbs-footer-pro__brand {
    min-width: 0;
}

.nsbs-footer-pro__identity {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    margin-bottom: 24px;
    text-decoration: none;
}

.nsbs-footer-pro__logo,
.nsbs-footer-pro__logo-fallback {
    display: block;
    flex: 0 0 92px;
    width: 92px !important;
    height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
}

.nsbs-footer-pro__logo-fallback {
    display: grid;
    place-content: center;
    border: 1px solid rgba(215, 160, 93, 0.6);
    border-radius: 50%;
    color: var(--nsbs-accent, #d7a05d);
    background: rgba(215, 160, 93, 0.07);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

.nsbs-footer-pro__brand-name {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    line-height: 1;
    white-space: nowrap;
}

/* NHỰA STYLE intentionally larger than BARBER SHOP. */
.nsbs-footer-pro .nsbs-footer-pro__brand-name > span,
.nsbs-footer-pro .nsbs-footer-pro__brand-name > strong {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--nsbs-accent, #d7a05d) !important;
    font-family: inherit;
    font-weight: 800;
    text-transform: uppercase;
}

.nsbs-footer-pro .nsbs-footer-pro__brand-name > span {
    font-size: clamp(25px, 2vw, 32px);
    letter-spacing: 0.12em;
    line-height: 1.02;
}

.nsbs-footer-pro .nsbs-footer-pro__brand-name > strong {
    font-size: clamp(19px, 1.5vw, 24px);
    letter-spacing: 0.09em;
    line-height: 1.08;
}

.nsbs-footer-pro__description {
    max-width: 430px;
    margin: 0 0 28px;
    color: var(--nsbs-text, #d8d1c8);
    font-size: 16px;
    line-height: 1.72;
}

.nsbs-footer-pro__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nsbs-footer-pro__socials > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(215, 160, 93, 0.55);
    border-radius: 999px;
    color: var(--nsbs-accent, #d7a05d) !important;
    background: rgba(255, 255, 255, 0.018);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.055em;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nsbs-footer-pro__socials > a:hover,
.nsbs-footer-pro__socials > a:focus-visible {
    border-color: var(--nsbs-accent, #d7a05d);
    background: rgba(215, 160, 93, 0.12);
    transform: translateY(-1px);
}

.nsbs-footer-pro__social-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--nsbs-accent, #d7a05d);
}

.nsbs-footer-pro__social-icon svg {
    width: 18px;
    height: 18px;
}

.nsbs-footer-pro__panel {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.nsbs-footer-pro__panel > summary {
    display: block;
    margin: 0 0 22px;
    padding: 0 0 13px;
    border-bottom: 1px solid rgba(215, 160, 93, 0.5);
    color: var(--nsbs-accent, #d7a05d);
    cursor: default;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.115em;
    line-height: 1.3;
    list-style: none;
    text-transform: uppercase;
}

.nsbs-footer-pro__panel > summary::-webkit-details-marker {
    display: none;
}

.nsbs-footer-pro__panel-body,
.nsbs-footer-pro__panel-body p {
    color: var(--nsbs-text, #d8d1c8);
    font-size: 15px;
    line-height: 1.65;
}

.nsbs-footer-pro__panel-body p {
    margin: 0 0 15px;
}

.nsbs-footer-pro__list,
.nsbs-footer-pro__panel-body ul,
.nsbs-footer-pro__panel-body .menu {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nsbs-footer-pro__list li,
.nsbs-footer-pro__panel-body li {
    margin: 0;
    padding: 0;
}

.nsbs-footer-pro__list a,
.nsbs-footer-pro__panel-body li > a,
.nsbs-footer-pro__contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    color: var(--nsbs-text, #d8d1c8);
    overflow-wrap: anywhere;
}

.nsbs-footer-pro__list a > svg,
.nsbs-footer-pro__contact-line > svg,
.nsbs-footer-pro__more > svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--nsbs-accent, #d7a05d);
}

.nsbs-footer-pro__panel-body .menu > li > a::before {
    display: inline-block;
    flex: 0 0 auto;
    color: var(--nsbs-accent, #d7a05d);
    content: "›";
    font-size: 22px;
    font-weight: 700;
    line-height: 0.8;
}

.nsbs-footer-pro__list a:hover,
.nsbs-footer-pro__panel-body li > a:hover,
.nsbs-footer-pro__contact a:hover,
.nsbs-footer-pro__more:hover {
    color: var(--nsbs-accent, #d7a05d);
}

.nsbs-footer-pro__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--nsbs-accent, #d7a05d) !important;
    font-size: 14px;
    font-weight: 800;
}

.nsbs-footer-pro__contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin-top: 8px;
    padding: 10px 17px;
    border: 1px solid var(--nsbs-accent, #d7a05d);
    border-radius: 999px;
    color: #0b0b09 !important;
    background: var(--nsbs-accent, #d7a05d);
    font-size: 13px;
    font-weight: 800;
}

.nsbs-footer-pro__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: clamp(44px, 5vw, 72px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--nsbs-text, #d8d1c8);
    font-size: 13px;
    line-height: 1.6;
}

.nsbs-footer-pro__bottom nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 24px;
}

.nsbs-footer-pro__bottom a:hover {
    color: var(--nsbs-accent, #d7a05d);
}

@media (max-width: 1120px) {
    .nsbs-footer-pro__container {
        width: min(calc(100% - 40px), 980px);
    }

    .nsbs-footer-pro__grid {
        grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(190px, 1fr));
        gap: 42px 48px;
    }

    .nsbs-footer-pro__explore {
        grid-column: 1 / -1;
    }

    .nsbs-footer-pro__explore .menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px 24px;
    }
}

@media (max-width: 767px) {
    .nsbs-footer-pro__container {
        width: min(calc(100% - 28px), 680px);
        padding-top: 44px;
    }

    .nsbs-footer-pro__grid {
        display: block;
    }

    .nsbs-footer-pro__brand {
        margin-bottom: 30px;
    }

    .nsbs-footer-pro__identity {
        gap: 13px;
        margin-bottom: 18px;
    }

    .nsbs-footer-pro__logo,
    .nsbs-footer-pro__logo-fallback {
        flex-basis: 68px;
        width: 68px !important;
        height: 68px !important;
        max-width: 68px !important;
        max-height: 68px !important;
    }

    .nsbs-footer-pro .nsbs-footer-pro__brand-name > span {
        font-size: 21px;
        letter-spacing: 0.085em;
    }

    .nsbs-footer-pro .nsbs-footer-pro__brand-name > strong {
        font-size: 16px;
        letter-spacing: 0.065em;
    }

    .nsbs-footer-pro__description {
        max-width: none;
        font-size: 14px;
        line-height: 1.7;
    }

    .nsbs-footer-pro__socials {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nsbs-footer-pro__socials > a {
        justify-content: center;
    }

    .nsbs-footer-pro__panel {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nsbs-footer-pro__panel:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nsbs-footer-pro__panel > summary {
        position: relative;
        margin: 0;
        padding: 17px 34px 17px 0;
        border: 0;
        cursor: pointer;
    }

    .nsbs-footer-pro[data-accordion="1"] .nsbs-footer-pro__panel > summary::after {
        position: absolute;
        top: 50%;
        right: 3px;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--nsbs-accent, #d7a05d);
        border-bottom: 2px solid var(--nsbs-accent, #d7a05d);
        content: "";
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.2s ease;
    }

    .nsbs-footer-pro[data-accordion="1"] .nsbs-footer-pro__panel[open] > summary::after {
        transform: translateY(-30%) rotate(225deg);
    }

    .nsbs-footer-pro__panel-body {
        padding: 0 0 18px;
    }

    .nsbs-footer-pro__bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 34px;
    }

    .nsbs-footer-pro__bottom nav {
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .nsbs-footer-pro__identity {
        gap: 10px;
    }

    .nsbs-footer-pro__logo,
    .nsbs-footer-pro__logo-fallback {
        flex-basis: 58px;
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }

    .nsbs-footer-pro .nsbs-footer-pro__brand-name > span {
        font-size: 18px;
    }

    .nsbs-footer-pro .nsbs-footer-pro__brand-name > strong {
        font-size: 14px;
    }

    .nsbs-footer-pro__socials {
        grid-template-columns: repeat(5, 42px);
        justify-content: start;
    }

    .nsbs-footer-pro__socials > a {
        position: relative;
        width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 50%;
    }

    .nsbs-footer-pro__socials > a > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

/* Tablet and desktop: footer panels are always expanded and never collapsible. */
@media (min-width: 768px) {
    .nsbs-footer-pro .nsbs-footer-pro__panel > summary {
        cursor: default !important;
        pointer-events: none;
        user-select: none;
    }

    .nsbs-footer-pro .nsbs-footer-pro__panel > summary::after {
        display: none !important;
        content: none !important;
    }

    .nsbs-footer-pro .nsbs-footer-pro__panel:not([open]) > .nsbs-footer-pro__panel-body {
        display: block !important;
    }
}
