/* ==========================================================================
   Nha Bo - Trang chu "Home V2" (Figma NRWIyriET32NQvaUGuWE70, node 168:325)
   Template: templates/index/index_tpl.php. Moi selector nam duoi .nb-home.
   So do (px) lay dung tu get_design_context cua tung node, khung thiet ke 1440px:
   noi dung rong 1240px (x=100..1340), panel trang rong 1312px (x=64..1376).
   ========================================================================== */
:root { --nb-home-serif: 'Cormorant Garamond', 'Times New Roman', serif; }

/* Thanh phan V2 dung chung ngoai trang chu (tieu de, quote, FAQ - partials
   nhabo-quote.php / nhabo-faq.php, trang danh sach /thue-do) */
.nb-home__title,
.nb-quote2 p,
.nb-faq2 p { margin: 0; }
.nb-quote2 { position: relative; }
.nb-quote2 img { max-width: none; }

.nb-home {
    position: relative;
    padding-bottom: 61px;
    background: var(--nb-cream);
    color: var(--nb-text);
    font-family: var(--nb-font-heading);
    overflow-x: clip;
}
.nb-home > :not(.nb-home__decoLayer) { position: relative; z-index: 1; }
.nb-home p,
.nb-home h1,
.nb-home h2,
.nb-home h3 { margin: 0; }
.nb-home img { max-width: none; }

.nb-home__container {
    width: min(var(--nb-container), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

/* Hoa trang tri blur (node 168:327-336) - toa do theo khung 1440px, top tinh tu
   dau .nb-home (y=180 tren Figma). 4 bong ben phai bi lat ngang trong Figma. */
.nb-home__decoLayer {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 100%;
    margin-left: -720px;
    pointer-events: none;
    z-index: 0;
}
.nb-home__deco {
    position: absolute;
    width: 352.27px;
    height: 339.23px;
    filter: blur(13.05px);
}
.nb-home__deco--1 { left: -169px; top: -116.51px; }
.nb-home__deco--2 { left: -270.42px; top: 1481.31px; width: 582.53px; height: 528.03px; }
.nb-home__deco--3 { left: -169px; top: 2556.49px; }
.nb-home__deco--4 { left: -169px; top: 4019.49px; }
.nb-home__deco--5 { left: -169px; top: 5410.49px; }
.nb-home__deco--6 { left: 21.8px; top: 6584.36px; width: 486.29px; height: 283.64px; border-radius: 65px; }
.nb-home__deco--7,
.nb-home__deco--8,
.nb-home__deco--9,
.nb-home__deco--10 { left: 1175px; transform: scaleX(-1); }
.nb-home__deco--7 { top: 607.49px; }
.nb-home__deco--8 { top: 2127.49px; }
.nb-home__deco--9 { top: 4731.49px; }
.nb-home__deco--10 { left: 1179px; top: 5961.49px; }

/* --------------------------------------------------------------------------
   Thanh phan dung chung
   -------------------------------------------------------------------------- */
.nb-home__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.nb-home__head--center { justify-content: center; }
.nb-home__heading { display: flex; align-items: center; justify-content: center; }
.nb-home__headingIcon { flex: 0 0 auto; width: 45px; height: 38px; object-fit: contain; }
.nb-home__headingIcon--mirror { transform: scaleX(-1); }
.nb-home__title {
    font-family: var(--nb-home-serif);
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: var(--nb-text);
    text-transform: capitalize;
    white-space: nowrap;
}
.nb-home__title--center { text-align: center; }

/* Nut bo tron (node 168:343 / 168:348 / 168:381) */
.nb-home__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 28px;
    border: 0;
    border-radius: var(--nb-radius-pill);
    background: var(--nb-olive);
    color: var(--nb-cream);
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: filter .2s, background-color .2s, color .2s;
}
.nb-home__btn:hover { color: var(--nb-cream); filter: brightness(1.08); text-decoration: none; }
.nb-home__btn--light {
    background: var(--nb-white);
    border: 1px solid var(--nb-olive);
    color: var(--nb-olive-dark);
    font-weight: 500;
}
.nb-home__btn--light:hover { color: var(--nb-white); background: var(--nb-olive); filter: none; }
.nb-home__btn--outline {
    background: transparent;
    border: 1px solid var(--nb-olive);
    color: var(--nb-olive);
    font-weight: 500;
}
.nb-home__btn--outline:hover { color: var(--nb-olive-dark); background: rgba(125, 128, 61, .08); filter: none; }
/* SVG Figma ve mui ten huong trai, co tran vien -6.03%/-3.26% */
.nb-home__arrow {
    display: block;
    width: 24.5px;
    height: 13.94px;
    margin: -0.75px;
    transform: scaleX(-1);
}

/* Nut tron trai/phai + vach phan trang (node 168:350) */
.nb-home__navBtns,
.nb-home__pager { display: flex; align-items: center; gap: 12px; }
.nb-home__navBtn {
    display: flex;
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid var(--nb-gold);
    border-radius: 50px;
    background: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: opacity .2s;
}
.nb-home__navBtn img { display: block; width: 24px; height: 24px; transform: rotate(90deg); }
.nb-home__navBtn--next img { transform: rotate(-90deg); }
.nb-home__navBtn.swiper-button-disabled,
.nb-home__navBtn.is-faded { opacity: .5; }
.nb-home__navBtn.swiper-button-lock { display: flex; }
/* Du 3-4 the vua khung (khong cuon duoc): giu nut phai dam nhu Figma */
.nb-home__navBtn--next.swiper-button-lock { opacity: 1; }
.nb-home__bars { display: flex; align-items: center; gap: 6px; }
.nb-home__bar {
    display: block;
    width: 26px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--nb-bg-muted);
    opacity: 1;
    cursor: pointer;
}
.nb-home__bar.is-active { background: var(--nb-olive); }

.nb-home__panel {
    width: min(1312px, calc(100% - 32px));
    margin: 0 auto;
    border-radius: 20px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. Hero - node 168:337 / 168:338
   -------------------------------------------------------------------------- */
.nb-hero2 { height: 551px; overflow: hidden; }
.nb-hero2__swiper,
.nb-hero2__swiper .swiper-wrapper { height: 100%; }
.nb-hero2 .swiper-wrapper { flex-direction: row; }
.nb-hero2__slide { position: relative; height: 100%; overflow: hidden; }
.nb-hero2__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 108.89%;
    object-fit: cover;
    object-position: center top;
}
.nb-hero2__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(118.39deg, rgba(255, 252, 246, .8) 8.3907%, #FFFCF6 29.363%, rgba(255, 252, 246, 0) 54.187%);
}
.nb-hero2__content,
.nb-hero2__pager {
    position: absolute;
    left: max(16px, calc(50% - 620px));
    z-index: 2;
}
.nb-hero2__content { top: 46px; width: 416px; }
.nb-hero2__title {
    font-family: var(--nb-home-serif);
    font-weight: 500;
    font-size: 70px;
    line-height: 1;
    color: var(--nb-text);
}
.nb-hero2__desc {
    width: 384px;
    margin-top: 24px !important;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: var(--nb-olive-dark);
    text-transform: capitalize;
}
.nb-hero2__actions { display: flex; align-items: flex-start; gap: 10px; margin-top: 40px; }
.nb-hero2__pager { top: 456px; z-index: 3; }

/* --------------------------------------------------------------------------
   2. Dai USP - node 168:326 / 168:361 / 168:374
   -------------------------------------------------------------------------- */
.nb-uspBar {
    height: 158px;
    margin-top: 45px;
    border-radius: 100px;
    background: var(--nb-white);
}
.nb-uspBar__deco {
    position: absolute;
    left: 50%;
    top: -19px;
    width: 240px;
    height: 38px;
    transform: translateX(-50%);
}
.nb-uspBar__list {
    display: flex;
    align-items: center;
    justify-content: center;   /* o trung bi bo (nb_home_usp_unique) -> 3 o van can giua thanh */
    gap: 67px;
    height: 100%;
}
.nb-uspBar__item { display: flex; align-items: center; gap: 10px; }
/* Icon 2-4: anh phong 111.11%, cat tron 90x92 (node 168:366/168:369) */
.nb-uspBar__icon {
    width: 100px;
    height: 102.22px;
    margin: -5.11px -5px;
    object-fit: cover;
    clip-path: inset(5.11px 5px round 50px);
}
.nb-uspBar__item:first-child .nb-uspBar__icon { height: 100px; margin: 0; clip-path: none; }
.nb-uspBar__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: var(--nb-text);
    text-transform: capitalize;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. "Ban can trang phuc cho dip nao" - node 168:375
   -------------------------------------------------------------------------- */
.nb-occasion2 { margin-top: 41px; }
.nb-occasion2__grid {
    display: grid;
    grid-template-columns: 294fr 300fr 299fr 296fr;
    gap: 16px;
}
.nb-occasion2__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--nb-text);
    text-decoration: none;
}
.nb-occasion2__media {
    display: block;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 200px 200px 10px 10px;
}
.nb-occasion2__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.nb-occasion2__item:hover img { transform: scale(1.04); }
.nb-occasion2__media { isolation: isolate; }   /* 16/10/2026: anh phong to van bi cat theo goc bo tron (Chrome co luc ve tran goc khi dang chuyen dong) */
.nb-occasion2__label {
    width: 100%;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    text-transform: capitalize;
}
.nb-occasion2__item:hover .nb-occasion2__label { color: var(--nb-olive); }

/* --------------------------------------------------------------------------
   4. "Danh muc san pham" - node 200:3092
   -------------------------------------------------------------------------- */
.nb-cats2 { margin-top: 20px; }
.nb-cats2 .nb-home__title {
    font-family: 'SVN-Aptima', Optima, var(--nb-home-serif);
    font-weight: 400;
}
.nb-cats2__grid {
    display: grid;
    grid-template-columns: 293fr 299fr 298fr 296fr;
    gap: 16px;
    max-width: 1234px;
    margin: 0 auto;
}
.nb-cats2__item {
    position: relative;
    display: block;
    height: 315px;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
}
/* Figma dat anh trong lop 363x315 roi phong/doi xuong (node 200:3099): rong 363px,
   cao 162.63% (o 1: 144.04%), lech trai/tren khac nhau theo tung o. */
.nb-cats2__item img {
    position: absolute;
    left: -10.95%;
    top: -57.27%;
    display: block;
    width: 363px;
    height: 162.63%;
    object-fit: cover;
    transition: transform .4s;
}
.nb-cats2__item:nth-child(1) img { left: -10.95%; top: -43.28%; height: 144.04%; }
.nb-cats2__item:nth-child(2) img { left: -8.42%; top: -57.27%; }
.nb-cats2__item:nth-child(3) img { left: -11.01%; top: -56.42%; }
.nb-cats2__item:nth-child(4) img { left: 0; top: -48.87%; }
.nb-cats2__item:hover img { transform: scale(1.04); }
.nb-cats2__item { isolation: isolate; }   /* 16/10/2026: nhu tren */
.nb-cats2__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(63, 72, 36, .7) 8.472%, rgba(63, 72, 36, 0) 35.242%);
}
.nb-cats2__label {
    position: absolute;
    left: 0;
    right: 0;
    top: 275px;
    z-index: 1;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    color: var(--nb-cream);
    text-transform: capitalize;
}

/* --------------------------------------------------------------------------
   5. "Bo suu tap theo concept" - node 168:717 (khung 1152x514 tai x=145)
   -------------------------------------------------------------------------- */
.nb-concept2 { margin-top: 74px; }
.nb-concept2__stage {
    position: relative;
    width: 1152px;
    height: 514px;
    margin-left: 45px;
}
.nb-concept2__stage > .nb-home__heading { position: absolute; left: 1px; top: 0; z-index: 2; }
.nb-concept2__panel {
    position: absolute;
    left: 0;
    top: 81px;
    width: 644px;
    height: 320px;
    border-radius: 20px;
    background: rgba(185, 154, 82, .2);
}
.nb-concept2__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s, visibility .45s;
}
.nb-concept2__slide.is-active { opacity: 1; visibility: visible; }
.nb-concept2__text {
    position: absolute;
    left: 35px;
    top: 121px;
    width: 404px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    line-height: 1.4;
}
.nb-concept2__name { font-weight: 500; font-size: 36px; text-transform: capitalize; }
.nb-concept2__desc { font-weight: 400; font-size: 16px; }
.nb-concept2__oval {
    position: absolute;
    left: 469px;
    top: 8px;
    width: 352px;
    height: 506px;
}
.nb-concept2__oval img {
    position: absolute;
    left: 19px;
    top: 20px;
    width: 315px;
    height: 466px;
    border-radius: 500px;
    object-fit: cover;
}
.nb-concept2__oval::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 344px;
    height: 498px;
    border: 4px solid var(--nb-gold);
    border-radius: 500px;
    box-sizing: border-box;
}
.nb-concept2__next {
    position: absolute;
    left: 917px;
    top: 97px;
    width: 235px;
    height: 340px;
    opacity: .5;
}
.nb-concept2__peek {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity .45s;
}
.nb-concept2__peek.is-active { opacity: 1; }
.nb-concept2__peekMedia {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 200px 200px 10px 10px;
}
.nb-concept2__peekMedia img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-concept2__peekLabel {
    width: 100%;
    font-family: var(--nb-font-body);
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    text-transform: capitalize;
}
.nb-concept2__pager { position: absolute; left: 1px; top: 442px; z-index: 2; }

/* --------------------------------------------------------------------------
   6-8. Panel trang: Hang moi ve / 3 ma giam gia / Duoc thue nhieu nhat - node 168:412
   -------------------------------------------------------------------------- */
.nb-prodPanel {
    margin-top: 51px;
    padding: 49px 36px 48px 37px;
    background: var(--nb-white);
}
.nb-prodRow + .nb-vouchers,
.nb-vouchers + .nb-prodRow,
.nb-prodRow + .nb-prodRow { margin-top: 60px; }
.nb-prodRow .nb-home__head { margin-bottom: 30px; }
.nb-prodRow__slide { width: 291px; height: auto; }

/* The san pham (templates/partials/nhabo-card.php) theo component "Card" 168:265/168:283 */
.nb-home .nb-card { position: relative; gap: 18px; font-family: var(--nb-font-heading); }
.nb-home .nb-card__media {
    border: 0;
    box-shadow: none;
    background: var(--nb-icon-bg);
    transition: box-shadow .2s;
}
.nb-home .nb-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--nb-gold);
    border-radius: 20px;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.nb-home .nb-card:hover .nb-card__media { box-shadow: var(--nb-shadow); }
.nb-home .nb-card:hover .nb-card__media::after { opacity: 1; }
.nb-home .nb-card__brand {
    left: 9px;
    top: 12px;
    padding: 6px;
    border-radius: 8px;
    font-family: var(--nb-font-body);
    font-size: 12px;
    line-height: 1;
}
.nb-home .nb-card__wish {
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    border-color: var(--nb-olive-dark);
}
.nb-home .nb-card__wish svg { width: 24px; height: 24px; }
.nb-home .nb-card__name { font-size: 16px; line-height: 1; }
.nb-home .nb-card__meta {
    gap: 43px; /* 21px + vach 1px + 21px (node 168:273) */
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: var(--nb-text-muted);
    white-space: nowrap;
}
.nb-home .nb-card__meta span:first-child { gap: 0; }
.nb-home .nb-card__meta span:first-child img { width: 24px; height: 24px; }
.nb-home .nb-card__meta span + span::before {
    left: -22px;
    top: 50%;
    bottom: auto;
    height: 19px;
    margin-top: -9.5px;
    background: var(--nb-gold);
}
.nb-home .nb-card__price {
    padding: 8px 10px;
    background: var(--nb-white);
    color: var(--nb-gold);
    font-size: 16px;
    line-height: normal;
    transition: background-color .2s, color .2s;
}
.nb-home .nb-card:hover .nb-card__price { background: var(--nb-olive); color: var(--nb-cream); }   /* 16/10/2026: nen olive (truoc nen vang + chu kem, chu mo) */

/* 3 ma giam gia - node 168:430 / component 168:302 */
.nb-vouchers { display: flex; justify-content: center; gap: 46px; }
.nb-voucher {
    display: flex;
    align-items: flex-start;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)) drop-shadow(0 1px 1.5px rgba(0, 0, 0, .15));
    font-family: var(--nb-font-body);
    color: var(--nb-olive-dark);
}
.nb-voucher__body {
    position: relative;
    flex: 0 0 279px;
    height: 132px;
    border-radius: 20px;
    background: var(--nb-cream);
}
.nb-voucher__body::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    width: 265px;
    height: 119px;
    border: 1px dashed var(--nb-olive);
    border-radius: 20px;
    box-sizing: border-box;
}
.nb-voucher__text {
    position: absolute;
    left: 21px;
    top: 19px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nb-voucher__title { width: 152px; font-weight: 700; font-size: 14px; line-height: 1.4; }
.nb-voucher__meta { font-size: 12px; line-height: normal; white-space: nowrap; }
.nb-voucher__img { position: absolute; left: 165px; top: 39px; width: 103px; height: 88px; object-fit: cover; }
.nb-voucher__stub {
    position: relative;
    flex: 0 0 102px;
    height: 133px;
    background: url("../images/nhabo/home/v2-voucher-stub.svg") no-repeat 0 0 / 100% 100%;
}
.nb-voucher__stub::before {
    content: '';
    position: absolute;
    left: 6.75px;
    top: 6.75px;
    width: 88.5px;
    height: 119.5px;
    background: url("../images/nhabo/home/v2-voucher-stub-inner.svg") no-repeat 0 0 / 100% 100%;
}
.nb-voucher__percent {
    position: absolute;
    left: 14px;
    top: 29px;
    font-weight: 700;
    font-size: 30px;
    line-height: normal;
    color: var(--nb-white);
    white-space: nowrap;
}
.nb-voucher__save {
    position: absolute;
    left: 14px;
    top: 87px;
    padding: 6px 10px;
    border: 1px solid var(--nb-olive);
    border-radius: var(--nb-radius-pill);
    background: var(--nb-white);
    color: var(--nb-olive-dark);
    font-family: var(--nb-font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: normal;
    white-space: nowrap;
    cursor: pointer;
}
.nb-voucher__save.is-copied { background: var(--nb-olive-dark); color: var(--nb-cream); }

/* --------------------------------------------------------------------------
   9. Banner "Thu do truoc, quyet dinh sau" - node 168:456
   -------------------------------------------------------------------------- */
.nb-tryon2 {
    height: 390px;
    margin-top: 123px;
    overflow: hidden;
    background: url("../images/nhabo/home/section-bg-tryon.jpg") no-repeat center top / 100% 124.39%;
}
.nb-tryon2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(-68.88deg, rgba(40, 39, 30, .3) 3.4731%, rgba(40, 39, 30, 0) 25.995%),
        linear-gradient(109.22deg, rgba(40, 39, 30, .9) 26.53%, rgba(40, 38, 30, 0) 52.252%);
}
.nb-tryon2__inner {
    position: relative;
    width: min(var(--nb-container), calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
}
.nb-tryon2__text { position: absolute; left: -2px; top: 86px; width: 416px; color: var(--nb-white); }
.nb-tryon2__title {
    width: 445px;
    font-family: var(--nb-home-serif);
    font-weight: 500;
    font-size: 70px;
    line-height: 1;
    color: var(--nb-white);
}
.nb-tryon2__desc {
    width: 384px;
    margin-top: 24px !important;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    text-transform: capitalize;
}
.nb-tryon2__card {
    position: absolute;
    left: 745px;
    top: 51px;
    width: 495px;
    height: 287px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* Task 20: bo o email nen noi dung ngan hon the (287px) - can giua theo chieu doc */
    gap: 10px;
    margin: 0;
    padding: 25px 25px 26px 26px;
    border-radius: 10px;
    background: var(--nb-white);
    box-sizing: border-box;
}
.nb-tryon2__field {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--nb-text-muted);
    border-radius: 6px;
    box-sizing: border-box;
    cursor: text;
}
.nb-tryon2__field--email { padding-left: 16px; }
.nb-tryon2__field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--nb-font-heading);
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--nb-text);
}
.nb-tryon2__field input::placeholder { color: var(--nb-text-muted); opacity: 1; }
.nb-tryon2__field img { flex: 0 0 24px; width: 24px; height: 24px; }
.nb-tryon2__field:focus-within { border-color: var(--nb-olive); }
.nb-tryon2__fee {
    font-weight: 700;
    font-style: italic;
    font-size: 12px;
    line-height: 1.5;
    color: var(--nb-olive-dark);
    text-transform: capitalize;
    white-space: nowrap;
}
.nb-tryon2__cta { width: 100%; }

/* --------------------------------------------------------------------------
   10. "Quy trinh thue tai Nha Bo" - node 168:498
   -------------------------------------------------------------------------- */
.nb-process2 { margin-top: 61px; }
.nb-process2 > .nb-home__title { margin-bottom: 30px; }
.nb-process2__list {
    display: flex;
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nb-process2__item { position: relative; flex: 0 0 210px; height: 175px; }
/* The "Rectangle 8" (node 168:505) - SVG da gom vien net dut + bong do */
.nb-process2__item::before {
    content: '';
    position: absolute;
    left: 5.3px;
    top: 56.3px;
    width: 214.4px;
    height: 132.4px;
    background: url("../images/nhabo/home/v2-process-card.svg") no-repeat 0 0 / 100% 100%;
}
.nb-process2__pill {
    position: absolute;
    left: 37px;
    top: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 144px;
    height: 48px;
    border-radius: 26px;
    background: var(--nb-olive);
}
.nb-process2__num {
    font-weight: 500;
    font-size: 30px;
    line-height: 22px;
    color: var(--nb-white);
}
.nb-process2__pill img { width: 48.5px; height: 13.94px; margin: -0.75px; transform: scaleX(-1); }
.nb-process2__title {
    position: absolute;
    left: 0;
    top: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 87px;
    padding-left: 9px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--nb-text);
}
.nb-process2__sprig {
    position: absolute;
    left: 5.58px;
    top: 3.44px;
    width: 53.589px;
    height: 81.249px;
    transform: rotate(-8.29deg);
}

/* --------------------------------------------------------------------------
   11. "Hang thanh vien" - node 168:649 / component 168:659
   -------------------------------------------------------------------------- */
.nb-tiers2 {
    margin-top: 71px;
    padding: 47px 40px 48px;
    background: rgba(255, 255, 255, .9);
}
.nb-tiers2__head { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }
.nb-tiers2__sub {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--nb-olive-dark);
    text-align: center;
    text-transform: capitalize;
}
.nb-tiers2__grid { display: flex; justify-content: center; gap: 24px; }
.nb-tier2 { position: relative; flex: 0 0 290px; height: 223px; }
.nb-tier2::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 16px;
    background-image:
        linear-gradient(-49.2deg, rgba(86, 101, 46, .8) 9.3168%, rgba(86, 101, 46, 0) 61.614%),
        linear-gradient(90deg, #3F4824 0%, #3F4824 100%);
}
.nb-tier2::after {
    content: '';
    position: absolute;
    top: -6.69px;
    left: -10.7px;
    right: -10.7px;
    bottom: -14.7px;
    background: url("../images/nhabo/home/v2-tier-frame.svg") no-repeat 0 0 / 100% 100%;
    pointer-events: none;
}
.nb-tier2__icon { position: absolute; left: 204px; top: 10px; z-index: 1; width: 64px; height: 53px; object-fit: cover; }
.nb-tier2__body {
    position: absolute;
    left: 23px;
    top: 22px;
    z-index: 2;
    width: 245px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--nb-font-body);
    color: var(--nb-cream);
}
.nb-tier2__name {
    max-width: 175px;
    font-weight: 600;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    white-space: nowrap;
}
.nb-tier2__spend {
    margin-top: 3px !important;
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    color: var(--nb-gold);
}
.nb-tier2__perks {
    margin: 0;
    padding-left: 21px;
    list-style: disc;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}
.nb-tier2__cta {
    width: 100%;
    background: var(--nb-gold);
    font-family: var(--nb-font-body);
    font-weight: 500;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   12. "Blog / Cam hung" - node 168:569 / component 168:581
   -------------------------------------------------------------------------- */
.nb-blog2 { display: flow-root; margin-top: 61px; }
.nb-blog2__swiper { margin: -10px -10px -20px; padding: 10px 10px 20px 12px; }
.nb-blog2__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 399px;
    height: auto;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: var(--nb-white);
    box-sizing: border-box;
    filter: drop-shadow(0 4px 5.1px rgba(86, 77, 58, .08));
    transition: border-color .2s;
}
.nb-blog2__card:hover { border-color: var(--nb-gold); }
.nb-blog2__media { position: relative; display: block; width: 100%; height: 236px; overflow: hidden; border-radius: 20px; }
/* Figma (node 168:582): anh rong 140.37% khung, can trai */
.nb-blog2__media img { position: absolute; left: 0; top: 0; display: block; width: 140.37%; height: 100%; object-fit: cover; object-position: left center; }
.nb-blog2__meta { display: flex; flex-direction: column; gap: 6px; width: 100%; line-height: normal; }
.nb-blog2__date { font-weight: 500; font-size: 14px; color: var(--nb-text-muted); }
.nb-blog2__title { width: 348px; font-weight: 600; font-size: 16px; line-height: normal; }
.nb-blog2__title a { color: var(--nb-olive-dark); text-decoration: none; }
.nb-blog2__rule { display: block; width: 91px; height: 1px; border-radius: 20px; background: var(--nb-olive); }
.nb-blog2__desc {
    width: 357px;
    max-width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: var(--nb-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em; /* luon giu 3 dong nhu the Figma */
}

/* --------------------------------------------------------------------------
   13. "Ve nha Bo" - node 168:600 (anh sat mep trai man hinh)
   -------------------------------------------------------------------------- */
.nb-about2 { display: flex; align-items: flex-start; gap: 28px; margin-top: 62px; }
.nb-about2__media {
    flex: 0 0 710px;
    height: 416.03px;
    overflow: hidden;
    border-radius: 0 10px 10px 0;
}
.nb-about2__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.nb-about2__text { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; width: 602px; }
.nb-about2__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.nb-about2__desc { font-weight: 400; font-size: 16px; line-height: 1.4; }
.nb-about2__row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: var(--nb-olive-dark);
    text-transform: capitalize;
}
.nb-about2__row img { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   14. Quote - node 168:617 (khung 1311px tai x=27; toa do neo theo giua man hinh)
   -------------------------------------------------------------------------- */
.nb-quote2 { height: 206px; }
.nb-home .nb-quote2 { margin-top: 11px; }
.nb-quote2__bar {
    position: absolute;
    left: calc(50% - 613px);
    top: 35px;
    width: 1163px;
    height: 132px;
    border-radius: 100px;
    background: var(--nb-white);
}
.nb-quote2__leaf {
    position: absolute;
    left: calc(50% - 667px);
    top: -32px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 235.18px;
    height: 234.23px;
}
.nb-quote2__leaf img {
    width: 146.045px;
    height: 185.931px;
    border-radius: 34px;
    transform: rotate(-45.97deg);
}
.nb-quote2__logo {
    position: absolute;
    left: calc(50% + 416px);
    top: 0;
    z-index: 1;
    width: 202px;
    height: 202px;
    overflow: hidden;
    border-radius: 218.5px;
    box-shadow: var(--nb-shadow);
}
.nb-quote2__logo img {
    position: absolute;
    left: -6.09%;
    top: -5.11%;
    width: 111.72%;
    height: 110.26%;
}
.nb-quote2__mark { position: absolute; left: 292px; top: 22.97px; width: 42px; height: 35px; }
.nb-quote2__mark--close { left: 830px; top: 47.97px; transform: scaleX(-1); }
.nb-quote2__text {
    position: absolute;
    left: 582.5px;
    top: 23.97px;
    transform: translateX(-50%);
    font-family: var(--nb-home-serif);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   15. FAQ - node 168:625
   -------------------------------------------------------------------------- */
.nb-faq2 { display: flex; align-items: flex-start; gap: 26px; margin-top: 50px; }
.nb-faq2__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; flex: 0 0 496px; }
.nb-faq2__desc { font-weight: 400; font-size: 16px; line-height: 1.4; }
.nb-faq2__list { display: flex; flex-direction: column; gap: 16px; flex: 0 0 718px; }
.nb-faq2__item { margin: 0; }
.nb-faq2__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 66px;
    padding: 0 30px;
    border-radius: 50px;
    background: var(--nb-olive);
    color: var(--nb-white);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    list-style: none;
    cursor: pointer;
    box-sizing: border-box;
}
.nb-faq2__item summary::-webkit-details-marker { display: none; }
/* Figma ve nguoc (cau mo mang "+", cau dong mang "-") - doi theo thoi quen nguoi dung: dong "+" (bam de mo), mo "-" (14/10/2026) */
.nb-faq2__item summary i {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/nhabo/home/v2-faq-plus.svg") no-repeat center / 24px 24px;
}
.nb-faq2__item[open] summary i { background-image: url("../images/nhabo/home/v2-faq-minus.svg"); }
.nb-faq2__answer {
    margin-top: 16px;
    padding-left: 18px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--nb-text);
}

/* --------------------------------------------------------------------------
   Responsive - thiet ke chi co ban desktop 1440px; duoi 1200px xep lai cho gon
   -------------------------------------------------------------------------- */
@media (max-width: 1239px) {
    .nb-concept2__stage { margin-left: 0; }
    .nb-tryon2__card { left: auto; right: 0; }
}
@media (max-width: 1199px) {
    .nb-home__title { font-size: 32px; white-space: normal; }
    .nb-home__decoLayer { display: none; }

    .nb-hero2 { height: 480px; }
    .nb-hero2__title { font-size: 52px; }

    .nb-uspBar { height: auto; border-radius: 40px; padding: 32px 24px 24px; box-sizing: border-box; }
    .nb-uspBar__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0; }
    .nb-uspBar__text { white-space: normal; font-size: 16px; }

    .nb-occasion2__grid,
    .nb-cats2__grid { grid-template-columns: repeat(2, 1fr); }

    .nb-concept2__stage { width: 100%; height: auto; display: flex; flex-direction: column; gap: 20px; }
    .nb-concept2__stage > .nb-home__heading,
    .nb-concept2__pager { position: static; }
    .nb-concept2__panel,
    .nb-concept2__next { display: none; }
    .nb-concept2__slide { position: relative; display: none; padding: 24px; border-radius: 20px; background: rgba(185, 154, 82, .2); }
    .nb-concept2__slide.is-active { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
    .nb-concept2__text { position: static; flex: 1 1 280px; width: auto; gap: 16px; }
    .nb-concept2__name { font-size: 28px; }
    .nb-concept2__oval { position: relative; left: auto; top: auto; flex: 0 0 auto; width: 240px; height: 345px; margin: 0 auto; }
    .nb-concept2__oval img { left: 13px; top: 14px; width: 214px; height: 317px; }
    .nb-concept2__oval::after { left: 3px; top: 3px; width: 234px; height: 339px; border-width: 3px; }

    .nb-prodPanel { padding: 32px 20px; }
    .nb-vouchers { flex-wrap: wrap; gap: 20px; }

    .nb-tryon2 { height: auto; padding: 40px 0; background-size: cover; }
    .nb-tryon2__inner { display: flex; flex-direction: column; gap: 24px; }
    .nb-tryon2__text,
    .nb-tryon2__card { position: static; }
    .nb-tryon2__text { width: auto; }
    .nb-tryon2__title { width: auto; font-size: 44px; }
    .nb-tryon2__desc { width: auto; }
    .nb-tryon2__card { width: 100%; max-width: 495px; height: auto; }
    .nb-tryon2__fee { white-space: normal; text-align: center; }

    .nb-process2__list { flex-wrap: wrap; gap: 24px; }

    .nb-tiers2 { padding: 32px 20px; }
    .nb-tiers2__grid { flex-wrap: wrap; gap: 32px 24px; }

    .nb-blog2__card { width: 320px; }
    .nb-blog2__title,
    .nb-blog2__desc { width: auto; }

    .nb-about2 { flex-direction: column; gap: 24px; }
    .nb-about2__media { flex: none; width: 100%; height: 300px; border-radius: 0; }
    .nb-about2__text { width: auto; padding: 0 16px; }

    .nb-quote2 { height: auto; padding: 24px 16px; }
    .nb-quote2__leaf,
    .nb-quote2__logo { display: none; }
    .nb-quote2__bar { position: relative; left: auto; top: auto; width: auto; height: auto; padding: 24px 64px; border-radius: 40px; }
    .nb-quote2__text { position: static; transform: none; font-size: 24px; white-space: normal; }
    .nb-quote2__mark { left: 16px; top: 16px; width: 32px; height: 27px; }
    .nb-quote2__mark--close { left: auto; right: 16px; top: auto; bottom: 16px; }

    .nb-faq2 { flex-direction: column; }
    .nb-faq2__intro,
    .nb-faq2__list { flex: none; width: 100%; }
    .nb-faq2__item summary { height: auto; min-height: 66px; padding: 12px 24px; }
}
@media (max-width: 767px) {
    .nb-home__head { flex-wrap: wrap; }
    .nb-home__title { font-size: 28px; }
    .nb-hero2 { height: 460px; }
    .nb-hero2__content { width: calc(100% - 32px); }
    .nb-hero2__title { font-size: 40px; }
    .nb-hero2__desc { width: auto; font-size: 16px; }
    .nb-hero2__pager { top: auto; bottom: 24px; }
    .nb-uspBar__list { grid-template-columns: 1fr; }
    .nb-occasion2__media { height: 220px; }
    .nb-cats2__item { height: 220px; }
    .nb-cats2__item img,
    .nb-cats2__item:nth-child(n) img { left: 0; top: 0; width: 100%; height: 100%; }
    .nb-cats2__label { top: auto; bottom: 20px; }
    .nb-prodRow__slide { width: 240px; }
    .nb-prodPanel { padding: 24px 12px; }
    .nb-voucher { zoom: .82; }
    .nb-tiers2__grid .nb-tier2 { flex: 0 0 290px; }

    /* Ra soat mobile 14/10/2026 */
    /* Banner: phu sang nua tren (chu nam tren mat nguoi mau o man hep - gradient cheo cua desktop khong che toi) */
    .nb-hero2__slide::after { background-image: linear-gradient(180deg, rgba(255, 252, 246, .94) 0%, rgba(255, 252, 246, .86) 46%, rgba(255, 252, 246, 0) 72%); }
    /* O uu diem: 3 o mot hang, icon tren chu (4 hang doc ~500px) */
    .nb-uspBar { padding: 28px 12px 20px; }
    .nb-uspBar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 8px; }
    .nb-uspBar__item { flex: 0 0 calc((100% - 16px) / 3); flex-direction: column; gap: 8px; text-align: center; }
    .nb-uspBar__icon { width: 72px; height: 73.6px; margin: -3.68px -3.6px; clip-path: inset(3.68px 3.6px round 36px); }
    .nb-uspBar__item:first-child .nb-uspBar__icon { height: 72px; }
    .nb-uspBar__text { font-size: 13px; line-height: 1.35; }
    /* Khoang cach section: "Danh muc san pham" dinh sat phan tren; khoang trong thua truoc khoi Thu do */
    .nb-cats2 { margin-top: 48px; }
    .nb-tryon2 { margin-top: 56px; }
    /* Quy trinh 5 buoc + hang thanh vien: vuot ngang thay vi xep doc (~1.000px va ~1.150px) */
    .nb-process2__list { flex-wrap: nowrap; justify-content: flex-start; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .nb-process2__list::-webkit-scrollbar { display: none; }
    .nb-process2__item { flex: 0 0 222px; scroll-snap-align: start; }
    .nb-tiers2__grid { flex-wrap: nowrap; justify-content: flex-start; gap: 28px; margin: 0 -20px; padding: 14px 24px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .nb-tiers2__grid::-webkit-scrollbar { display: none; }
    .nb-tiers2__grid .nb-tier2 { scroll-snap-align: center; }
}
