/* ==========================================================================
   Nha Bo - Design tokens
   Nguon: Figma file NRWIyriET32NQvaUGuWE70, node 168:325 (get_variable_defs)
   FR-A1.3: doi nhan dien thuong hieu chi bang sua cac bien trong khoi :root nay.
   ========================================================================== */
:root {
    /* Mau thuong hieu - lay tu Figma (button/Heading_footer/Nen/Line_icon/Text...) */
    --nb-olive:        #7D803D;   /* Figma "button" - mau nhan dien chinh, CTA, active nav */
    --nb-olive-dark:   #3F4824;   /* Figma "Heading_footer" - nen footer, badge, topbar */
    --nb-cream:        #F5F2E9;   /* Figma "Nen" - nen sang, chu tren nen toi */
    --nb-gold:         #B99A52;   /* Figma "Line_icon" - vien, icon, gia nhan */
    --nb-text:         #202018;   /* Figma "Text Chinh" */
    --nb-text-muted:   #77746C;   /* Figma "Text phu" */
    --nb-border:       #D9D9D9;   /* Figma "Grey" - vien trung tinh */
    --nb-white:        #FFFFFF;

    /* Chu - lay tu Figma (Montserrat cho heading/nav/gia, Be Vietnam Pro cho body) */
    --nb-font-heading: 'Montserrat', 'Be Vietnam Pro', system-ui, sans-serif;
    --nb-font-body:    'Be Vietnam Pro', system-ui, sans-serif;

    /* Kich thuoc */
    --nb-radius:       8px;    /* Figma - badge, payment card */
    --nb-radius-lg:    20px;   /* Figma - card san pham, khung anh */
    --nb-gap:          20px;   /* Figma - khoang cach luoi card/footer */
    --nb-container:    1240px; /* Figma - be rong noi dung 1440px desktop */
}

/* Breakpoint dung trong toan bo file:
   desktop >= 1200px (ban Figma) | tablet 768-1199px | mobile < 768px */

:root {
    /* Token mo rong - khong nam trong danh sach bat buoc nhung dung xuyen suot file */
    --nb-black:        #101010;   /* Figma "Black" */
    --nb-bg-muted:     #D8D3C4;   /* Figma "nen phu" */
    --nb-icon-bg:      #F4F4F4;   /* Figma "Wild Sand" - nen vong tron icon mang xa hoi */
    --nb-radius-pill:  100px;     /* Figma - nut gia thue dang vien thuoc */
    --nb-shadow:       0 4px 10.2px rgba(86, 77, 58, 0.08); /* Figma "shadow Bow" */
}

/* ==========================================================================
   Utility
   ========================================================================== */
/* 16/10/2026: link CO class (nut, the, tab, menu dang <a>) khong gach chan khi re chuot - gach chan chung cua bootstrap (a:hover) lam nut / the
   co gach chu, menu co 2 gach (gach trang tri ::after + gach chu). Thanh phan nao muon gach chan tu khai bao (do uu tien cao hon (0,1,1)). */
a:where([class]):hover { text-decoration: none; }
/* 16/10/2026: bootstrap ve vien xanh (button:focus) ca khi BAM CHUOT (vd tab "Danh gia" trang SP) - bam chuot: khong vien; dung ban phim
   (:focus-visible): vien vang dong thuong hieu. O nhap giu kieu focus rieng cua tung form. */
:focus:not(:focus-visible) { outline: none; }
:root :is(a, button, summary, [role="button"], [role="tab"], [tabindex]):focus-visible { outline: 2px solid var(--nb-gold); outline-offset: 2px; }

.nb-container {
    max-width: calc(var(--nb-container) + 32px); /* 1240px noi dung Figma + 2x16px padding */
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.nb-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Topbar (templates/layout/header.php) - thanh lien he tren cung
   An o mobile/tablet, hien tu 1200px de nhuong cho thanh mmenu gon
   ========================================================================== */
.header.nb-topbar {
    display: none;
    background-color: var(--nb-olive-dark);
    border-bottom: 0;
    color: var(--nb-cream);
    padding: 0;
}
/* Home V2 (node 200:3147) bo thanh lien he tren cung - an o moi kich thuoc. */
.nb-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-family: var(--nb-font-body);
    font-size: 13px;
}
.nb-topbar__info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.nb-topbar__info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .92;
}
.nb-topbar__social {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nb-topbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
.nb-topbar__social img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* ==========================================================================
   Header chinh (templates/layout/menu.php) - node 168:742 / 168:758 / 168:774
   Mobile-first: an hoan toan duoi 1200px, nhuong cho #menu_mobi (mmenu co san)
   ========================================================================== */
.menu.nb-header {
    display: none;
    background: var(--nb-cream);
    padding: 0;
}
@media (min-width: 1200px) {
    .menu.nb-header { display: block; }
}

/* Thanh mmenu (#menu_mobi, templates/layout/mmenu.php) dung chung mac dinh
   cua he thong dang bat/tat o 1024px - doi lai theo dung breakpoint 1200px
   cua Task 17 (mobile-first, xem khoi token o dau file) de khop voi .nb-header. */
#menu_mobi { display: block; }
@media (min-width: 1200px) {
    #menu_mobi { display: none; }
}

.menu.nb-header { position: relative; z-index: 5; }
/* Trang chu: header trong suot de hoa trang tri blur (node 168:327) lo ra phia sau
 * nhu Figma - nen cream lay tu body (xem .nb-home trong nhabo-home.css). */
body:has(.nb-home) { background: var(--nb-cream); }
body:has(.nb-home) .menu.nb-header { background: transparent; }

/* Hang tren cung - node 200:3146: o tra cuu (trai) | logo (giua) | 3 icon (phai) */
.nb-header__row {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 139px;          /* menu ngang bat dau o y=139 (node 168:742) */
    padding-top: 12px;
    box-sizing: border-box;
}

.nb-header__logo {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    display: block;
    width: 165px;
    height: 103px;
    border-radius: 218.5px;
    overflow: hidden;
    box-shadow: var(--nb-shadow);
}
.nb-header__logo img {
    position: absolute;
    left: 0;
    top: -28.05%;
    display: block;
    width: 100%;
    height: 160.98%;
    max-width: none;
    object-fit: cover;
}

/* O tra cuu - node 200:3131 */
.nb-header__search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 248px;
    height: 38px;
    margin: 34px 0 0 1px;
    padding: 0 10px;
    border: 1px solid var(--nb-bg-muted);
    border-radius: 50px;
    box-sizing: border-box;
}
.nb-header__searchBtn {
    flex: 0 0 24px;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.nb-header__searchBtn img { width: 24px; height: 24px; display: block; }
.nb-header__search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--nb-font-body);
    font-size: 12px;
    color: var(--nb-text);
}
.nb-header__search input::placeholder { color: var(--nb-text-muted); opacity: 1; }

/* 3 icon - node 200:3118 */
.nb-header__icons {
    display: flex;
    align-items: flex-end;
    gap: 17px;
    margin-top: 27px;
}
.nb-header__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 62px;
    text-decoration: none;
    color: var(--nb-text);
    font-family: var(--nb-font-body);
    font-size: 12px;
    line-height: normal;
    white-space: nowrap;
}
.nb-header__icon:hover { color: var(--nb-olive); }
.nb-header__icon img { width: 24px; height: 24px; display: block; }
.nb-header__icon-badgeWrap {
    position: relative;
    display: block;
    width: 30.49px;
    height: 28px;
}
.nb-header__icon .nb-header__bagIcon {
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
}
/* Cham dem gio hang - Ellipse 4 (node 200:3125): nen olive dam, so vang 9px */
.nb-header__cart-badge {
    position: absolute;
    left: 11.51px;
    top: 0;
    width: 18.97px;
    height: 19px;
    border-radius: 50%;
    background: var(--nb-olive-dark);
    color: var(--nb-gold);
    font-family: var(--nb-font-body);
    font-size: 9px;
    line-height: 19px;
    text-align: center;
}

/* Menu ngang - node 168:742 */
.nb-nav { padding-bottom: 17px; }
.nb-nav__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    margin: 0;
    padding: 0;
}
.nb-nav__list > .nb-nav__item:last-child { margin-right: -5px; }
.nb-nav__item {
    position: relative;
}
.nb-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    text-decoration: none;
    color: var(--nb-olive-dark);
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    text-transform: capitalize;
    white-space: nowrap;
}
.nb-nav__link img { width: 24px; height: 24px; }
/* Gach chan muc dang chon - node 168:744 (1px, bo tron, cach dau chu 27px) */
.nb-nav__link.is-active::after,
.nb-nav__item:hover > .nb-nav__link::after {
    content: '';
    position: absolute;
    left: 1px;
    top: 27px;
    width: calc(100% - 1px);
    height: 1px;
    border-radius: 20px;
    background: var(--nb-olive);
}
.nb-nav__link:has(img)::after { width: calc(100% - 28px); }

/* Header khi cuon trang (>= 1200px): public/js/apps.js (SW_BI_FW.FixMenu) gan inline
   position fixed/relative cho .menu moi lan cuon - ghi de bang !important va tu dieu
   khien qua class .is-compact (public/js/nhabo.js). Dang thu gon: 1 hang cao 72px,
   nen cream + bong, logo nho ben trai, menu o giua, 3 icon ben phai. */
@media (min-width: 1200px) {
    .nb-headerWrap { min-height: 180px; }
    .menu.nb-header { position: relative !important; top: 0 !important; }
    .menu.nb-header.fixmenu { box-shadow: none; }
    .menu.nb-header.is-compact {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: var(--nb-cream) !important;
        box-shadow: 0 4px 16px rgba(86, 77, 58, .12) !important;
        animation: nbHeaderIn .25s ease-out;
    }
    .nb-header.is-compact .nb-header__row { height: 0; padding: 0; }
    .nb-header.is-compact .nb-header__search { display: none; }
    .nb-header.is-compact .nb-header__logo {
        left: 16px;
        top: 8px;
        z-index: 1;
        width: 90px;
        height: 56px;
        transform: none;
    }
    .nb-header.is-compact .nb-header__icons {
        position: absolute;
        right: 16px;
        top: 12px;
        z-index: 1;
        margin: 0;
    }
    .nb-header.is-compact .nb-nav { padding: 0; }
    .nb-header.is-compact .nb-nav__list { height: 72px; padding: 0 270px 0 136px; }
    .nb-header.is-compact .nb-nav__link { font-size: 16px; }
    .nb-header.is-compact .nb-nav__link img { width: 20px; height: 20px; }
    .nb-header.is-compact .nb-nav__link.is-active::after,
    .nb-header.is-compact .nb-nav__item:hover > .nb-nav__link::after { top: 25px; }
    .nb-header.is-compact .nb-nav__link:has(img)::after { width: calc(100% - 24px); }
}
@keyframes nbHeaderIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
/* 15/10/2026 (nhom C3): menu co them "Lien he" (10 muc) - man 1200-1439px header thuong chu nho lai 1px.
   16/10/2026: header THU GON xep 1 hang flex (logo | menu | icon) thay cho dem le trai/phai co dinh - truoc: co gio mua (4 icon) hoac ten khach
   dai thi "Lien he" de len icon Wishlist. .nb-header__row "display: contents" de logo + icon thanh phan tu cung hang voi menu.
   Duoi 1440px header thu gon chi hien icon (chu duoi icon an kieu doc-man-hinh-van-doc, khong display:none - link van co ten). */
@media (min-width: 1200px) {
    .menu.nb-header.is-compact { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 16px; box-sizing: border-box; }
    .nb-header.is-compact .nb-header__row { display: contents; }
    .nb-header.is-compact .nb-header__logo { position: relative; left: auto; top: auto; order: 1; flex: 0 0 90px; margin: 0; }   /* relative: anh logo (absolute) can theo khung logo */
    .nb-header.is-compact .nb-nav { order: 2; flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; padding: 0; }
    .nb-header.is-compact .nb-nav__list { padding: 0; }
    .nb-header.is-compact .nb-header__icons { position: static; order: 3; flex: 0 0 auto; margin: 0; align-items: center; }
    .nb-header.is-compact .nb-nav__link { font-size: 15px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
    .nb-nav__link { font-size: 17px; }
    .nb-header.is-compact .nb-header__icons { gap: 6px; }
    .nb-header.is-compact .nb-header__icon { width: 40px; }
    .nb-header.is-compact .nb-header__iconLabel { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .nb-header.is-compact .nb-header__logout { display: none; }   /* "Dang xuat" van o header day du + trang tai khoan */
}
@media (min-width: 1200px) and (max-width: 1279px) {
    .nb-header.is-compact .nb-nav__link { font-size: 14px; }
}

.nb-nav__dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin: 8px 0 0;
    min-width: 220px;
    background: var(--nb-white);
    border-radius: var(--nb-radius);
    box-shadow: var(--nb-shadow);
    padding: 8px 0;
    display: none;
    z-index: 50;
}
.nb-nav__item:hover > .nb-nav__dropdown,
.nb-nav__item:focus-within > .nb-nav__dropdown {
    display: block;
}
.nb-nav__dropdownItem {
    position: relative;
}
.nb-nav__dropdown a {
    display: block;
    padding: 8px 18px;
    color: var(--nb-text);
    text-decoration: none;
    font-family: var(--nb-font-body);
    font-size: 14px;
    white-space: nowrap;
}
.nb-nav__dropdown a:hover {
    background: var(--nb-cream);
    color: var(--nb-olive-dark);
    text-decoration: none;   /* 16/10/2026: dong da to nen, khong gach chan them (link khong class nen bootstrap van gach) */
}
.nb-nav__dropdown--sub {
    left: 100%;
    top: 0;
    margin: 0;
}
.nb-nav__dropdownItem:hover > .nb-nav__dropdown--sub,
.nb-nav__dropdownItem:focus-within > .nb-nav__dropdown--sub {
    display: block;
}

/* ==========================================================================
   Footer (templates/layout/footer.php) - node 168:663
   ========================================================================== */
.footer.nb-footer {
    position: relative;
    z-index: 2; /* nam tren hoa trang tri blur tran xuong tu trang (dung thu tu lop Figma) */
    background-color: var(--nb-olive-dark);
    background-image: linear-gradient(-24.72deg, rgba(86, 101, 46, .8) 18.337%, rgba(86, 101, 46, 0) 92.323%);
    color: var(--nb-cream);
    padding: 48px 0 0;
    font-family: var(--nb-font-heading);
}
.nb-footer a { color: inherit; }

.nb-footer__top {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    min-height: 205px;
    padding-bottom: 48px;
}

/* Cot logo - node 168:664 (x=102, rong 241) */
.nb-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 241px;
    margin-left: 2px;
}
.nb-footer__logo {
    display: block;
    width: 161px;
    height: 100px;
    border-radius: 218.5px;
    overflow: hidden;
    box-shadow: var(--nb-shadow);
}
.nb-footer__logo { position: relative; }
.nb-footer__logo img {
    position: absolute;
    left: 0;
    top: -28.05%;
    width: 100%;
    height: 160.98%;
    max-width: none;
    object-fit: cover;
    display: block;
}
.nb-footer__desc {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: var(--nb-cream);
}
.nb-footer__social {
    display: flex;
    align-items: center;
    gap: 9px;
}
.nb-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 35px;
    border-radius: 20px;
    background: var(--nb-icon-bg);
}
.nb-footer__social img { width: 20px; height: 20px; display: block; }

/* 3 cot - node 168:688 (x=455, top=87, cach nhau 100px) */
/* justify space-between: voi chu Figma (cot rong 281/197/207) khoang cach tu ra 100px,
   ten chinh sach that dai hon thi khoang cach tu co lai thay vi rot dong. */
.nb-footer__cols {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 32px 40px;
    margin: 39px 0 0 80px;
}
.nb-footer__col h2 {
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--nb-gold);
    text-transform: capitalize;
    margin: 0 0 25px;
    line-height: 1;
}
.nb-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nb-footer__contact li {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    line-height: 1.5;
    text-transform: capitalize;
    white-space: nowrap;
}
.nb-footer__contact img { width: 24px; height: 24px; flex: 0 0 auto; }
/* 15/10/2026 (nhom C3): link Lien he + ban do nho (iframe Google, tai khi cuon toi) */
.nb-footer__contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nb-footer__contact a:hover { color: var(--nb-gold); }
.nb-footer__map { width: 100%; max-width: 300px; height: 150px; margin-top: 18px; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(245, 242, 233, .25); background: rgba(245, 242, 233, .08); line-height: 0; }
.nb-footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }

.nb-footer__list {
    margin: 0;
    padding-left: 24px;
    list-style: disc;
}
.nb-footer__list li { font-size: 16px; line-height: 1.7; white-space: nowrap; }
.nb-footer__list a { text-decoration: none; }
.nb-footer__list a:hover { text-decoration: underline; }

.nb-footer__divider {
    border: 0;
    border-top: 1px solid rgba(245, 242, 233, .25);
    margin: 0 0 0 1px;
    opacity: 1;
}

.nb-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 15px 7px;
    font-size: 14px;
    line-height: 1.4;
}
.nb-footer__bottom .copyright { margin: 0; }
.nb-footer__payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    text-transform: capitalize;
}
.nb-footer__paymentList {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nb-footer__paymentItem {
    position: relative;
    display: block;
    width: 46px;
    height: 32px;
    background: var(--nb-white);
    border: 1px solid var(--nb-border);
    border-radius: 6px;
    box-sizing: border-box;
}
.nb-footer__paymentItem img { position: absolute; display: block; }
.nb-footer__paymentItem--text { display: inline-flex; align-items: center; width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--nb-olive-dark); text-transform: none; white-space: nowrap; }
/* Vi tri logo ben trong the 46x32 - lay dung inset cua component Payment Method */
.nb-footer__paymentItem--visa { background: none; border: 0; }
.nb-footer__paymentItem--visa img { inset: 0; width: 100%; height: 100%; }
.nb-footer__paymentItem--jcb img { left: 22.97%; top: 20.42%; width: 54.17%; height: 59.16%; }
.nb-footer__paymentItem--mc img { left: 18.57%; top: 20.83%; width: 64.29%; height: 57.53%; }
.nb-footer__paymentItem--flat {
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
}
.nb-footer__paymentItem--flat img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1199px) {
    .nb-footer__top { flex-wrap: wrap; }
    .nb-footer__cols { flex-wrap: wrap; justify-content: flex-start; margin: 0; gap: 32px 60px; }
}
@media (max-width: 767px) {
    .nb-footer__top { gap: 24px; }
    .nb-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Card san pham (templates/partials/nhabo-card.php) - node 168:426
   ========================================================================== */
.nb-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    font-family: var(--nb-font-body);
}
.nb-card__media {
    position: relative;
    display: block;
    aspect-ratio: 291 / 338;
    border: 2px solid var(--nb-gold);
    border-radius: var(--nb-radius-lg);
    box-shadow: var(--nb-shadow);
    overflow: hidden;
    background: var(--nb-icon-bg);
}
/* Anh SP (upload/product/product-*.jpg lay tu Figma) co san vien nen - Figma cat bang
   cach phong 101.72% x 109.59%, lech -1.03% / -4.8% (node 168:266 / 184:1618). */
.nb-card__media img {
    position: absolute;
    left: -1.03%;
    top: -4.8%;
    width: 101.72%;
    height: 109.59%;
    max-width: none;
    object-fit: cover;
    display: block;
}
/* SP chua co anh (noimage.png vuong, ca khi onerror doi src): dat giua, khong phong / cat nhu anh SP */
.nb-card__media img[src$="noimage.png"] {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 24%;
    box-sizing: border-box;
    object-fit: contain;
}
.nb-card__brand {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--nb-olive-dark);
    color: var(--nb-cream);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: var(--nb-radius);
    text-transform: capitalize;
}
.nb-card__wish {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--nb-olive-dark);
    color: var(--nb-olive);
    cursor: pointer;
    padding: 0;
}
.nb-card__wish svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.nb-card__wish.is-active { color: var(--nb-gold); }

.nb-card__name {
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 16px;
    color: var(--nb-text);
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nb-card__name a { color: inherit; text-decoration: none; }

.nb-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--nb-text-muted);
    font-weight: 500;
}
.nb-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.nb-card__meta span + span::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: var(--nb-border);
}
.nb-card__meta img { width: 20px; height: 20px; }

.nb-card__price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--nb-radius-pill);
    background: var(--nb-gold);
    border: 1px solid var(--nb-olive);
    color: var(--nb-cream);
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
}

/* ==========================================================================
   Dai USP (templates/partials/nhabo-usp.php)
   ========================================================================== */
.nb-usp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 768px) {
    .nb-usp { grid-template-columns: repeat(4, 1fr); gap: var(--nb-gap); }
}
.nb-usp__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.nb-usp__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--nb-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nb-usp__icon img { width: 100%; height: 100%; object-fit: cover; }
.nb-usp__title {
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--nb-text);
}

/* ==========================================================================
   Dai quote (templates/partials/nhabo-quote.php)
   ========================================================================== */
.nb-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 48px 16px;
    background: var(--nb-cream);
    border-radius: var(--nb-radius-lg);
}
.nb-quote__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--nb-shadow);
}
.nb-quote__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-quote__text {
    max-width: 720px;
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    line-height: 1.5;
    color: var(--nb-olive-dark);
    position: relative;
}
@media (min-width: 768px) {
    .nb-quote__text { font-size: 24px; }
}

/* Hoa trang tri o goc dai quote (node 184:921/184:2053, la eucalyptus) - CHI wire
 * o trang danh sach (/thue-do) va trang chi tiet SP (Figma 2 frame nay co ve hoa
 * o goc quote, trang chu KHONG co - xem bao cao). nhabo_quote() la partial DUNG
 * CHUNG voi trang chu (templates/index/index_tpl.php) nen KHONG the wire truc
 * tiep vao ".nb-quote" bang selector don (se lam trang chu co theo, sai voi
 * thiet ke Figma cua trang chu) - 2 template goi partial nay
 * (templates/product/product_tpl.php, templates/product/product_detail_tpl.php)
 * da duoc them class rieng `.nb-figma-quoteWrap` vao DIV cha bao ben ngoai de
 * khoanh vung CHI 2 trang nay; dung ".nb-figma-quoteWrap .nb-quote" (chu KHONG
 * phai ".nb-figma-quoteWrap" - div nay co class .nb-container voi padding
 * 16px, con ".nb-quote" moi la khoi nen mau kem thuc su hien tren man hinh)
 * de dinh vi TRUC TIEP vao goc khoi kem, tranh bi lech ra ngoai khoi/chi con
 * 1 mau "sliver" o canh (loi da phat hien qua fix round 1).
 * Dung z-index:-1 (giong .nb-conceptSpotlight::after) de nam DUOI chu/logo
 * trong pham vi stacking context rieng (khong che noi dung). File
 * quote-leaf.png da duoc key nen cream (--nb-cream, bi Figma "bake" opaque
 * luc export) thanh trong suot that bang scratch script (xem bao cao).
 * QUAN TRONG (Fix round 1): phai co them z-index:0 o day (khong chi
 * position:relative) - neu khong ".nb-quote" khong tu thiet lap stacking
 * context rieng, khien ::before (z-index:-1) bi xep xuong duoi CA background
 * "var(--nb-cream)" cua chinh ".nb-quote" (xem giai thich chi tiet o
 * .nb-conceptSpotlight) - hoa la eucalyptus se HOAN TOAN khong hien thay vi
 * chi bi lech vi tri nhu bao cao ban dau tuong. */
.nb-figma-quoteWrap .nb-quote {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.nb-figma-quoteWrap .nb-quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 110px;
    background: url("../images/nhabo/quote-leaf.png") no-repeat left top / contain;
    opacity: .9;
    pointer-events: none;
    z-index: -1;
}
@media (max-width: 900px) {
    .nb-figma-quoteWrap .nb-quote::before { display: none; }
}

/* ==========================================================================
   FAQ (templates/partials/nhabo-faq.php)
   ========================================================================== */
/* Hoa trang tri gan cuoi dai quote/dau FAQ (node 184:650/184:2020, deco-floral-4)
 * - DA GO BO (fix round 2). Ly do: cung mot anh blur ban kinh rong nhu
 * deco-floral-1 (xem ghi chu o .nb-plp trong file nay) - du da key nen cream
 * dung cach (fix round 1) va nang vi tri len tren tieu de (khong con de len
 * chu), khi xem o kich thuoc that (khong thu nho) no van doc thanh 1 vet mo
 * hong-kem thay vi 1 bong hoa co chu dich - lap lai dung van de "artifact"
 * da bi bao o vong review truoc. Theo dung huong dan "neu khong lam cho dep
 * duoc thi bo di", da go bo hoan toan thay vi tiep tuc chinh threshold. */
.nb-faq {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 1024px) {
    .nb-faq { flex-direction: row; gap: 60px; }
}
.nb-faq__intro { flex: 0 0 auto; }
@media (min-width: 1024px) {
    .nb-faq__intro { width: 340px; }
}
.nb-faq__intro h2 {
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--nb-text);
    margin: 0 0 12px;
}
.nb-faq__intro p {
    margin: 0;
    color: var(--nb-text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.nb-faq__list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nb-faq__item {
    border-bottom: 1px solid var(--nb-border);
    padding: 12px 0;
}
.nb-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 16px;
    color: var(--nb-text);
    padding: 8px 0;
}
.nb-faq__item summary::-webkit-details-marker { display: none; }
.nb-faq__item summary::after {
    content: '+';
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--nb-cream);
    color: var(--nb-olive-dark);
    font-size: 16px;
}
.nb-faq__item[open] summary::after { content: '\2212'; }
.nb-faq__answer {
    padding: 4px 0 12px;
    color: var(--nb-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   Trang chu (templates/index/index_tpl.php) - Task 18, node 168:325 "Home V2"
   ========================================================================== */
.nb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 28px;
    border-radius: var(--nb-radius-pill);
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    border: 1px solid var(--nb-olive);
    white-space: nowrap;
}
.nb-btn--primary { background: var(--nb-olive); color: var(--nb-cream); }
.nb-btn--outline { background: transparent; color: var(--nb-cream); border-color: var(--nb-cream); }
/* 16/10/2026: trang thai re chuot cua nut - chu luon doc ro tren nen (truoc: nut <a> bi a:hover chung doi chu trung mau nen) */
.nb-btn { transition: background-color .2s, border-color .2s, color .2s; }
.nb-btn--primary:hover:not(:disabled), .nb-btn--primary:focus-visible { background: var(--nb-olive-dark); border-color: var(--nb-olive-dark); color: var(--nb-cream); }
.nb-btn--outline:hover:not(:disabled), .nb-btn--outline:focus-visible { background: var(--nb-cream); color: var(--nb-olive-dark); }

.nb-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 28px;
    border-radius: var(--nb-radius-pill);
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
}
.nb-pill--outline {
    background: transparent;
    color: var(--nb-olive);
    border: 1px solid var(--nb-olive);
}
.nb-pill__arrow { width: 20px; height: auto; display: block; }

.nb-section { padding: 40px 0; }
.nb-section--panel { background: var(--nb-cream); }
.nb-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.nb-section__head--center { justify-content: center; text-align: center; }
.nb-section__heading { display: flex; align-items: center; gap: 8px; }
.nb-section__icon { width: 45px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.nb-section__title {
    margin: 0;
    font-family: 'Cormorant Garamond', var(--nb-font-heading), serif;
    font-weight: 500;
    font-size: 32px;
    color: var(--nb-text);
    text-transform: capitalize;
}
.nb-section__subtitle {
    text-align: center;
    margin: -14px 0 30px;
    font-size: 16px;
    color: var(--nb-text-muted);
}
@media (min-width: 768px) {
    .nb-section__title { font-size: 40px; }
}

/* Hero (node 168:337/168:338) */
.nb-hero { position: relative; overflow: hidden; }
/* Hoa trang tri goc (node 168:327) - chi tren desktop de tranh nguy co tran
 * ngang o man hinh hep (yeu cau task: 375px khong duoc co horizontal scroll). */
.nb-hero::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 130px;
    height: 130px;
    background: url("../images/nhabo/home/deco-floral-2.png") no-repeat center / contain;
    opacity: .8;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 900px) {
    .nb-hero::before { display: none; }
}
.nb-hero__swiper { position: relative; overflow: hidden; }
/* R22-01: ep san flex-direction: row cho .swiper-wrapper trong pham vi .nb-hero -
 * CSS goc cua vendor (public/swiper/swiper-bundle.min.css) mac dinh ".swiper-wrapper"
 * la "column" va chi doi sang "row" qua class ".swiper-horizontal" do JS Swiper gan
 * luc khoi tao. Neu vi ly do nao do JS khoi tao cham/that bai (mang cham, loi JS
 * khac tren trang chan handler DOMContentLoaded), bo qua buoc nay se khien 3 slide
 * xep CHONG theo cot thay vi xep hang ngang + an bang overflow:hidden nhu thiet ke -
 * ep truoc bang CSS de giao dien luon dung ngay ca khi JS chua kip chay. */
.nb-hero__swiper .swiper-wrapper { flex-direction: row; }
.nb-hero__slide { position: relative; overflow: hidden; }
.nb-hero__bg {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .nb-hero__bg { height: 420px; }
}
@media (min-width: 1200px) {
    .nb-hero__bg { height: 551px; }
}
.nb-hero__content {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    color: var(--nb-cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.nb-hero__title {
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 30px;
    max-width: 480px;
}
@media (min-width: 768px) {
    .nb-hero__title { font-size: 42px; }
}
.nb-hero__desc { margin: 0; max-width: 384px; font-size: 15px; line-height: 1.5; }
.nb-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.nb-hero__pagination { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }
.nb-hero__nav { display: none; }
@media (min-width: 1200px) {
    .nb-hero__nav { display: flex; }
}

/* "Ban can trang phuc cho dip nao" (168:375) va "Danh muc san pham" (200:3092) -
   dung chung mau card cung dang: anh vom + nhan duoi anh. */
.nb-occasion,
.nb-catgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .nb-occasion, .nb-catgrid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.nb-occasion__item,
.nb-catgrid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}
.nb-occasion__media,
.nb-catgrid__media {
    display: block;
    width: 100%;
    aspect-ratio: 296 / 340;
    border-radius: 200px 200px 10px 10px;
    overflow: hidden;
    background: var(--nb-icon-bg);
}
.nb-occasion__media img,
.nb-catgrid__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-occasion__label,
.nb-catgrid__label {
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--nb-text);
    text-transform: capitalize;
    text-align: center;
}

/* "Bo suu tap theo concept" spotlight (168:717) */
.nb-conceptSpotlight {
    position: relative;
    /* z-index:0 (khong chi position:relative) de khoi nay TU THIET LAP stacking
     * context rieng - neu khong, ::after ben duoi voi z-index:-1 se bi CSS xep
     * xuong duoi CA background cua chinh .nb-conceptSpotlight (vi background
     * cua 1 box khong-tao-stacking-context duoc ve o giai doan SAU cac hau due
     * z-index am cua stacking context ONG/BA no, chu khong phai giai doan truoc
     * hoa trang tri cua RIENG no) - ket qua la hoa hoan toan khong hien (loi
     * "Fix round 1" phat hien: hoa goc conceptSpotlight tren trang chu VA quote-
     * leaf/deco-floral-4 tren trang danh sach/chi tiet deu bi an hoan toan vi
     * thieu dong nay, khong chi la "sliver" nhu bao cao ban dau tuong). */
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    align-items: center;
    background: var(--nb-cream);
    border-radius: var(--nb-radius-lg);
    padding: 30px;
}
/* Hoa trang tri goc (node 168:334) - chi tren desktop, xem ghi chu o .nb-hero::before. */
.nb-conceptSpotlight::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 140px;
    height: 140px;
    background: url("../images/nhabo/home/deco-floral-6.png") no-repeat center / contain;
    opacity: .8;
    pointer-events: none;
    z-index: -1;
}
@media (max-width: 900px) {
    .nb-conceptSpotlight::after { display: none; }
}
@media (min-width: 900px) {
    .nb-conceptSpotlight { flex-direction: row; align-items: stretch; padding: 40px; gap: 40px; }
}
.nb-conceptSpotlight__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.nb-conceptSpotlight__title {
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 28px;
    color: var(--nb-text);
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .nb-conceptSpotlight__title { font-size: 36px; }
}
.nb-conceptSpotlight__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--nb-text); }
.nb-conceptSpotlight__media {
    display: block;
    width: 100%;
    max-width: 352px;
    margin: 0 auto;
    aspect-ratio: 352 / 466;
    border: 4px solid var(--nb-gold);
    border-radius: 500px;
    overflow: hidden;
    flex: 0 0 auto;
}
.nb-conceptSpotlight__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Luoi card san pham (Hang moi ve / Duoc thue nhieu nhat) - tai su dung .nb-card.
   1 cot o mobile (< 600px, yeu cau xac minh cua task o 375px) vi noi dung .nb-card__meta
   (2 dong "Coc"/"Gia goc") can toi thieu ~150px, 2 cot se ep tran ngang o vien man hinh
   nho. */
.nb-cardgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) {
    .nb-cardgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .nb-cardgrid { grid-template-columns: repeat(4, 1fr); }
}

/* 3 ma giam gia (168:430) - dung lai table_discount */
.nb-couponRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px 0 40px;
}
.nb-coupon {
    flex: 1 1 280px;
    max-width: 340px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    background: var(--nb-cream);
    border: 1px dashed var(--nb-olive);
    border-radius: var(--nb-radius-lg);
    padding: 16px 20px;
    box-shadow: var(--nb-shadow);
}
.nb-coupon__body { flex: 1 1 160px; }
.nb-coupon__title {
    margin: 0 0 4px;
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--nb-olive-dark);
}
.nb-coupon__desc,
.nb-coupon__expiry { margin: 0; font-size: 12px; color: var(--nb-text-muted); }
.nb-coupon__badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--nb-olive);
    color: var(--nb-cream);
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 16px;
}
.nb-coupon__code {
    flex: 1 0 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Banner "Thu do truoc, quyet dinh sau" (168:456/168:457) - anh nen thuc te tu
 * Figma (public/images/nhabo/home/section-bg-tryon.jpg, khong qua DB vi
 * sources/index.php khong doc cot photo cho khoi nay). Phu them lop gradient
 * toi mau olive de chu trang o ben trai luon du tuong phan doc duoc du anh
 * nen sang/toi khac nhau tren tung thiet bi. */
.nb-tryon {
    background:
        linear-gradient(90deg, rgba(63, 72, 36, .88), rgba(63, 72, 36, .55) 55%, rgba(63, 72, 36, .25)),
        var(--nb-olive-dark) url("../images/nhabo/home/section-bg-tryon.jpg") center / cover no-repeat;
    color: var(--nb-cream);
    padding: 40px 0;
}
.nb-tryon__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (min-width: 1024px) {
    .nb-tryon__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.nb-tryon__title {
    margin: 0 0 16px;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 28px;
    max-width: 445px;
}
@media (min-width: 768px) {
    .nb-tryon__title { font-size: 36px; }
}
.nb-tryon__desc { margin: 0; max-width: 384px; font-size: 15px; line-height: 1.5; }
.nb-tryon__card {
    background: var(--nb-cream);
    border-radius: var(--nb-radius-lg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 495px;
    box-shadow: var(--nb-shadow);
}
.nb-tryon__field {
    border: 1px solid var(--nb-text-muted);
    border-radius: 17px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--nb-text-muted);
}
.nb-tryon__fee {
    margin: 6px 0 0;
    font-style: italic;
    font-weight: 700;
    font-size: 12px;
    color: var(--nb-olive-dark);
    text-align: center;
}
.nb-tryon__cta { width: 100%; margin-top: 4px; }

/* "Quy trinh thue tai Nha Bo" (168:498) - 5 buoc */
.nb-process {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
    text-align: center;
}
@media (min-width: 768px) {
    .nb-process { grid-template-columns: repeat(5, 1fr); }
}
.nb-process__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nb-process__num {
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--nb-gold);
}
.nb-process__icon { width: 64px; height: 64px; }
.nb-process__icon img { width: 100%; height: 100%; object-fit: contain; }
.nb-process__title { margin: 0; font-family: var(--nb-font-heading); font-weight: 700; font-size: 16px; color: var(--nb-text); }
.nb-process__desc { margin: 0; font-size: 13px; color: var(--nb-text-muted); }

/* "Hang thanh vien" (168:649) */
.nb-tiergrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (min-width: 1024px) {
    .nb-tiergrid { grid-template-columns: repeat(4, 1fr); }
}
.nb-tier {
    background: var(--nb-white);
    border-radius: var(--nb-radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--nb-shadow);
}
.nb-tier__icon { width: 64px; height: 64px; margin: 0 auto 12px; }
.nb-tier__icon img { width: 100%; height: 100%; object-fit: contain; }
.nb-tier__title { margin: 0 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 16px; color: var(--nb-text); }
.nb-tier__desc { margin: 0; font-size: 13px; color: var(--nb-text-muted); }

/* "Blog / Cam hung" (168:569) */
.nb-bloggrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .nb-bloggrid { grid-template-columns: repeat(3, 1fr); }
}
.nb-blogcard { display: block; text-decoration: none; color: inherit; }
.nb-blogcard__media {
    display: block;
    width: 100%;
    aspect-ratio: 399 / 260;
    border-radius: var(--nb-radius-lg);
    overflow: hidden;
    background: var(--nb-icon-bg);
    margin-bottom: 16px;
}
.nb-blogcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-blogcard__date { display: block; font-size: 13px; color: var(--nb-text-muted); margin-bottom: 6px; }
.nb-blogcard__title {
    margin: 0 0 8px;
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--nb-text);
}
.nb-blogcard__desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nb-text-muted); }

/* "Ve nha Bo" (168:600) */
.nb-about {
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .nb-about { flex-direction: row; align-items: center; }
}
.nb-about__media { display: block; width: 100%; }
@media (min-width: 1024px) {
    .nb-about__media { width: 50%; }
}
.nb-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 420px; }
.nb-about__text {
    padding: 30px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 1024px) {
    .nb-about__text { width: 50%; padding: 40px 60px; }
}
.nb-about__title {
    margin: 0;
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 32px;
    color: var(--nb-text);
}
.nb-about__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--nb-text); }
.nb-about__row {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--nb-text);
}
.nb-about__row img { width: 22px; height: 22px; flex: 0 0 auto; }
.nb-about .nb-pill--outline { align-self: flex-start; }

/* ==========================================================================
   Trang danh sach san pham + bo loc (templates/product/product_tpl.php) -
   Task 20, node 184:639 "Danh sách SP". Mobile-first nhu phan con lai cua file
   (base = mobile, sidebar la drawer truot tu trai; >=1024px = 2 cot tinh).
   ========================================================================== */
.nb-plp { padding: 32px 0 60px; }
/* Hoa trang tri dau trang (node 184:645, deco-floral-1) - DA GO BO (fix round 2):
 * day la 1 anh hoa bi Figma ap hieu ung blur rat rong (Gaussian blur ban kinh
 * lon) nen du da key nen cream thanh trong suot dung cach (fix round 1), phan
 * "vien mo" cua blur van con mot dai alpha thap-nhung-khac-0 trai rong ca
 * 120x160px - khi hien thi thuc te (khong thu nho) no van doc thanh 1 "cum mo"
 * hinh chu nhat mo phia tren/duoi icon tieu de, khong giong hoa that. Thay vi
 * tiep tuc chinh nguong alpha (rui ro lai bi bao la "con vet mo" o vong review
 * sau), quyet dinh GO BO trang tri nay theo dung huong dan "neu khong the lam
 * cho dep thi bo di thay vi de lai artifact". Icon 45x38 canh tieu de
 * (section-icon-leaf.png, xem .nb-section__icon) van giu nguyen - da duoc key
 * nen trong suot rieng va la 1 icon nho/net, khong bi van de blur nay. */
.nb-plp__head { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.nb-plp__head .nb-section__title { font-size: 26px; }
@media (min-width: 768px) {
    .nb-plp__head .nb-section__title { font-size: 32px; }
}

.nb-plp__filterToggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: var(--nb-radius-pill);
    border: 1px solid var(--nb-olive);
    background: var(--nb-white);
    color: var(--nb-olive);
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.nb-plp__body { display: flex; align-items: flex-start; gap: 28px; }
.nb-plp__main { flex: 1 1 auto; min-width: 0; }

.nb-plp__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16, 16, 16, .5);
    z-index: 500;
}
.nb-plp__overlay.is-open { display: block; }

.nb-plp__sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 86vw);
    background: var(--nb-white);
    box-shadow: var(--nb-shadow);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 501;
}
.nb-plp__sidebar.is-open { transform: translateX(0); }
.nb-plp__sidebarHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--nb-text);
    margin-bottom: 16px;
}
.nb-plp__sidebarClose {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--nb-border);
    background: var(--nb-white);
    color: var(--nb-text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.nb-plp__group { margin-bottom: 20px; }
.nb-plp__groupTitle {
    margin: 0 0 12px;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nb-text);
}
.nb-plp__divider { border: none; border-top: 1px solid var(--nb-border); margin: 0 0 20px; }

.nb-plp__checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nb-plp__checklist li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--nb-text); }
.nb-plp__checklist label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nb-plp__checklist input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--nb-olive); cursor: pointer; }
.nb-plp__count { color: var(--nb-text-muted); font-size: 13px; }

.nb-plp__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.nb-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 8px 16px;
    border-radius: var(--nb-radius-pill);
    border: 1px solid var(--nb-border);
    font-size: 14px;
    color: var(--nb-text);
    cursor: pointer;
    user-select: none;
}
.nb-chip.is-active { border-color: var(--nb-olive); background: var(--nb-olive); color: var(--nb-cream); }

.nb-plp__swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-swatch { display: inline-flex; cursor: pointer; }
.nb-swatch span {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--nb-border);
    box-sizing: border-box;
}
.nb-swatch.is-active span { outline: 2px solid var(--nb-olive); outline-offset: 2px; }

.nb-plp__radiolist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--nb-text); }
.nb-plp__radiolist label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nb-plp__radiolist input[type="radio"] { width: 16px; height: 16px; accent-color: var(--nb-olive); cursor: pointer; }

.nb-plp__clear {
    display: flex;
    width: 100%;
    margin-top: 4px;
    box-sizing: border-box;
    color: var(--nb-olive);
    border-color: var(--nb-olive);
    background: transparent;
}

.nb-plp__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.nb-plp__countText { margin: 0; font-size: 14px; color: var(--nb-text-muted); }
.nb-plp__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--nb-text); }
.nb-plp__sort select {
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-pill);
    padding: 8px 16px;
    font-family: var(--nb-font-body);
    font-size: 14px;
    background: var(--nb-white);
    color: var(--nb-text);
}

.nb-plp__grid { display: grid; grid-template-columns: 1fr; gap: 24px 20px; }
.nb-plp__empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--nb-text-muted);
    background: var(--nb-white);
    border-radius: var(--nb-radius-lg);
}

.nb-plp__pagination { display: flex; justify-content: center; margin-top: 32px; }
.nb-plp__pagination .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nb-plp__pagination .page-item:first-child { display: none; }
.nb-plp__pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--nb-radius-pill);
    border: 1px solid var(--nb-border);
    color: var(--nb-text);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--nb-font-heading);
    background: var(--nb-white);
}
.nb-plp__pagination .page-item.active .page-link { background: var(--nb-olive); border-color: var(--nb-olive); color: var(--nb-cream); }

.nb-plp__usp { margin-top: 40px; }

@media (min-width: 600px) {
    .nb-plp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .nb-plp__filterToggle { display: none; }
    .nb-plp__overlay { display: none !important; }
    .nb-plp__sidebarHead { display: none; }
    .nb-plp__sidebar {
        position: static;
        width: 260px;
        flex: 0 0 260px;
        transform: none;
        transition: none;
        border-radius: var(--nb-radius-lg);
    }
    .nb-plp__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Breadcrumb (templates/layout/breadcrumb.php) - Figma 184:1464
   Nam ngay duoi header 180px, dong chu o y=195 nhu Figma.
   ========================================================================== */
.breadCrumbs.nb-breadcrumbs { background: transparent; padding: 15px 0 0; }
.nb-breadcrumbs .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-family: var(--nb-font-heading);
    font-size: 13px;
    line-height: 16px;
}
.nb-breadcrumbs .breadcrumb-item { display: flex; align-items: center; color: var(--nb-text-muted); }
.nb-breadcrumbs .breadcrumb-item + .breadcrumb-item { padding-left: 8px; }
.nb-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { padding-right: 8px; color: var(--nb-text-muted); content: "/"; float: none; }
.nb-breadcrumbs .breadcrumb-item a { color: var(--nb-text-muted); text-decoration: none; }
.nb-breadcrumbs .breadcrumb-item a:hover { color: var(--nb-olive); }
.nb-breadcrumbs .breadcrumb-item.active a { color: var(--nb-olive-dark); font-weight: 500; }

/* ==========================================================================
   Trang danh sach san pham V2 (templates/product/product_tpl.php) - Figma 184:639
   Khung 1440px: sidebar 280px (x=100) + cot phai 913px (x=427), luoi 3 x 291px.
   ========================================================================== */
body:has(.nb-plp2) { background: var(--nb-cream); }
body:has(.nb-plp2) .menu.nb-header { background: transparent; }
.wrap_background:has(> .nb-plp2) { padding: 0; }

.nb-plp2 {
    position: relative;
    padding: 24px 0 61px;
    overflow-x: clip;
    font-family: var(--nb-font-heading);
    color: var(--nb-text);
}
.nb-plp2 > :not(.nb-home__decoLayer) { position: relative; z-index: 1; }
.nb-plp2__deco--1 { left: -169px; top: -147.51px; }
/* Neo theo day khoi (Figma: top 2461 / footer 2650) de khong lech khi so dong SP thay doi */
.nb-plp2__deco--2 { left: 21.8px; top: auto; bottom: -94.64px; width: 486.29px; height: 283.64px; border-radius: 65px; }
.nb-plp2 .nb-quote2 { margin-top: 44px; }

.nb-plp2 .nb-home__heading.nb-plp2__heading { justify-content: flex-start; margin-bottom: 24px; }
.nb-plp2__heading .nb-home__title { font-size: 40px; }

.nb-plp2__filterToggle { display: none; }
.nb-plp2__body { display: flex; align-items: flex-start; gap: 47px; }
.nb-plp2__content { flex: 0 0 913px; min-width: 0; }

/* Sidebar - node 184:1476 */
.nb-plp2__aside {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 22px;
    border-radius: 20px;
    background: var(--nb-white);
    filter: drop-shadow(0 4px 5.1px rgba(86, 77, 58, .08));
    box-sizing: border-box;
}
.nb-plp2__asideHead { display: none; }
.nb-plp2__group { display: flex; flex-direction: column; gap: 12px; }
.nb-plp2__groupTitle {
    margin: 0;
    font-family: var(--nb-font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: normal;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--nb-olive-dark);
}
.nb-plp2__divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--nb-bg-muted); opacity: 1; }

.nb-plp2 input[type="checkbox"],
.nb-plp2 input[type="radio"] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 0;
    border-radius: 3px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.nb-plp2 input[type="checkbox"]:checked {
    background: var(--nb-olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23F5F2E9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.nb-plp2 input[type="radio"] { border-radius: 8px; }
.nb-plp2 input[type="radio"]:checked { background: radial-gradient(circle, var(--nb-olive) 0 4px, var(--nb-white) 4.5px); }

.nb-plp2__check,
.nb-plp2__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: normal;
    color: var(--nb-text);
    cursor: pointer;
}
.nb-plp2__checkLabel { flex: 1 1 auto; min-width: 0; }
.nb-plp2__count { font-weight: 400; font-size: 12px; color: var(--nb-text-muted); }

/* Size - chip 32px, min 58px, cach 8px (node 184:1533) */
.nb-plp2__sizes { display: flex; flex-wrap: wrap; gap: 8px; width: 190px; }
.nb-plp2__size { position: relative; margin: 0; cursor: pointer; }
.nb-plp2__size input { position: absolute; opacity: 0; pointer-events: none; }
.nb-plp2__size span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 32px;
    padding: 0 16px;
    border-radius: 100px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    font-weight: 500;
    font-size: 13px;
    line-height: normal;
    color: var(--nb-olive-dark);
    box-sizing: border-box;
}
.nb-plp2__size input:checked + span { background: var(--nb-olive); color: var(--nb-cream); }

/* Mau - cham 26px vien #77746C (node 184:1557) */
.nb-plp2__colors { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.nb-plp2__color { position: relative; margin: 0; cursor: pointer; }
.nb-plp2__color input { position: absolute; opacity: 0; pointer-events: none; }
.nb-plp2__color span {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    box-shadow: inset 0 0 0 1px var(--nb-text-muted);
}
.nb-plp2__color input:checked + span { outline: 2px solid var(--nb-olive); outline-offset: 2px; }

/* 15/10/2026 (nhom C2): "Con lich trong" - 2 o ngay cung kieu o chon sap xep (vien olive, bo 10px) */
.nb-plp2__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-plp2__date { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 500; font-size: 12px; color: var(--nb-text-muted); }
.nb-plp2__date input {
    width: 100%;
    height: 34px;
    padding: 0 6px;
    border: 0;
    border-radius: 10px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    font-family: inherit;
    font-size: 12px;
    color: var(--nb-text);
    box-sizing: border-box;
}
.nb-plp2__hint { margin: 0; font-size: 12px; line-height: 1.45; color: var(--nb-text-muted); }
.nb-plp2__linkBtn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--nb-olive); text-decoration: underline; cursor: pointer; }

.nb-plp2__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 100px;
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: var(--nb-olive);
    text-decoration: none;
}
.nb-plp2__clear:hover { background: var(--nb-olive); color: var(--nb-cream); text-decoration: none; }

/* Thanh dem + sap xep - node 184:1598 */
.nb-plp2__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 46px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--nb-white);
    filter: drop-shadow(0 4px 5.1px rgba(86, 77, 58, .08));
    box-sizing: border-box;
}
.nb-plp2__countText { margin: 0; font-size: 14px; line-height: normal; color: var(--nb-text-muted); }
.nb-plp2__sort { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; line-height: normal; color: var(--nb-text-muted); }
.nb-plp2__select { position: relative; display: block; width: 212px; height: 34px; }
.nb-plp2__select select {
    width: 100%;
    height: 100%;
    padding: 0 36px 0 12px;
    border: 0;
    border-radius: 6px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-text-muted);
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 13px;
    color: var(--nb-text);
    -webkit-appearance: none;
    appearance: none;
    outline: 0;
    cursor: pointer;
}
.nb-plp2__select::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 5px;
    width: 24px;
    height: 24px;
    background: var(--nb-olive-dark);
    -webkit-mask: url("../images/nhabo/home/v2-plp-chevron.svg") center / 24px 24px no-repeat;
    mask: url("../images/nhabo/home/v2-plp-chevron.svg") center / 24px 24px no-repeat;
    pointer-events: none;
}

/* Luoi 3 x 291px, cach 20px ngang / 34px doc (node 184:1614) */
.nb-plp2__grid { display: grid; grid-template-columns: repeat(3, 291px); gap: 34px 20px; margin-top: 20px; }
.nb-plp2__empty {
    margin-top: 20px;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--nb-white);
    color: var(--nb-text-muted);
    text-align: center;
}

/* The san pham bien the trang danh sach - node 184:1615 */
.nb-card--plp { position: relative; gap: 18px; font-family: var(--nb-font-heading); }
.nb-card--plp .nb-card__media {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 4px 10.2px rgba(86, 77, 58, .08);
}
.nb-card--plp .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-card--plp:hover .nb-card__media::after { opacity: 1; }
.nb-card--plp .nb-card__brand {
    left: 9px;
    top: 12px;
    height: 24px;
    padding: 5.5px 6px 6.5px;
    border-radius: 8px;
    font-family: var(--nb-font-body);
    font-size: 12px;
    line-height: 12px;
    box-sizing: border-box;
}
.nb-card--plp .nb-card__wish {
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 19px;
    background: rgba(255, 255, 255, .9);
    box-shadow: inset 0 0 0 1px var(--nb-olive-dark);
    color: var(--nb-olive-dark);
}
.nb-card--plp .nb-card__wish svg { display: none; }
.nb-card--plp .nb-card__wish::before {
    content: '';
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: url("../images/nhabo/home/v2-plp-heart.svg") center / 24px 24px no-repeat;
    mask: url("../images/nhabo/home/v2-plp-heart.svg") center / 24px 24px no-repeat;
}
.nb-card--plp .nb-card__wish.is-active { color: var(--nb-gold); }
.nb-card--plp .nb-card__name { font-weight: 500; font-size: 16px; line-height: 16px; }
.nb-card--plp .nb-card__meta {
    justify-content: center;
    gap: 43px; /* 21px + vach 1px + 21px (node 184:1631) */
    height: 24px;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: var(--nb-text-muted);
    white-space: nowrap;
}
.nb-card--plp .nb-card__meta span { gap: 0; }
.nb-card--plp .nb-card__meta span + span { gap: 6px; }
.nb-card--plp .nb-card__meta span + span::before {
    left: -22px;
    top: 50%;
    bottom: auto;
    height: 19px;
    margin-top: -9.5px;
    background: var(--nb-gold);
}
.nb-card__mask {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: var(--nb-text-muted);
    -webkit-mask: url("../images/nhabo/home/v2-plp-deposit.svg") center / 24px 24px no-repeat;
    mask: url("../images/nhabo/home/v2-plp-deposit.svg") center / 24px 24px no-repeat;
}
.nb-card__mask--cart {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    -webkit-mask-image: url("../images/nhabo/home/v2-plp-cart.svg");
    mask-image: url("../images/nhabo/home/v2-plp-cart.svg");
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
}
.nb-card--plp .nb-card__price {
    height: 38px;
    padding: 10.5px 10px 11.5px;
    border: 0;
    border-radius: 100px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    color: var(--nb-gold);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    transition: background-color .2s, color .2s;
}
.nb-card--plp:hover .nb-card__price { background: var(--nb-olive); color: var(--nb-cream); }   /* 16/10/2026: nen olive (truoc nen vang + chu kem, chu mo) */

/* 15/10/2026: dong "ma SP · size · mau" co the xuong 2 dong o the hep -> day nut gia xuong day the (luoi gian cac the bang nhau) de thang hang */
.nb-card--plp .nb-card__price { margin-top: auto; }

/* 15/10/2026 (nhom C1): nhan Moi / Noi bat (xep duoi nhan thuong hieu, cung co 24px bo 8px), dong ma SP · size · mau, anh 2 khi re chuot */
.nb-card__tags { position: absolute; left: 9px; top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.nb-card__tags .nb-card__brand { position: static; }
.nb-card__tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    font-family: var(--nb-font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    box-sizing: border-box;
}
.nb-card__tag--new { background: var(--nb-gold); color: var(--nb-cream); }
.nb-card__tag--hot { background: var(--nb-white); color: var(--nb-olive-dark); box-shadow: inset 0 0 0 1px var(--nb-olive-dark); }
.nb-card__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    margin: -8px 0 0;
    font-family: var(--nb-font-body);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--nb-text-muted);
}
.nb-card__sku { letter-spacing: .3px; }
.nb-card__colors { display: inline-flex; align-items: center; gap: 4px; }
.nb-card__colors i { display: block; width: 12px; height: 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--nb-text-muted); }
.nb-card__colors em { font-style: normal; font-size: 11px; }
.nb-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; }
.nb-card__media .nb-card__img2 { opacity: 0; transition: opacity .3s; }
@media (hover: hover) {
    .nb-card--swap:hover .nb-card__img2 { opacity: 1; }
}

/* Phan trang - node 184:1984 */
.nb-plp2__pagination { display: flex; justify-content: center; margin-top: 20px; padding-top: 10px; }
/* 15/10/2026 (nhom C5): "Xem them" chi o dien thoai (< 768px), thay cho phan trang so */
.nb-plp2__more { display: none; justify-content: center; margin-top: 24px; }
.nb-plp2__more .nb-btn { min-width: 200px; }
@media (max-width: 767px) {
    .nb-plp2__more { display: flex; }
    .nb-plp2__more + .nb-plp2__pagination { display: none; }
}
.nb-plp2__pagination .pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nb-plp2__pagination .page-item:first-child { display: none; }
.nb-plp2__pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 17px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-gold);
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: var(--nb-olive-dark);
    text-decoration: none;
    box-sizing: border-box;
}
.nb-plp2__pagination .page-item.active .page-link { background: var(--nb-olive); box-shadow: none; color: var(--nb-cream); }
.nb-plp2__pagination a.page-link[href]:hover { background: var(--nb-cream); }

/* Dai USP - node 184:1996 */
.nb-plp2__usp { margin-top: 20px; }
.nb-plp2__usp .nb-usp {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 20px;
    background: var(--nb-white);
    filter: drop-shadow(0 4px 5.1px rgba(86, 77, 58, .08));
}
.nb-plp2__usp .nb-usp__item { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
.nb-plp2__usp .nb-usp__icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 0; background: none; }
.nb-plp2__usp .nb-usp__icon img { object-fit: contain; }
.nb-plp2__usp .nb-usp__title {
    font-weight: 400;
    font-size: 13px;
    line-height: 16.9px;
    color: var(--nb-olive-dark);
    white-space: nowrap;
}

@media (max-width: 1239px) {
    .nb-plp2__content { flex: 1 1 auto; }
    .nb-plp2__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nb-plp2__usp .nb-usp { flex-wrap: wrap; }
}
@media (max-width: 1023px) {
    /* bo stacking context de ngan keo bo loc (fixed) noi len tren thanh menu mobile;
       lop hoa trang tri da an duoi 1200px nen khong can z-index nua */
    .nb-plp2 > .nb-plp2__main { z-index: auto; }
    .nb-plp2__filterToggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
        padding: 8px 18px;
        border: 0;
        border-radius: 100px;
        box-shadow: inset 0 0 0 1px var(--nb-olive);
        background: var(--nb-white);
        color: var(--nb-olive-dark);
        font-family: var(--nb-font-heading);
        font-weight: 500;
        cursor: pointer;
    }
    .nb-plp2__body { display: block; }
    .nb-plp2__aside {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 10001; /* tren thanh menu mobile (#menu_mobi) */
        width: min(320px, 86vw);
        border-radius: 0;
        filter: none;
        box-shadow: var(--nb-shadow);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }
    .nb-plp2__aside.is-open { transform: translateX(0); }
    /* 15/10/2026: ngan cao co dinh (top/bottom 0) + noi dung dai hon man hinh -> flex ep cac khoi con (nut "Xoa bo loc" mat chieu cao); giu nguyen co, cuon trong ngan */
    .nb-plp2__aside > * { flex-shrink: 0; }
    .nb-plp2__asideHead {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        font-size: 16px;
    }
    .nb-plp2__asideHead button { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; }
    .nb-plp .nb-plp__overlay,
    .nb-plp2 .nb-plp__overlay { z-index: 10000; }
    .nb-plp2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .nb-plp2__usp .nb-usp { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .nb-plp2__heading .nb-home__title { font-size: 30px; }
    .nb-plp2__toolbar { flex-wrap: wrap; height: auto; padding: 12px 16px; }
    .nb-plp2__select { width: 170px; }
    /* Ra soat mobile 14/10/2026: 2 cot (1 cot ~530px/the, 12 SP ~7.000px) - the gon giong "Mau tuong tu" trang SP */
    .nb-plp2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .nb-plp2__usp .nb-usp { grid-template-columns: 1fr; }
    .nb-plp2__usp .nb-usp__title { white-space: normal; }
    .nb-plp2__filterCount { margin-left: 2px; font-weight: 700; }
}
@media (max-width: 339px) { .nb-plp2__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Trang chi tiet san pham (Task 21, Figma node 184:2014 "Chi tiet SP")
   templates/product/product_detail_tpl.php
   ========================================================================== */
.nb-pd { padding: 32px 0 0; }
/* Hoa trang tri dau trang (node 184:2019, deco-floral-1) - DA GO BO (fix round
 * 2), cung ly do voi .nb-plp (xem ghi chu chi tiet o do): anh bi blur ban kinh
 * rong nen du key nen dung cach van doc thanh "cum mo" hinh chu nhat khi hien
 * thi that, khong giong hoa. */
.nb-pd__grid { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
@media (min-width: 1024px) {
    .nb-pd__grid { flex-direction: row; align-items: flex-start; gap: 60px; }
    .nb-pd__gallery { flex: 0 0 600px; max-width: 600px; }
    .nb-pd__info { flex: 1 1 auto; min-width: 0; }
}

.nb-pd__category {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nb-gold);
}
.nb-pd__title {
    margin: 0 0 16px;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 26px;
    color: var(--nb-text);
}
@media (min-width: 768px) {
    .nb-pd__title { font-size: 34px; }
}
.nb-pd__priceRow { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.nb-pd__price {
    font-family: 'Cormorant Garamond', var(--nb-font-heading), serif;
    font-weight: 600;
    font-size: 30px;
    color: var(--nb-gold);
}
.nb-pd__priceRow small { font-size: 14px; color: var(--nb-text-muted); }

.nb-pd__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--nb-border);
    font-size: 14px;
    color: var(--nb-text);
}
.nb-pd__rating { display: inline-flex; align-items: center; gap: 6px; }
.nb-pd__rating svg { width: 18px; height: 18px; fill: var(--nb-gold); flex: 0 0 auto; }
.nb-pd__metaDivider { width: 1px; height: 16px; background: var(--nb-border); }

.nb-pd__field { margin-bottom: 20px; }
.nb-pd__fieldHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 14px; color: var(--nb-text); }
.nb-pd__fieldLabel { font-weight: 600; }

.nb-pd__sizeChips { display: flex; flex-wrap: wrap; gap: 10px; }
.nb-pd__sizeChip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--nb-border);
    background: var(--nb-white);
    font-size: 14px;
    color: var(--nb-text);
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}
.nb-pd__sizeChip.is-active { background: var(--nb-olive); border-color: var(--nb-olive); color: var(--nb-cream); }

.nb-pd__swatches { display: flex; flex-wrap: wrap; gap: 12px; }

.nb-pd__infoBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--nb-cream);
    border-radius: var(--nb-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.nb-pd__infoRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--nb-text); }
.nb-pd__infoRow strong { font-weight: 600; }

.nb-pd__dateBlock {
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    padding: 20px;
    margin-bottom: 24px;
    box-sizing: border-box;
}
.nb-pd__dateTitle { margin: 0 0 16px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 16px; color: var(--nb-text); }

.nb-calendar { margin-bottom: 16px; }
.nb-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nb-calendar__nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--nb-border);
    background: var(--nb-white);
    font-size: 18px;
    line-height: 1;
    color: var(--nb-text);
    cursor: pointer;
}
.nb-calendar__nav:hover { border-color: var(--nb-olive); color: var(--nb-olive); }
.nb-calendar__label { font-weight: 600; font-size: 14px; color: var(--nb-text); text-transform: capitalize; }
.nb-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.nb-calendar__weekdays span { display: block; text-align: center; font-size: 12px; color: var(--nb-text-muted); }
.nb-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.nb-calendar__day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 13px;
    color: var(--nb-text);
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
    font-family: var(--nb-font-body);
}
.nb-calendar__day.is-empty { visibility: hidden; cursor: default; }
.nb-calendar__day:disabled { color: var(--nb-border); cursor: not-allowed; text-decoration: line-through; }
.nb-calendar__day:hover:not(:disabled) { background: var(--nb-icon-bg); }
.nb-calendar__day.is-inrange { background: var(--nb-cream); border-radius: 6px; }
.nb-calendar__day.is-selected { background: var(--nb-olive); color: var(--nb-cream); }

.nb-pd__dateFields { display: flex; gap: 12px; margin-bottom: 16px; }
.nb-pd__dateField { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--nb-text-muted); min-width: 0; }
.nb-pd__dateField input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    font-family: var(--nb-font-body);
    font-size: 14px;
    color: var(--nb-text);
    background: var(--nb-white);
    box-sizing: border-box;
}

.nb-pd__dateWarning {
    background: #FBEFEA;
    border: 1px solid #E3B8A0;
    border-radius: var(--nb-radius);
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #8A4A2A;
}
.nb-pd__suggestList { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nb-pd__suggestBtn {
    border: 1px solid var(--nb-olive);
    background: var(--nb-white);
    color: var(--nb-olive);
    border-radius: var(--nb-radius-pill);
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}
.nb-pd__suggestBtn:hover { background: var(--nb-olive); color: var(--nb-cream); }

.nb-pd__quote { background: var(--nb-cream); border-radius: var(--nb-radius); padding: 16px 20px; margin-bottom: 12px; }
.nb-pd__quoteRow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--nb-text); padding: 4px 0; }
.nb-pd__quoteRow--total { border-top: 1px solid var(--nb-border); margin-top: 8px; padding-top: 10px; font-weight: 700; }
.nb-pd__quoteBreakdown { margin: 6px 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-pd__quoteNote { margin: 8px 0 0; font-size: 12px; color: var(--nb-text-muted); font-style: italic; }

.nb-pd__rateNote { margin: 0 0 20px; font-size: 12px; color: var(--nb-text-muted); }

.nb-pd__ctaGroup { display: flex; flex-direction: column; gap: 12px; }
.nb-pd__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--nb-radius-pill);
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
}
.nb-pd__cta--olive { background: var(--nb-olive); color: var(--nb-cream); }
.nb-pd__cta--gold { background: var(--nb-gold); color: var(--nb-white); }
.nb-pd__cta--outline { background: var(--nb-white); color: var(--nb-olive); border-color: var(--nb-olive); }
.nb-pd__cta:disabled { opacity: .55; cursor: not-allowed; }

.nb-pd__tabs { padding: 8px 0 40px; }
.nb-pd__tabsNav {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--nb-border);
    margin-bottom: 24px;
    overflow-x: auto;
}
.nb-pd__tabBtn {
    background: none;
    border: none;
    padding: 14px 4px;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--nb-text-muted);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.nb-pd__tabBtn.is-active { color: var(--nb-olive); border-bottom-color: var(--nb-olive); }
.nb-pd__tabPanel { display: none; font-size: 14px; line-height: 1.7; color: var(--nb-text); }
.nb-pd__tabPanel.is-active { display: block; }
.nb-pd__infoList { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nb-pd__policy { border-bottom: 1px solid var(--nb-border); padding: 12px 0; }
.nb-pd__policy summary { cursor: pointer; font-weight: 600; color: var(--nb-text); }
.nb-pd__policyBody { margin-top: 8px; color: var(--nb-text-muted); }

/* ==========================================================================
   Responsive check - moi block .nb-* o tren da tu gioi han max-width/flex-wrap
   de khong tao thanh cuon ngang o 375px va 1440px (xem bao cao verify).
   ========================================================================== */

/* ==========================================================================
   Trang chi tiet san pham V2 (templates/product/product_detail_tpl.php) - Figma 184:2014
   Luoi: gallery 600px (anh nho 80 + 20 + anh chinh 500) | 60px | thong tin 560px.
   ========================================================================== */
body:has(.nb-pd2) { background: var(--nb-cream); }
body:has(.nb-pd2) .menu.nb-header { background: transparent; }
.wrap_background:has(> .nb-pd2) { padding: 0; }

.nb-pd2 {
    position: relative;
    padding: 30px 0 61px;
    overflow-x: clip;
    font-family: var(--nb-font-heading);
    color: var(--nb-text);
}
.nb-pd2 > :not(.nb-home__decoLayer) { position: relative; z-index: 1; }
.nb-pd2 .nb-quote2 { margin-top: 17px; }
.nb-pd2 p { margin: 0; }

.nb-pd2__grid { display: flex; align-items: flex-start; gap: 60px; }

/* Gallery - node 184:2775 */
.nb-pd2__gallery { flex: 0 0 600px; display: flex; align-items: flex-start; gap: 20px; }
/* 16/10/2026: cot anh dinh lai khi cuon cot thong tin (may tinh, du cao de thay het anh chinh 650px duoi header thu gon 72px) */
@media (min-width: 1024px) and (min-height: 780px) {
    .nb-pd2__gallery { position: sticky; top: 96px; }
}
.nb-pd2__thumbs {
    flex: 0 0 84px; /* 80px + padding 2px x2 (chua cho vien vang 2px), margin -2px bu lai */
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 650px;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 2px;
    margin: -2px;
}
.nb-pd2__thumbs::-webkit-scrollbar { display: none; }
.nb-pd2__thumb {
    position: relative;
    flex: 0 0 104px;
    width: 80px;
    height: 104px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--nb-icon-bg);
    cursor: pointer;
}
.nb-pd2__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-pd2__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--nb-bg-muted);
}
.nb-pd2__thumb.is-active::after { box-shadow: inset 0 0 0 2px var(--nb-gold); }
/* 15/10/2026 (nhom C4): o video (anh YouTube + nut phat tron kem) va khung phat trong anh chinh */
.nb-pd2__thumb--video { background: var(--nb-olive-dark); }
.nb-pd2__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 17px;
    background: rgba(245, 242, 233, .92);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.nb-pd2__play::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 10px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent var(--nb-olive-dark);
}
.nb-pd2__video { position: absolute; inset: 0; z-index: 3; background: #000; }
.nb-pd2__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.nb-pd2__main.is-video .nb-pd2__zoom,
.nb-pd2__main.is-video .nb-pd2__brand { display: none; }

.nb-pd2__main {
    position: relative;
    flex: 0 0 500px;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--nb-icon-bg);
    box-shadow: 0 4px 10.2px rgba(86, 77, 58, .08);
}
/* Cung khung cat nhu the card (anh SP lay tu Figma co san vien nen) */
.nb-pd2__main > img {
    position: absolute;
    left: 50%;
    top: -4.8%;
    height: 109.59%;
    min-width: 101.72%;
    max-width: none;
    transform: translateX(-50%);
    object-fit: cover;
}
.nb-pd2__brand {
    position: absolute;
    left: 14px;
    top: 16px;
    display: flex;
    align-items: center;
    height: 36px;
    padding: 6px;
    border-radius: 8px;
    background: var(--nb-olive-dark);
    color: var(--nb-cream);
    font-family: var(--nb-font-body);
    font-size: 12px;
    line-height: normal;
    box-sizing: border-box;
}
.nb-pd2__zoom {
    position: absolute;
    right: 14px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: inset 0 0 0 1px var(--nb-gold);
    cursor: zoom-in;
}
.nb-pd2__zoom i {
    width: 24px;
    height: 24px;
    background: var(--nb-olive-dark);
    -webkit-mask: url("../images/nhabo/home/v2-pd-zoom.svg") center / 24px 24px no-repeat;
    mask: url("../images/nhabo/home/v2-pd-zoom.svg") center / 24px 24px no-repeat;
}

/* Thong tin - node 184:2801 */
.nb-pd2__info { flex: 0 0 560px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.nb-pd2__head { display: flex; flex-direction: column; gap: 12px; }
.nb-pd2__category {
    font-family: var(--nb-font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: normal;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--nb-olive);
}
.nb-pd2__title {
    margin: 0;
    font-family: var(--nb-home-serif);
    font-weight: 500;
    font-size: 44px;
    line-height: 46.2px;
    color: var(--nb-text);
}
.nb-pd2__price { display: flex; align-items: baseline; gap: 10px; height: 43px; }
.nb-pd2__price strong {
    font-family: var(--nb-home-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 43px;
    color: var(--nb-gold);
}
.nb-pd2__price span { font-size: 15px; line-height: normal; color: var(--nb-text-muted); }
/* dot 5 (Q1): ty le 100 -> "Gia thue du kien" tren mot dong rieng phia tren gia/ngay (khong ep vao hang cao 43px) */
.nb-pd2__price--est { flex-wrap: wrap; height: auto; row-gap: 0; }
.nb-pd2__price .nb-pd2__priceLabel { flex-basis: 100%; font-size: 13px; }
.nb-pd2__meta { display: flex; align-items: center; gap: 14px; height: 24px; font-size: 14px; line-height: normal; color: var(--nb-text-muted); }
.nb-pd2__rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--nb-olive-dark); }
.nb-pd2__rating i {
    width: 24px;
    height: 24px;
    background: var(--nb-gold);
    -webkit-mask: url("../images/nhabo/home/v2-pd-star.svg") center / 24px 24px no-repeat;
    mask: url("../images/nhabo/home/v2-pd-star.svg") center / 24px 24px no-repeat;
}
.nb-pd2__metaDivider { width: 1px; height: 16px; background: var(--nb-gold); }
.nb-pd2__divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--nb-bg-muted); opacity: 1; }

.nb-pd2__field { display: flex; flex-direction: column; gap: 12px; }
.nb-pd2__fieldHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    color: var(--nb-olive-dark);
}
.nb-pd2__sizeGuide {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--nb-font-heading);
    font-size: 13px;
    color: var(--nb-text-muted);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    cursor: pointer;
}
.nb-pd2__sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.nb-pd2 .nb-pd2__size {
    width: 46px;
    height: 46px;
    margin: 0;
    border: 0;
    border-radius: 23px;
    background: var(--nb-white);
    box-shadow: inset 0 0 0 1px var(--nb-olive);
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    color: var(--nb-olive-dark);
}
.nb-pd2 .nb-pd2__size.is-active { background: var(--nb-olive); color: var(--nb-cream); }
.nb-pd2 .nb-pd2__size.is-disabled { opacity: .5; cursor: not-allowed; }
.nb-pd2__colors { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-pd2 .nb-pd2__color { margin: 0; }
.nb-pd2 .nb-pd2__color span {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px var(--nb-text-muted);
}
.nb-pd2 .nb-pd2__color.is-active span { outline: 0; box-shadow: inset 0 0 0 1px var(--nb-olive-dark), 0 0 0 2px var(--nb-gold); }

.nb-pd2__ctas { display: flex; flex-direction: column; gap: 12px; }
.nb-pd2__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 28px;
    border: 0;
    border-radius: 100px;
    font-family: var(--nb-font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
    transition: filter .2s;
}
.nb-pd2__cta:hover:not(:disabled) { filter: brightness(1.08); }
.nb-pd2__cta:disabled { cursor: not-allowed; opacity: 1; }
.nb-pd2__cta--olive { background: var(--nb-olive); color: var(--nb-cream); font-weight: 700; }
.nb-pd2__cta--outline { background: var(--nb-white); box-shadow: inset 0 0 0 1px var(--nb-olive); color: var(--nb-olive-dark); }

/* 3 USP duoi nut (node 184:2883) */
.nb-pd2__usp .nb-usp { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 26px; }
.nb-pd2__usp .nb-usp__item { flex-direction: row; align-items: center; gap: 8px; text-align: left; }
.nb-pd2__usp .nb-usp__icon { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 0; background: none; }
.nb-pd2__usp .nb-usp__icon img { object-fit: contain; }
.nb-pd2__usp .nb-usp__title { font-weight: 400; font-size: 13px; line-height: 16.9px; color: var(--nb-olive-dark); white-space: nowrap; }

/* Tab - node 184:2896 */
.nb-pd2__tabs {
    margin-top: 30px;
    padding: 0 30px 30px;
    border-radius: 20px;
    background: var(--nb-white);
    filter: drop-shadow(0 4px 5.1px rgba(86, 77, 58, .08));
}
.nb-pd2__tabs .nb-pd2__tabsNav { display: flex; gap: 30px; margin: 0; border-bottom: 1px solid var(--nb-bg-muted); }
.nb-pd2__tabsNav .nb-pd__tabBtn {
    margin: 0 0 -1px;
    padding: 20px 2px 20px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 18px; /* 20 + 18 + 20 + vach 2 = 60px (node 184:2898) */
    letter-spacing: .75px;
    text-transform: uppercase;
    color: var(--nb-text-muted);
    cursor: pointer;
}
.nb-pd2__tabsNav .nb-pd__tabBtn.is-active { border-bottom-color: var(--nb-gold); color: var(--nb-olive-dark); }
.nb-pd2__panel { display: none; max-width: 820px; padding-top: 22px; font-size: 15px; line-height: 22.5px; color: var(--nb-text); }
.nb-pd2__panel.is-active { display: block; }
.nb-pd2__panel ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nb-pd2__panel li { position: relative; padding-left: 15px; }
.nb-pd2__panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 2.5px;
    background: var(--nb-gold);
}
.nb-pd2__panel p + p { margin-top: 12px; }
.nb-pd2__policy + .nb-pd2__policy { margin-top: 12px; }
.nb-pd2__policy summary { font-weight: 600; color: var(--nb-olive-dark); cursor: pointer; }
.nb-pd2__policy > div { padding: 8px 0 0 15px; }

/* Mau tuong tu - node 184:2921 */
.nb-pd2__related { margin-top: 30px; }
.nb-pd2 .nb-home__heading.nb-pd2__relatedHead { justify-content: flex-start; margin-bottom: 24px; }
.nb-pd2__relatedGrid { display: grid; grid-template-columns: repeat(4, 291px); gap: 20px; }


@media (max-width: 1239px) {
    .nb-pd2__grid { gap: 32px; }
    .nb-pd2__gallery { flex: 1 1 auto; }
    .nb-pd2__main { flex: 1 1 auto; height: auto; aspect-ratio: 500 / 650; }
    .nb-pd2__info { flex: 1 1 420px; }
    .nb-pd2__relatedGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .nb-pd2__grid { flex-direction: column; }
    .nb-pd2__gallery,
    .nb-pd2__info { flex: none; width: 100%; }
    .nb-pd2__relatedGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .nb-pd2__usp .nb-usp { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 575px) {
    .nb-pd2__gallery { flex-direction: column-reverse; }
    .nb-pd2__thumbs { flex-direction: row; max-height: none; overflow-x: auto; width: 100%; }
    .nb-pd2__thumb { flex: 0 0 64px; width: 64px; height: 83px; }
    .nb-pd2__main { width: 100%; }
    .nb-pd2__title { font-size: 34px; line-height: 1.1; }
    .nb-pd2__tabs { padding: 0 16px 20px; }
    /* Tab: 2 hang x 2 nut - thanh cuon ngang lam khuat "Danh gia" / "Chinh sach" o 375px */
    .nb-pd2__tabs .nb-pd2__tabsNav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 16px; border-bottom: 0; }
    .nb-pd2__tabsNav .nb-pd__tabBtn { margin: 0; padding: 10px 6px; border: 1px solid var(--nb-bg-muted); border-radius: 999px; font-size: 12px; line-height: 16px; letter-spacing: .3px; white-space: nowrap; text-align: center; }
    .nb-pd2__tabsNav .nb-pd__tabBtn.is-active { border-color: var(--nb-gold); background: var(--nb-cream); }
    /* Diem danh gia + ma SP: 2 dong, ma khong bi ngat */
    .nb-pd2__meta { flex-direction: column; align-items: flex-start; gap: 4px; height: auto; }
    .nb-pd2__metaDivider { display: none; }
    .nb-pd2__meta > span { white-space: nowrap; }
    .nb-pd2__relatedGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    /* The 2 cot (~165px): dong "Coc | Gia goc" tach 2 dong, chu nho - ban 1 dong tran ngang (xem ghi chu .nb-cardgrid) */
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__name,
    .nb-plp2__grid .nb-card--plp .nb-card__name { font-size: 14px; line-height: 18px; }
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__meta,
    .nb-plp2__grid .nb-card--plp .nb-card__meta { flex-direction: column; align-items: center; gap: 4px; height: auto; font-size: 12px; line-height: 16px; }
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__meta span + span::before,
    .nb-plp2__grid .nb-card--plp .nb-card__meta span + span::before { display: none; }
    .nb-pd2__relatedGrid .nb-card__mask,
    .nb-plp2__grid .nb-card__mask { flex-basis: 16px; width: 16px; height: 16px; -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__price,
    .nb-plp2__grid .nb-card--plp .nb-card__price { height: 34px; padding: 9px 6px; font-size: 13px; line-height: 16px; }
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__badge,
    .nb-plp2__grid .nb-card--plp .nb-card__badge { font-size: 11px; }
}

/* ==========================================================================
   Trang "Sap ra mat" (templates/static/coming-soon_tpl.php) - cac muc menu
   Figma chua co trang that: bo-suu-tap, mua-sam, dat-lich-thu, uu-dai, yeu-thich
   ========================================================================== */
.nb-soon { background: var(--nb-cream); padding: 96px 0 120px; }
.nb-soon__inner { max-width: 720px; text-align: center; }
.nb-soon__eyebrow {
    margin: 0 0 12px;
    font-family: var(--nb-font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nb-gold);
}
.nb-soon__title {
    margin: 0 0 16px;
    font-family: var(--nb-font-heading);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.15;
    color: var(--nb-olive-dark);
}
.nb-soon__desc {
    margin: 0 auto 32px;
    max-width: 560px;
    font-family: var(--nb-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--nb-text-muted);
}
.nb-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nb-soon__btnGhost { background: transparent; color: var(--nb-olive); }
.nb-soon__phone { margin: 24px 0 0; font-family: var(--nb-font-body); font-size: 15px; color: var(--nb-text-muted); }
.nb-soon__phone a { color: var(--nb-olive); font-weight: 600; text-decoration: none; }

@media (max-width: 767px) {
    .nb-soon { padding: 56px 0 72px; }
    .nb-soon__title { font-size: 34px; }
}

/* ==========================================================================
   Tai khoan (templates/account/*) va thong bao flash - dot 2
   ========================================================================== */
.nb-flash { padding: 12px 16px; border-radius: var(--nb-radius); margin: 0 0 16px; font-size: 14px; }
.nb-flash--success { background: #EEF1DD; color: var(--nb-olive-dark); }
.nb-flash--error   { background: #F8E3DC; color: #8A2D14; }

.nb-auth { background: var(--nb-cream); padding: 64px 0 96px; }
.nb-auth__card { max-width: 460px; margin: 0 auto; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 40px 32px; }
.nb-auth__title { font-family: var(--nb-font-heading); font-weight: 700; font-size: 28px; color: var(--nb-olive-dark); margin: 0 0 8px; text-align: center; }
.nb-auth__lead { color: var(--nb-text-muted); text-align: center; margin: 0 0 24px; font-size: 15px; }
.nb-auth__form { display: flex; flex-direction: column; gap: 16px; }
.nb-auth__form + .nb-auth__form { margin-top: 12px; }
.nb-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.nb-auth__row a, .nb-auth__alt a { color: var(--nb-olive); font-weight: 600; }
.nb-auth__submit { width: 100%; cursor: pointer; }
.nb-auth__alt { text-align: center; font-size: 14px; color: var(--nb-text-muted); margin: 0; }

.nb-field { display: flex; flex-direction: column; gap: 6px; }
.nb-field__label { font-family: var(--nb-font-heading); font-weight: 600; font-size: 14px; color: var(--nb-text); }
.nb-field__input { height: 48px; padding: 0 16px; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); font: inherit; font-size: 15px; background: var(--nb-white); }
.nb-field__input:focus { outline: none; border-color: var(--nb-olive); box-shadow: 0 0 0 3px rgba(125, 128, 61, 0.15); }
textarea.nb-field__input { height: auto; min-height: 96px; padding: 12px 16px; }
.nb-field__hint { font-size: 13px; color: var(--nb-text-muted); }
.nb-field__error { font-size: 13px; color: #8A2D14; }
.nb-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.nb-btn--ghost { background: transparent; color: var(--nb-olive); border-color: var(--nb-olive); }
.nb-btn--ghost:hover:not(:disabled), .nb-btn--ghost:focus-visible { background: var(--nb-olive); border-color: var(--nb-olive); color: var(--nb-cream); }   /* 16/10/2026 */

@media (max-width: 767px) {
    .nb-auth { padding: 32px 0 56px; }
    .nb-auth__card { padding: 28px 20px; }
    .nb-auth__title { font-size: 24px; }
}

/* Dot 2 - nut gio thue trong popup */
.nb-pd__cartActions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
/* 16/10/2026: bao "da them vao gio" / loi la thong bao noi (nbToast) - bo dong chu + link trong popup chon ngay va khoi Mua */
.nb-pd__cartActions .nb-btn { cursor: pointer; }
.nb-pd__cartActions .nb-btn:disabled { opacity: 0.6; cursor: default; }

/* ==========================================================================
   Gio thue (templates/rental/cart_tpl.php) - dot 2, Task 13
   ========================================================================== */
.nb-rental { background: var(--nb-cream); padding: 48px 0 96px; font-family: var(--nb-font-body); color: var(--nb-text); }
.nb-rental__title { margin: 0 0 24px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 32px; color: var(--nb-olive-dark); }
.nb-rental__empty { background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 48px 24px; text-align: center; }
.nb-rental__empty p { margin: 0 0 20px; color: var(--nb-text-muted); }
.nb-rental__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.nb-rental__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nb-rental__dates { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 20px 24px; }
.nb-rental__dates .nb-field { flex: 1 1 160px; margin-bottom: 0; }   /* 16/10/2026: bootstrap label margin-bottom 8px day o ngay cao hon nut */
.nb-rental__dates .nb-btn { cursor: pointer; height: 48px; }   /* cung cao o ngay (.nb-field__input 48px) */
.nb-rental__line { display: flex; gap: 16px; background: var(--nb-white); border: 1px solid transparent; border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 16px; }
.nb-rental__line.is-unavailable { border-color: #8A2D14; }
.nb-rental__lineImg { flex: 0 0 96px; width: 96px; }
.nb-rental__lineImg a { display: block; }
.nb-rental__lineImg img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--nb-radius); background: var(--nb-cream); }
.nb-rental__lineBody { flex: 1 1 auto; min-width: 0; }
.nb-rental__lineName { margin: 0 0 4px; font-family: var(--nb-font-heading); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--nb-olive-dark); }
.nb-rental__lineName a { color: inherit; text-decoration: none; }
.nb-rental__lineMeta { margin: 0 0 6px; font-size: 14px; color: var(--nb-text-muted); }
.nb-rental__lineBreak { margin: 0; font-size: 14px; color: var(--nb-text-muted); }
.nb-rental__lineWarn { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #8A2D14; }
.nb-rental__suggest { display: inline-block; margin: 0 8px 8px 0; }
.nb-rental__suggest .nb-pill { padding: 6px 16px; font-size: 14px; cursor: pointer; }
.nb-rental__linePrice { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.nb-rental__linePrice strong { font-family: var(--nb-font-heading); font-size: 17px; color: var(--nb-olive-dark); }
.nb-rental__linePrice span { font-size: 13px; color: var(--nb-text-muted); }
.nb-rental__remove { margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #8A2D14; text-decoration: underline; cursor: pointer; }
.nb-rental__summary { position: sticky; top: 200px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 24px; }
.nb-rental__summary h2 { margin: 0 0 16px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 20px; color: var(--nb-olive-dark); }
.nb-rental__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--nb-border); font-size: 14px; }
.nb-rental__row span { color: var(--nb-text-muted); }
.nb-rental__row small { font-size: 12px; }
.nb-rental__row strong { text-align: right; }
.nb-rental__row--total { border-bottom: 0; font-weight: 700; color: var(--nb-olive-dark); }
.nb-rental__row--total span { color: var(--nb-olive-dark); }
.nb-rental__cta { width: 100%; margin-top: 16px; cursor: pointer; }
.nb-rental__cta:disabled { opacity: 0.5; cursor: not-allowed; }
.nb-rental__hint { margin: 12px 0 0; font-size: 13px; color: #8A2D14; text-align: center; }

@media (max-width: 1023px) {
    .nb-rental__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nb-rental__summary { position: static; }
}
@media (max-width: 575px) {
    .nb-rental { padding: 28px 0 64px; }
    .nb-rental__title { font-size: 26px; }
    .nb-rental__dates { padding: 16px; }
    .nb-rental__line { flex-wrap: wrap; }
    .nb-rental__lineImg { flex-basis: 80px; width: 80px; }
    .nb-rental__lineBody { flex: 1 1 calc(100% - 96px); }
    .nb-rental__linePrice { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
    .nb-rental__linePrice form { margin-left: auto; }
    .nb-rental__remove { margin-top: 0; }
}

/* ==========================================================================
   Dat thue (templates/rental/checkout_tpl.php) - dot 2, Task 14
   ========================================================================== */
/* thuoc tinh hidden phai thang display: flex/grid cua cac khoi ben duoi */
.nb-rental [hidden] { display: none !important; }
.nb-rental__box { min-width: 0; margin: 0; background: var(--nb-white); border: 0; border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 24px; }
.nb-rental__box > legend { float: left; width: 100%; margin: 0 0 16px; padding: 0; font-family: var(--nb-font-heading); font-weight: 700; font-size: 18px; color: var(--nb-olive-dark); }
/* legend troi rong 100% de nam trong padding cua the (legend thuong dinh len mep tren); khoi ke sau phai clear, tru input hidden */
.nb-rental__box > legend ~ *:not([type="hidden"]) { clear: both; }
.nb-rental__box .nb-field__error { display: block; margin-top: 8px; }
.nb-rental__box .nb-field__hint { margin: 16px 0 0; }

.nb-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nb-choices--stack { grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
.nb-choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); background: var(--nb-white); cursor: pointer; }
.nb-choice input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--nb-olive); }
.nb-choice__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-choice__body strong { font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; color: var(--nb-text); overflow-wrap: anywhere; }
.nb-choice__body small { font-size: 13px; line-height: 1.4; color: var(--nb-text-muted); overflow-wrap: anywhere; }
.nb-choice:has(input:checked) { border-color: var(--nb-olive); box-shadow: 0 0 0 1px var(--nb-olive); background: #F9FAF0; }
.nb-choice:has(input:focus-visible) { outline: 2px solid var(--nb-olive); outline-offset: 2px; }

.nb-checkout__new { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nb-checkout__new .nb-field { min-width: 0; }
.nb-checkout__wide { grid-column: 1 / -1; }
select.nb-field__input { width: 100%; min-width: 0; padding: 0 12px; }

.nb-checkout__items { list-style: none; margin: 0 0 8px; padding: 0; }
.nb-checkout__items li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--nb-border); font-size: 14px; }
.nb-checkout__itemName { min-width: 0; overflow-wrap: anywhere; }
.nb-checkout__itemName small { display: block; margin-top: 2px; font-size: 12px; color: var(--nb-text-muted); }
.nb-checkout__items strong { flex: 0 0 auto; white-space: nowrap; }
.nb-checkout__hold { color: var(--nb-text-muted); text-align: left; }
/* dot 5 (spec 8.1): ghi chu quyet toan / so du Nha Bo Credit - thong tin, khong phai loi (khac mau do cua .nb-rental__hint) */
.nb-rental__settle, .nb-checkout__settle, .nb-checkout__credit, .nb-pcart__note { color: var(--nb-text-muted); text-align: left; }   /* nb-pcart__note: ghi chu gio mua la thong tin, khong phai loi (14/10/2026) */
.nb-checkout__back { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--nb-olive); font-weight: 600; text-decoration: none; }
.nb-checkout__back:hover { text-decoration: underline; }   /* 16/10/2026: link chu van gach chan khi re chuot (a:where([class]) chung da bo) */

@media (max-width: 575px) {
    .nb-rental__box { padding: 18px 16px; }
    .nb-choices, .nb-checkout__new { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Thanh toan coc + thanh cong (templates/rental/payment_tpl.php, success_tpl.php) - dot 2, Task 15
   ========================================================================== */
.nb-pay__lead { margin: -8px 0 24px; font-size: 15px; line-height: 1.5; color: var(--nb-text-muted); }
.nb-pay__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.nb-pay__card { min-width: 0; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 24px; }
.nb-pay__qr { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.nb-pay__qrImg { display: block; width: 280px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); background: var(--nb-white); }
.nb-pay__qrHint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--nb-text-muted); }
.nb-pay__qr .nb-flash { width: 100%; margin: 0; text-align: left; }
.nb-pay__timer { margin: 0; font-size: 15px; color: var(--nb-text-muted); }
.nb-pay__timer strong { display: inline-block; min-width: 3.4em; font-family: var(--nb-font-heading); font-size: 22px; font-variant-numeric: tabular-nums; color: var(--nb-olive-dark); }
.nb-pay__h { margin: 0 0 16px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 20px; color: var(--nb-olive-dark); }
.nb-pay__partial { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--nb-radius); background: #EEF1DD; color: var(--nb-olive-dark); font-size: 14px; line-height: 1.5; }
.nb-pay__list { margin: 0; }
.nb-pay__item { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--nb-border); }
.nb-pay__item dt { flex: 0 0 auto; font-size: 14px; color: var(--nb-text-muted); }
.nb-pay__item dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 12px; min-width: 0; margin: 0; text-align: right; font-size: 15px; overflow-wrap: anywhere; }
.nb-pay__item dd strong { font-family: var(--nb-font-heading); }
.nb-pay__val { min-width: 0; overflow-wrap: anywhere; }
.nb-pay__item--key { flex-direction: column; align-items: stretch; background: #F9FAF0; margin: 0 -12px; padding: 14px 12px; border-radius: var(--nb-radius); border-bottom: 0; }
.nb-pay__item--key dd { justify-content: space-between; text-align: left; }
.nb-pay__content { font-size: 20px; letter-spacing: 0.02em; color: var(--nb-olive-dark); }
.nb-pay__must { flex: 1 1 100%; font-size: 13px; color: #8A2D14; font-weight: 600; }
.nb-pay__copy { flex: 0 0 auto; padding: 6px 14px; border: 1px solid var(--nb-olive); border-radius: 999px; background: transparent; color: var(--nb-olive); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.nb-pay__copy:hover { background: var(--nb-olive); color: var(--nb-cream); }
.nb-pay__rent { margin: 16px 0 0; font-size: 14px; color: var(--nb-text); }
.nb-pay__status { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--nb-radius); background: #F8E3DC; color: #8A2D14; font-size: 14px; }
.nb-pay__status a { color: inherit; font-weight: 600; }
.nb-pay__auto { margin: 12px 0 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-pay__settle { margin: 8px 0 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-pay__ended { max-width: 640px; }
.nb-pay__ended p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; }
.nb-pay__reorder { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.nb-pay__reorder .nb-btn { cursor: pointer; }
.nb-pay__ended .nb-pay__note { margin: 0; font-size: 13px; color: var(--nb-text-muted); }

.nb-success__card { max-width: 720px; margin: 0 auto; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 32px 32px 28px; }
.nb-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--nb-olive); color: var(--nb-cream); }
.nb-success__lead { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--nb-text-muted); }
.nb-success__h { margin: 20px 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 17px; color: var(--nb-olive-dark); }
.nb-success__card .nb-checkout__items { margin-bottom: 4px; }
.nb-success__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 1023px) {
    .nb-pay__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 575px) {
    .nb-pay__card { padding: 18px 16px; }
    .nb-pay__qrImg { width: 100%; max-width: 280px; }
    .nb-pay__item--key { margin: 0 -8px; padding: 12px 8px; }
    .nb-pay__content { font-size: 18px; }
    .nb-success__card { padding: 24px 18px 20px; }
    .nb-success__actions .nb-btn { flex: 1 1 100%; text-align: center; }
}

/* ==========================================================================
   Tra cuu don (/tra-cuu-don) va thanh tien trinh dung chung (partials/nhabo-stepper.php) - dot 2, Task 16
   ========================================================================== */
.nb-lookup__wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.nb-lookup__title { margin-bottom: 4px; }
.nb-lookup__card { background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); padding: 28px 32px; }
.nb-lookup__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--nb-text-muted); }
.nb-lookup__form { display: flex; flex-direction: column; gap: 16px; }
.nb-lookup__submit { align-self: flex-start; min-width: 160px; cursor: pointer; }
.nb-lookup__result { scroll-margin-top: 90px; }   /* chua cho header co dinh khi nhay toi #ket-qua */
.nb-lookup__result .nb-rental__row:last-of-type { border-bottom: 0; }
.nb-lookup__hint { margin: 16px 0 0; font-size: 14px; color: var(--nb-text-muted); }
.nb-lookup__hint a { color: var(--nb-olive); font-weight: 600; }

.nb-badge { display: inline-block; padding: 4px 14px; border-radius: var(--nb-radius-pill); background: var(--nb-olive-dark); color: var(--nb-cream); font-family: var(--nb-font-heading); font-weight: 700; font-size: 13px; line-height: 1.4; }
.nb-badge--warn { background: var(--nb-gold); color: var(--nb-text); }
.nb-badge--bad  { background: #8A2D14; color: var(--nb-white); }
.nb-badge--off  { background: var(--nb-bg-muted); color: var(--nb-olive-dark); }

.nb-stepper { margin: 8px 0 4px; }
.nb-stepper__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--nb-border); font-size: 14px; }
.nb-stepper__status > span:first-child { color: var(--nb-text-muted); }
/* dot 5 Q5-2: so buoc bat ky (don thue 8, don mua 6) nam tren MOT hang, chia deu trong khung cua chinh no - khong con cot cung 7 lam buoc 8 xuong hang 2 */
.nb-stepper__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 20px 0 14px; padding: 0; list-style: none; }
.nb-stepper__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 2px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--nb-text-muted); min-width: 0; overflow-wrap: break-word; }
.nb-stepper__label { min-width: 0; }
.nb-stepper__item::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--nb-border); }
.nb-stepper__item:first-child::before { display: none; }
.nb-stepper__dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box; border: 2px solid var(--nb-border); border-radius: 50%; background: var(--nb-white); font-family: var(--nb-font-heading); font-weight: 700; font-size: 12px; color: var(--nb-text-muted); }
.nb-stepper__item.is-done::before, .nb-stepper__item.is-current::before { background: var(--nb-olive); }
.nb-stepper__item.is-done .nb-stepper__dot, .nb-stepper__item.is-current .nb-stepper__dot { border-color: var(--nb-olive); background: var(--nb-olive); color: var(--nb-cream); }
.nb-stepper__item.is-current .nb-stepper__dot { box-shadow: 0 0 0 4px rgba(125, 128, 61, 0.22); }
.nb-stepper__item.is-done, .nb-stepper__item.is-current { color: var(--nb-olive-dark); }
.nb-stepper__item.is-current { font-weight: 700; }

@media (max-width: 575px) {
    .nb-lookup__card { padding: 20px 16px; }
    .nb-lookup__submit { align-self: stretch; }
    /* 7 buoc khong vua mot hang o man hinh hep -> xep doc, vach noi o ben trai cac cham */
    .nb-stepper__list { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 16px 0 14px; }
    .nb-stepper__item { flex-direction: row; align-items: center; gap: 12px; padding: 0 0 14px; text-align: left; font-size: 14px; }
    .nb-stepper__item:last-child { padding-bottom: 0; }
    .nb-stepper__item::before { top: -28px; left: 13px; width: 2px; height: 42px; }
    .nb-stepper__item:first-child::before { display: none; }
}

/* ==========================================================================
   My Account (templates/account/orders|order_detail|addresses|profile|password_tpl.php, _nav.php) - dot 2, Task 17
   ========================================================================== */
/* Lien ket "Dang xuat" nho duoi ten o header desktop khi da dang nhap */
.nb-header__accountWrap { position: relative; display: flex; }
.nb-header__logout {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--nb-font-body);
    font-size: 11px;
    line-height: 1.2;
    color: var(--nb-text-muted);
    text-decoration: underline;
    white-space: nowrap;
}
.nb-header__logout:hover { color: var(--nb-olive); }

.nb-acc__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.nb-acc__nav { position: sticky; top: 200px; display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-acc__navLink { display: block; padding: 12px 16px; border-radius: var(--nb-radius); font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; color: var(--nb-text); text-decoration: none; }
.nb-acc__navLink:hover { background: #F9FAF0; }
.nb-acc__navLink.is-active { background: var(--nb-olive); color: var(--nb-cream); }
.nb-acc__navLink--out { margin-top: 4px; font-weight: 500; color: var(--nb-text-muted); }
.nb-acc__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nb-acc__back { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--nb-olive); text-decoration: none; }
.nb-acc__back:hover { text-decoration: underline; }   /* 16/10/2026 */

.nb-acc__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-acc__tab { padding: 8px 18px; border: 1px solid var(--nb-olive); border-radius: var(--nb-radius-pill); font-family: var(--nb-font-heading); font-weight: 600; font-size: 14px; color: var(--nb-olive); text-decoration: none; white-space: nowrap; }
.nb-acc__tab.is-active { background: var(--nb-olive); color: var(--nb-cream); }

.nb-acc__orders { display: flex; flex-direction: column; gap: 12px; }
.nb-acc__order { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 20px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-acc__orderHead { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-width: 0; }
.nb-acc__orderHead > strong { min-width: 0; overflow-wrap: anywhere; font-family: var(--nb-font-heading); font-size: 16px; color: var(--nb-olive-dark); }
.nb-acc__orderCode { font-size: 17px; }
.nb-acc__orderMeta { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; min-width: 0; }
.nb-acc__orderMeta > div { display: flex; flex-direction: column; gap: 2px; }
.nb-acc__orderMeta dt { font-size: 12px; color: var(--nb-text-muted); }
.nb-acc__orderMeta dd { margin: 0; font-size: 15px; font-weight: 600; }
.nb-acc__orderLink { flex: 0 0 auto; padding: 8px 22px; font-size: 14px; }
.nb-acc__more { margin: 0; }
/* Lich thu cua toi (templates/account/tryon_*_tpl.php, Task 21) */
.nb-acc__orderCode a { color: inherit; text-decoration: none; }
.nb-acc__orderCode a:hover, .nb-acc__orderCode a:focus-visible { text-decoration: underline; }
.nb-acc__orderLines { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.nb-acc__orderLines small { color: var(--nb-text-muted); }
.nb-acc__card > .nb-acc__form + .nb-acc__form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--nb-border); }
/* So tien khong bi bat xuong dong giua so (dot 5 Q5-3): strong khong co lai (flex-shrink 0) -> nhan ben canh co lai; van chan 70% de ghi chu/dia chi dai xuong dong */
.nb-acc__card .nb-rental__row > strong { min-width: 0; flex-shrink: 0; max-width: 70%; overflow-wrap: anywhere; }
.nb-acc__addrText { flex: 1 1 100%; margin: 0; font-size: 14px; line-height: 1.5; color: var(--nb-text-muted); overflow-wrap: anywhere; }
.nb-acc__rowActions { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.nb-acc__rowActions form { margin: 0; }
.nb-acc__linkBtn { display: inline-block; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--nb-olive); text-decoration: underline; cursor: pointer; }
.nb-acc__linkBtn--danger { color: #8A2D14; }
.nb-acc__linkBtn:disabled { opacity: 0.5; cursor: default; }

.nb-acc__card { min-width: 0; padding: 24px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-acc__h { margin: 24px 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 18px; color: var(--nb-olive-dark); }
.nb-acc__card > .nb-acc__h:first-child { margin-top: 0; }
.nb-acc__items li small { overflow-wrap: anywhere; }
.nb-acc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.nb-acc__actions .nb-btn { cursor: pointer; }
.nb-acc__note { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--nb-radius); background: #F8E3DC; color: #8A2D14; font-size: 14px; line-height: 1.5; }
.nb-acc__form { display: flex; flex-direction: column; gap: 16px; }
.nb-acc__form > .nb-acc__h { margin: 0; }
.nb-acc__form .nb-btn { cursor: pointer; }
.nb-acc__danger { align-self: flex-start; color: #8A2D14; border-color: #8A2D14; }
.nb-acc__danger:disabled { opacity: 0.5; cursor: default; }
.nb-acc__form .nb-field__input[readonly] { background: var(--nb-icon-bg); color: var(--nb-text-muted); cursor: default; }
.nb-acc__radios { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; border: 0; min-width: 0; }
.nb-acc__radios > legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; }
.nb-acc__radios > label { clear: none; }
.nb-acc__radios input { accent-color: var(--nb-olive); }
.nb-acc__timeline { margin: 0; padding: 0; list-style: none; }
.nb-acc__timeline li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--nb-border); font-size: 14px; }
.nb-acc__timeline li:last-child { border-bottom: 0; }
.nb-acc__timeline span { color: var(--nb-text-muted); }
.nb-slipcard .nb-rental__row > span, .nb-slipcard .nb-rental__row > strong { min-width: 0; overflow-wrap: anywhere; }
.nb-slipcard .nb-rental__row > strong { flex-shrink: 0; max-width: 70%; }
/* bang quyet toan (ReturnService::settlementTableV2, style inline): cot so tien giu tren mot dong */
.nb-slipcard__table td:last-child { white-space: nowrap; }
.nb-slipcard .nb-rental__row > .nb-slipcard__name { color: var(--nb-text); }
.nb-slipcard__name small, .nb-slipcard__fee { display: block; font-weight: 400; color: var(--nb-text-muted); }
.nb-slipcard .nb-acc__note, .nb-slipcard .nb-field__hint { margin: 12px 0 0; }

@media (max-width: 1023px) {
    .nb-acc__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    /* menu doc thanh thanh cuon ngang */
    .nb-acc__nav { position: static; flex-direction: row; gap: 4px; padding: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
    .nb-acc__navLink { flex: 0 0 auto; padding: 10px 16px; white-space: nowrap; }
    .nb-acc__navLink--out { margin-top: 0; }
}
@media (max-width: 575px) {
    .nb-acc__card { padding: 18px 16px; }
    .nb-acc__order { padding: 16px; }
    .nb-acc__orderMeta { flex-direction: column; gap: 8px; flex-basis: 100%; }
    .nb-acc__orderLink { width: 100%; }
    .nb-acc__actions .nb-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Dat lich thu (templates/tryon/form_tpl.php) - dot 3, Task 20
   Form 1 cot duoi 1024px, 2 cot tu 1024px; lich 7 cot co gian; dong san pham dang luoi (khong tran ngang o 375px)
   ========================================================================== */
.nb-tryon__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.nb-tryon__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nb-tryon__box > legend ~ * + * { margin-top: 16px; }
.nb-tryon .nb-btn { cursor: pointer; }
.nb-tryon .nb-btn--outline { color: var(--nb-olive-dark); border-color: var(--nb-olive); }
.nb-tryon .nb-btn--outline:hover:not(:disabled), .nb-tryon .nb-btn--outline:focus-visible { background: var(--nb-olive); color: var(--nb-cream); }   /* 16/10/2026 */
.nb-tryon input[type="radio"] { accent-color: var(--nb-olive); }

.nb-tryon__cal { max-width: 380px; }
.nb-tryon__cal .nb-calendar { margin-bottom: 8px; }
.nb-tryon .nb-calendar__day { aspect-ratio: auto; height: 40px; border-radius: 20px; }
.nb-tryon .nb-calendar__day:not(:disabled):not(.is-empty) { background: #F4F6E6; }
.nb-tryon .nb-calendar__day:not(:disabled):hover { background: #E4E8C8; }
.nb-tryon .nb-calendar__day.is-selected:not(:disabled), .nb-tryon .nb-calendar__day.is-selected:not(:disabled):hover { background: var(--nb-olive); color: var(--nb-cream); }
.nb-tryon .nb-calendar__day:disabled { background: transparent; }
.nb-tryon .nb-calendar__day.is-closed:disabled { background: #F1EEE6; color: var(--nb-text-muted); text-decoration: none; }
.nb-tryon .nb-calendar__day.is-full:disabled { background: #F8E3DC; color: #8A2D14; text-decoration: none; }
.nb-tryon .nb-calendar__day.is-far:disabled { color: var(--nb-border); text-decoration: none; }
.nb-tryon__calNote { min-height: 1.2em; margin: 0; font-size: 13px; color: #8A2D14; }
.nb-tryon__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--nb-text-muted); }
.nb-tryon__legend li { display: inline-flex; align-items: center; gap: 6px; }
.nb-tryon__dot { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--nb-border); }
.nb-tryon__dot--open { background: #F4F6E6; border-color: var(--nb-olive); }
.nb-tryon__dot--closed { background: #F1EEE6; }
.nb-tryon__dot--full { background: #F8E3DC; border-color: #8A2D14; }
.nb-tryon__dot--far { background: var(--nb-white); }

.nb-tryon__results { margin: 8px 0 0; padding: 0; list-style: none; }
.nb-tryon__result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--nb-border); font-size: 14px; }
.nb-tryon__resultName { min-width: 0; overflow-wrap: anywhere; }
.nb-tryon__resultName small { color: var(--nb-text-muted); }
.nb-tryon__result .nb-pill { flex: 0 0 auto; padding: 6px 16px; font-size: 14px; cursor: pointer; }
.nb-tryon__msg { margin: 8px 0 0; font-size: 13px; color: #8A2D14; }
.nb-tryon__empty { margin: 0; font-size: 14px; color: var(--nb-text-muted); }

.nb-tryon__lines { display: flex; flex-direction: column; gap: 12px; }
.nb-tryon__lines:empty { display: none; }
.nb-tryon__line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); background: var(--nb-white); }
.nb-tryon__lineImg { display: block; width: 64px; height: 80px; object-fit: cover; border-radius: var(--nb-radius); background: var(--nb-cream); }
.nb-tryon__lineBody { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nb-tryon__lineName { font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-tryon__lineSku { font-size: 13px; color: var(--nb-text-muted); }
.nb-tryon__lineSku:empty { display: none; }
.nb-tryon__lineOpts { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-tryon__opt { flex: 1 1 120px; min-width: 0; }
.nb-tryon__opt select.nb-field__input { height: 40px; font-size: 14px; }
.nb-tryon__hold { font-size: 14px; }
.nb-tryon__hold--none { margin-top: 12px; }
.nb-tryon__quote { display: block; min-height: 1em; font-size: 13px; color: var(--nb-olive-dark); }
.nb-tryon__quote:empty { display: none; }
.nb-tryon__remove { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #8A2D14; text-decoration: underline; cursor: pointer; }
.nb-tryon__policy { margin: 0; font-size: 14px; line-height: 1.5; }
.nb-tryon__ask p { margin: 0 0 12px; font-weight: 600; }
/* 08/11/2026 brief (L2): luoi khung gio lich thu (templates/tryon/form_tpl.php #nbTryonSlots, account doi lich) */
.nb-tryon__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.nb-tryon__slots:empty { display: none; }
.nb-tryon__slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border: 1px solid var(--nb-olive); border-radius: var(--nb-radius); background: #F4F6E6; cursor: pointer; text-align: center; }
.nb-tryon__slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nb-tryon__slot:hover { background: #E4E8C8; }
.nb-tryon__slot:has(input:checked) { background: var(--nb-olive); color: var(--nb-cream); }
.nb-tryon__slot:has(input:focus-visible) { outline: 2px solid var(--nb-olive-dark); outline-offset: 2px; }
.nb-tryon__slotTime { font-weight: 600; font-size: 14px; }
.nb-tryon__slotState { font-size: 12px; }
.nb-tryon__slot.is-full { border-color: #8A2D14; background: #F8E3DC; color: #8A2D14; cursor: not-allowed; }
.nb-tryon__slot.is-past { border-color: var(--nb-border); background: #F1EEE6; color: var(--nb-text-muted); cursor: not-allowed; }
.nb-tryon__submit { width: 100%; }
.nb-tryon__submit.is-busy { opacity: 0.6; cursor: progress; }

@media (min-width: 1024px) {
    .nb-tryon__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 575px) {
    .nb-tryon__line { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
    .nb-tryon__lineImg { width: 56px; height: 70px; }
    .nb-tryon .nb-calendar__day { height: 38px; }
}

/* Trang chi tiet san pham: 2 nut lich thu la the <a> dung chung kieu .nb-pd2__cta */
a.nb-pd2__cta { box-sizing: border-box; text-decoration: none; }
a.nb-pd2__cta--olive, a.nb-pd2__cta--olive:hover, a.nb-pd2__cta--olive:focus { color: var(--nb-cream); }   /* a:hover chung doi mau chu thanh olive tren nen olive */
a.nb-pd2__cta--outline, a.nb-pd2__cta--outline:hover, a.nb-pd2__cta--outline:focus { color: var(--nb-olive-dark); }
a.nb-pd2__cta:hover { filter: brightness(1.08); }

/* Dot 4: o ma voucher (dat-thue, dat-mua) */
.nb-voucher-apply { margin: 12px 0; }
.nb-voucher-apply__row { display: flex; gap: 8px; }
.nb-voucher-apply__row .nb-field__input { flex: 1 1 auto; min-width: 0; }

/* Dot 4: Tong quan tai khoan, Voucher cua toi, trang Uu dai (Task 14) */
.nb-ov__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.nb-ov__stat { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.nb-ov__label { margin: 0; font-size: 13px; color: var(--nb-text-muted); }
.nb-ov__value { margin: 0; font-family: var(--nb-font-heading); font-weight: 700; font-size: 22px; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-ov__hint { margin: 6px 0 0; font-size: 14px; color: var(--nb-text-muted); }
.nb-ov__tier, .nb-promo__tier { border-top: 4px solid var(--nb-tier, var(--nb-gold)); }
.nb-ov__bar { height: 8px; margin-top: 10px; border-radius: var(--nb-radius-pill); background: var(--nb-cream); overflow: hidden; }
.nb-ov__bar > span { display: block; height: 100%; background: var(--nb-tier, var(--nb-olive)); }
.nb-acc__h small { font-weight: 400; font-size: 13px; color: var(--nb-text-muted); }
.nb-vlist { display: flex; flex-direction: column; gap: 12px; }
.nb-vcard { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; padding: 16px 20px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-vcard__value { font-family: var(--nb-font-heading); font-weight: 700; font-size: 16px; color: var(--nb-olive); overflow-wrap: anywhere; }
.nb-vcard__name { margin: 0 0 4px; font-weight: 600; overflow-wrap: anywhere; }
.nb-vcard__meta { margin: 0; font-size: 13px; line-height: 1.5; color: var(--nb-text-muted); overflow-wrap: anywhere; }
.nb-vcard__code { display: flex; align-items: center; gap: 8px; }
.nb-vcard__code code { padding: 6px 10px; border: 1px dashed var(--nb-gold); border-radius: var(--nb-radius); font-size: 14px; letter-spacing: 0.04em; }
.nb-promo__h { margin: 32px 0 12px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 20px; color: var(--nb-olive-dark); }
.nb-promo__mine { margin-bottom: 16px; }
.nb-promo__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nb-promo__tier { padding: 20px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-promo__tierName { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 17px; }
.nb-promo__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--nb-tier, var(--nb-gold)); }
.nb-promo__tierMin, .nb-promo__tierMeta { margin: 0 0 4px; font-size: 14px; color: var(--nb-text-muted); }
.nb-promo__tierPct { margin: 0 0 4px; font-weight: 600; color: var(--nb-olive); }
.nb-promo__benefits { margin-top: 8px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 575px) {
    .nb-vcard { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
    .nb-vcard__code { flex-wrap: wrap; }
}
/* Khoi voucher trang chu (the co dinh 279px theo Figma): ten / mo ta do admin nhap co the dai -> cat gon, khong de len hinh trai bo (Task 14) */
.nb-vouchers .nb-voucher__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nb-vouchers .nb-voucher__meta { max-width: 144px; overflow: hidden; text-overflow: ellipsis; }

/* ---- Dot 4: khoi mua trang SP, gio mua ---- */
.nb-buy { margin-top: 16px; padding: 16px; border: 1px solid var(--nb-olive-light, #D9D9D9); border-radius: var(--nb-radius-lg); background: var(--nb-white); }
.nb-buy__title { margin: 0 0 8px; font-family: var(--nb-font-heading); font-size: 18px; color: var(--nb-olive-dark); }
.nb-buy__price strong { font-size: 20px; color: var(--nb-olive-dark); }
.nb-buy__variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.nb-buy__chip { cursor: pointer; padding: 6px 12px; border: 1px solid #C9C9C9; border-radius: 999px; font-size: 14px; }
.nb-buy__chip.is-active { border-color: var(--nb-olive-dark); background: var(--nb-olive-dark); color: var(--nb-white); }
.nb-buy__qty { max-width: 140px; }
.nb-buy__cta { width: 100%; margin-top: 8px; }
.nb-pcart__qty { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.nb-pcart__qty .nb-field__input { width: 80px; }
.nb-pvoucher { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin: 12px 0; }
.nb-pvoucher [data-nb-pvoucher-msg] { grid-column: 1 / -1; margin: 0; }
/* 14/10/2026: dien thoai giu o ma + nut cung hang nhu dat-thue (truoc nut "Ap dung" 295px nam rieng mot hang) */
.nb-pvoucher > .nb-field { min-width: 0; margin-bottom: 0; }
.nb-pvoucher .nb-btn { padding-left: 18px; padding-right: 18px; }
[data-nb-pcart-icon][hidden], .nb-buy [hidden] { display: none !important; }   /* the a/li co display rieng: thuoc tinh hidden phai thang */

/* ---- Dot 4 (Task 25): danh gia - khoi trang SP + form My Account ---- */
.nb-rv { display: flex; flex-direction: column; gap: 20px; }
.nb-rv__empty { color: var(--nb-olive-dark); }
.nb-rv__summary { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.nb-rv__score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 140px; }
.nb-rv__score strong { font-size: 40px; line-height: 1; }
.nb-rv__stars { color: var(--nb-gold); letter-spacing: 2px; }
.nb-rv__hist { list-style: none; margin: 0; padding: 0; flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.nb-rv__hist li { display: grid; grid-template-columns: 40px 1fr 32px; gap: 8px; align-items: center; font-size: 14px; }
.nb-rv__bar { display: block; height: 8px; background: var(--nb-bg-muted); border-radius: 4px; overflow: hidden; }
.nb-rv__bar i { display: block; height: 100%; background: var(--nb-gold); }
.nb-rv__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nb-rv__item { border-top: 1px solid var(--nb-bg-muted); padding-top: 12px; }
.nb-rv__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.nb-rv__date { color: var(--nb-olive-dark); font-size: 13px; }
.nb-rv__text { white-space: pre-line; margin: 8px 0 0; overflow-wrap: anywhere; }
.nb-rv__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.nb-rv__photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.nb-rv__reply { margin-top: 8px; padding: 8px 12px; background: var(--nb-cream); border-left: 3px solid var(--nb-gold); }
.nb-rv__reply p { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.nb-rv__more { align-self: center; }
/* khoi danh gia nam trong tab .nb-pd2__panel: bo dau cham / thut le / gap cua danh sach "Thong tin" */
.nb-rv li { padding-left: 0; }
.nb-rv li::before { content: none; display: none; }
.nb-rv .nb-rv__hist { gap: 4px; }
.nb-rv .nb-rv__list { gap: 16px; }
.nb-pd2__rating { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.nb-pd2__rating--none { color: var(--nb-olive-dark); text-align: left; text-decoration: underline; text-underline-offset: 3px; }   /* 0 danh gia: nut mo tab Danh gia (spec feedback 4.4) */
.nb-rvf__form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.nb-rvf__stars { position: relative; border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.nb-rvf__stars legend { width: 100%; margin-bottom: 6px; }
.nb-rvf__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nb-rvf__stars label { font-size: 32px; line-height: 1; color: var(--nb-bg-muted); cursor: pointer; }
.nb-rvf__stars input:checked ~ label, .nb-rvf__stars label:hover, .nb-rvf__stars label:hover ~ label { color: var(--nb-gold); }
.nb-rvf__stars input:focus-visible + label { outline: 2px solid var(--nb-olive-dark); outline-offset: 2px; }
.nb-rvf__photos { display: flex; flex-wrap: wrap; gap: 10px; }
.nb-rvf__photo { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.nb-rvf__photo img { width: 88px; height: 88px; object-fit: cover; border-radius: 4px; }
.nb-rvf__form textarea { width: 100%; max-width: 100%; }
@media (max-width: 575px) {
    .nb-rv__score strong { font-size: 32px; }
    .nb-rvf__stars label { font-size: 28px; }
}

/* ---- Dot 4 (Task 27): trang yeu-thich + bo-suu-tap ---- */
.nb-wl, .nb-coll { padding: 32px 0 64px; }
.nb-wl__note { margin: 0 0 16px; color: var(--nb-olive-dark); }
.nb-wl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.nb-wl__item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nb-wl__item .nb-card { width: 100%; flex: 1 0 auto; }   /* 15/10/2026: the gian het chieu cao o luoi -> gia + "Thue ngay" thang hang giua cac cot */
.nb-wl__rent { align-self: stretch; text-align: center; }
.nb-coll__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nb-coll__card { display: flex; flex-direction: column; background: var(--nb-cream); color: inherit; text-decoration: none; border-radius: 6px; overflow: hidden; }
.nb-coll__card:hover .nb-coll__name, .nb-coll__card:focus-visible .nb-coll__name { text-decoration: underline; }
.nb-coll__media { display: block; aspect-ratio: 4 / 5; background: var(--nb-bg-muted); }
.nb-coll__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-coll__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.nb-coll__name { font-size: 18px; }
.nb-coll__desc { font-size: 14px; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-coll__count { font-size: 13px; color: var(--nb-gold); }
@media (max-width: 1199px) { .nb-wl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .nb-coll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .nb-wl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 479px) { .nb-wl__grid, .nb-coll__grid { grid-template-columns: minmax(0, 1fr); } }
.nb-pd2__head { position: relative; padding-right: 48px; }
.nb-pd2__wish { top: 0; right: 0; }

/* ===== Feedback (14/10/2026, spec feedback 5.4) ===== */
/* Trang /feedback (templates/feedback/feedback_tpl.php) theo anh mau cua chu du an: nen cream, tieu de chu thao "Feedback" + "KHACH HANG"
   gian chu, chip vien tron, the bo goc (anh lon 4:5 + tac gia + SP + nhan xet + 3 anh nho), phan trang nut tron, dai CTA cuoi.
   Chu thao = Cormorant Garamond nghieng (--nb-home-serif, nhabo-home.css nap moi trang) - khong nap font moi. */
.nb-fb { background: var(--nb-cream); color: var(--nb-text); font-family: var(--nb-font-body); padding-bottom: 72px; overflow-x: clip; }
.nb-fb__hero { position: relative; background: linear-gradient(100deg, #FBF8F1 0%, var(--nb-cream) 55%, #EFE8D8 100%); }
.nb-fb__hero::before { content: ''; position: absolute; left: -36px; bottom: -28px; width: 190px; height: 190px; background: url("../images/nhabo/quote-leaf.png") no-repeat center / contain; opacity: .55; transform: rotate(-24deg); pointer-events: none; }
.nb-fb__heroRow { position: relative; display: flex; align-items: center; gap: 40px; min-height: 300px; padding-top: 32px; padding-bottom: 32px; }
.nb-fb__heroText { flex: 1 1 0; min-width: 0; padding-left: clamp(0px, 4vw, 64px); }
.nb-fb__title { margin: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 400; line-height: 1; }
.nb-fb__script { font-family: var(--nb-home-serif); font-style: italic; font-weight: 500; font-size: clamp(64px, 8vw, 112px); line-height: .95; letter-spacing: -1px; color: #6B5A2E; }
.nb-fb__caps { padding-left: .9em; font-family: var(--nb-font-heading); font-weight: 500; font-size: clamp(18px, 2vw, 28px); letter-spacing: .32em; text-transform: uppercase; color: var(--nb-olive-dark); }
.nb-fb__tagline { margin: 14px 0 0; padding-left: 1.6em; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--nb-text-muted); }
.nb-fb__heroMedia { flex: 0 0 52%; max-width: 640px; }
.nb-fb__heroMedia img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 0 0 120px; box-shadow: var(--nb-shadow); }
.nb-fb__hero--text { text-align: center; background: radial-gradient(ellipse at 15% 20%, #FFFDF8 0%, transparent 55%), radial-gradient(ellipse at 85% 80%, #EAE2CF 0%, transparent 60%), var(--nb-cream); }
.nb-fb__hero--text::after { content: ''; position: absolute; right: -30px; top: -20px; width: 170px; height: 170px; background: url("../images/nhabo/quote-leaf.png") no-repeat center / contain; opacity: .45; transform: scaleX(-1) rotate(-30deg); pointer-events: none; }
.nb-fb__hero--text .nb-fb__heroRow { justify-content: center; min-height: 260px; }
.nb-fb__hero--text .nb-fb__heroText { flex: 0 1 auto; padding-left: 0; }
.nb-fb__hero--text .nb-fb__title { align-items: center; }
.nb-fb__hero--text .nb-fb__caps, .nb-fb__hero--text .nb-fb__tagline { padding-left: 0; margin-left: auto; margin-right: auto; }

.nb-fb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 32px 0 8px; }
.nb-fb__chips { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.nb-fb__chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 20px; border: 1px solid #E4DCC8; border-radius: var(--nb-radius-pill); background: #FBF9F3; font-size: 14px; color: var(--nb-olive-dark); text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.nb-fb__chip:hover, .nb-fb__chip:focus-visible { border-color: var(--nb-olive); color: var(--nb-olive-dark); text-decoration: none; }
.nb-fb__chip.is-active { background: var(--nb-olive); border-color: var(--nb-olive); color: var(--nb-cream); font-weight: 600; }
.nb-fb__search { position: relative; flex: 0 1 320px; min-width: 0; margin: 0; }
.nb-fb__search input { width: 100%; height: 44px; padding: 0 48px 0 20px; border: 1px solid #E4DCC8; border-radius: var(--nb-radius-pill); background: var(--nb-white); font: inherit; font-size: 14px; color: var(--nb-text); box-sizing: border-box; }
.nb-fb__search input:focus { outline: none; border-color: var(--nb-olive); box-shadow: 0 0 0 3px rgba(125, 128, 61, .15); }
.nb-fb__search button { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nb-fb__search button img { width: 18px; height: 18px; }

.nb-fb__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 28px 0 22px; }
.nb-fb__h2 { margin: 0; min-width: 0; font-family: var(--nb-home-serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; color: var(--nb-text); }
.nb-fb__h2::before { content: ''; display: inline-block; vertical-align: -5px; width: 30px; height: 30px; margin-right: 10px; background: url("../images/nhabo/quote-leaf.png") no-repeat center / contain; }
.nb-fb__h2 span { margin-left: 4px; white-space: nowrap; font-family: var(--nb-font-body); font-size: 15px; font-weight: 400; color: var(--nb-text-muted); }
.nb-fb__sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.nb-fb__sort select { height: 42px; min-width: 170px; padding: 0 40px 0 18px; border: 1px solid #E4DCC8; border-radius: var(--nb-radius-pill); background: var(--nb-white) url("../images/nhabo/icon-chevron-down.svg") no-repeat right 14px center / 18px; font: inherit; font-size: 14px; color: var(--nb-text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.nb-fb__sort select:focus { outline: none; border-color: var(--nb-olive); box-shadow: 0 0 0 3px rgba(125, 128, 61, .15); }
.nb-fb__sort button { height: 42px; padding: 0 16px; border: 1px solid var(--nb-olive); border-radius: var(--nb-radius-pill); background: var(--nb-olive); color: var(--nb-cream); font: inherit; font-size: 14px; }

.nb-fb__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.nb-fb__card { display: flex; flex-direction: column; min-width: 0; background: var(--nb-white); border: 1px solid #EFE9DB; border-radius: 16px; overflow: hidden; box-shadow: var(--nb-shadow); }
/* 16/10/2026: khung 4:5 dat o KHUNG (khong o anh) + cat theo khung (clip-path) - moi the cung khung du anh goc ti le nao; bo phong to anh
   khi re chuot (anh phong to tran khoi goc bo tron cua the, trong lon hon cac the khac) -> chi lam toi nhe */
.nb-fb__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; clip-path: inset(0); background: var(--nb-bg-muted); }
.nb-fb__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease; }
.nb-fb__media:hover img, .nb-fb__media:focus-visible img { filter: brightness(.92); }
.nb-fb__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 14px 16px 16px; }
.nb-fb__author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nb-fb__avatar { flex: 0 0 36px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #E7E8D2; color: var(--nb-olive-dark); font-family: var(--nb-font-heading); font-weight: 700; font-size: 15px; }
.nb-fb__who { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.nb-fb__who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--nb-font-heading); font-weight: 600; font-size: 14px; color: var(--nb-text); }
.nb-fb__stars { font-size: 13px; letter-spacing: 1px; color: #D9A93A; }
.nb-fb__date { flex: 0 0 auto; align-self: flex-start; font-size: 12px; color: var(--nb-text-muted); }
.nb-fb__product { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--nb-text-muted); text-decoration: none; }
.nb-fb__product:hover, .nb-fb__product:focus-visible { color: var(--nb-olive); text-decoration: underline; }
.nb-fb__quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; margin: 0; font-size: 14px; line-height: 1.55; color: var(--nb-text); overflow-wrap: anywhere; }
.nb-fb__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 4px; }
.nb-fb__thumb { display: block; border-radius: 8px; overflow: hidden; background: var(--nb-bg-muted); }
.nb-fb__thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.nb-fb__thumb:hover img, .nb-fb__thumb:focus-visible img { opacity: .85; }

.nb-fb__pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 36px 0 8px; }
.nb-fb__pg { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #DCD3BE; border-radius: 50%; background: var(--nb-white); font-size: 15px; color: var(--nb-olive-dark); text-decoration: none; }
.nb-fb__pg:hover, .nb-fb__pg:focus-visible { border-color: var(--nb-olive); color: var(--nb-olive-dark); text-decoration: none; }
.nb-fb__pg.is-active { background: var(--nb-olive); border-color: var(--nb-olive); color: var(--nb-cream); font-weight: 600; }
.nb-fb__pg--gap { border-color: transparent; background: transparent; }

.nb-fb__empty { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 40px auto 8px; padding: 40px 24px; max-width: 640px; border: 1px dashed #DCD3BE; border-radius: 16px; background: #FBF9F3; text-align: center; }
.nb-fb__empty p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--nb-olive-dark); }

.nb-fb__cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding: 36px 48px 36px 140px; border: 1px solid #E4DCC8; border-radius: 20px; background: #ECE5D4; overflow: hidden; }
.nb-fb__cta::before { content: ''; position: absolute; left: 12px; top: 50%; width: 112px; height: 112px; margin-top: -56px; background: url("../images/nhabo/quote-leaf.png") no-repeat center / contain; pointer-events: none; }
.nb-fb__ctaText { flex: 1 1 360px; min-width: 0; }
.nb-fb__cta h2 { margin: 0 0 8px; max-width: 18em; text-wrap: balance; font-family: var(--nb-home-serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--nb-text); }
.nb-fb__cta p { margin: 0; font-size: 15px; color: var(--nb-text-muted); }
.nb-fb__cta .nb-btn { flex: 0 0 auto; }

@media (max-width: 1199px) { .nb-fb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    .nb-fb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nb-fb__heroRow { flex-direction: column; align-items: stretch; gap: 24px; }
    .nb-fb__heroText { padding-left: 0; }
    .nb-fb__heroMedia { flex: 0 0 auto; max-width: none; }
    .nb-fb__heroMedia img { border-radius: 20px; }
    .nb-fb__search { flex: 1 1 100%; }
}
@media (max-width: 767px) {
    .nb-fb__cta { padding: 28px 24px; }
    .nb-fb__cta::before { left: auto; right: -14px; top: -14px; margin-top: 0; width: 84px; height: 84px; opacity: .5; }
}
@media (max-width: 575px) {
    /* Dien thoai: luoi 2 cot, the gon (an ngay, avatar nho) - 1 cot thi moi the gan 1 man hinh, 11 feedback dai ~9.600px */
    .nb-fb__grid { gap: 14px 10px; }
    .nb-fb__body { gap: 6px; padding: 10px 10px 12px; }
    .nb-fb__author { gap: 7px; }
    .nb-fb__avatar { flex-basis: 26px; width: 26px; height: 26px; font-size: 12px; }
    .nb-fb__who strong { font-size: 13px; }
    .nb-fb__stars { font-size: 11px; letter-spacing: .5px; }
    .nb-fb__date { display: none; }
    .nb-fb__product { font-size: 12px; }
    .nb-fb__quote { font-size: 13px; line-height: 1.5; }
    .nb-fb__thumbs { gap: 4px; }
    .nb-fb__thumb { border-radius: 6px; }
    .nb-fb__heroMedia img { aspect-ratio: 16 / 9; }
    .nb-fb__heroRow { min-height: 0; padding-top: 28px; padding-bottom: 28px; }
    .nb-fb__hero--text .nb-fb__heroRow { min-height: 200px; }
    .nb-fb__hero::before { left: -48px; bottom: -40px; width: 110px; height: 110px; opacity: .35; }
    .nb-fb__hero--text::after { width: 110px; height: 110px; }
    .nb-fb__caps { letter-spacing: .24em; }
    .nb-fb__tagline { font-size: 15px; }
    .nb-fb__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .nb-fb__chips::-webkit-scrollbar { display: none; }
    .nb-fb__head { align-items: flex-start; }
    .nb-fb__sort, .nb-fb__sort select { width: 100%; }
    .nb-fb__cta .nb-btn { width: 100%; }
}
/* Man rat hep (< 340px): ve 1 cot de the khong qua chat */
@media (max-width: 339px) { .nb-fb__grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Viet danh gia tren trang SP (14/10/2026, spec feedback 4.1-4.4) ===== */
/* Khoi .nb-rvc dau tab "Danh gia" (templates/product/_reviews.php): flash sau khi gui, nut dang nhap / ghi chu / form theo don / trang thai da gui.
   Form dung lai .nb-rvf__* (trang Tai khoan) qua templates/partials/nhabo-review-fields.php. */
/* Cuon toi tab khong bi header co dinh che: #nbPdTabs (JS mo tab Danh gia / nut data-nb-pd-tab-open), #danh-gia (URL #danh-gia sau khi gui - trinh duyet
   cuon toi panel, chua them cho hang tab) */
#nbPdTabs { scroll-margin-top: 90px; }
#danh-gia { scroll-margin-top: 170px; }
.nb-rvc { display: flex; flex-direction: column; gap: 12px; margin: 0 0 24px; padding: 20px; background: var(--nb-cream); border-radius: var(--nb-radius); }
.nb-rvc__flash { padding: 12px 16px; border-radius: var(--nb-radius); font-size: 14px; }
.nb-rvc__flash--success { background: #EEF1DD; color: var(--nb-olive-dark); }
.nb-rvc__flash--error { background: #F8E3DC; color: #8A2D14; }
.nb-rvc__note { margin: 0; color: var(--nb-olive-dark); }
.nb-rvc__note a { color: var(--nb-olive); font-weight: 600; text-decoration: underline; }
.nb-rvc__login { align-self: flex-start; }
.nb-rvc__item { background: var(--nb-white); border-radius: var(--nb-radius); }
.nb-rvc__item > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--nb-olive); border-radius: var(--nb-radius-pill);
    background: var(--nb-white); color: var(--nb-olive); font-weight: 600; cursor: pointer; list-style: none; }
.nb-rvc__item > summary::-webkit-details-marker { display: none; }
.nb-rvc__item > summary:hover, .nb-rvc__item[open] > summary { background: var(--nb-olive); color: var(--nb-white); }
.nb-rvc__item > summary:focus-visible { outline: 2px solid var(--nb-olive-dark); outline-offset: 2px; }
.nb-rvc__item .nb-rvf__form { padding: 4px 16px 16px; }
.nb-rvc__item .nb-rvf__form .nb-btn { align-self: flex-start; }
.nb-rvc__order { margin: 0; font-weight: 600; color: var(--nb-olive-dark); }
@media (max-width: 575px) {
    .nb-rvc { padding: 16px; }
    .nb-rvc__login, .nb-rvc__item > summary, .nb-rvc__item .nb-rvf__form .nb-btn { align-self: stretch; width: 100%; justify-content: center; }
    .nb-rvc__item .nb-rvf__form { padding: 4px 12px 12px; }
}

/* SP co ban (14/10/2026): dong "Co ban: X · Mua ngay" duoi gia thue; khoi Mua khong bi header co dinh che khi nhay toi */
.nb-pd2__saleLink { display: inline-block; margin: 6px 0 4px; padding: 6px 14px; border-radius: 100px; background: var(--nb-cream); color: var(--nb-olive-dark); font-size: 14px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--nb-gold); }
.nb-pd2__saleLink:hover, .nb-pd2__saleLink:focus-visible { background: var(--nb-olive); color: var(--nb-cream); text-decoration: none; box-shadow: inset 0 0 0 1px var(--nb-olive); }   /* 16/10/2026: truoc nen vang + chu trang (mo) */
#nbBuy { scroll-margin-top: 100px; }

/* Dat lich thu (14/10/2026): ma SP trong ket qua tim khong bi ngat giua "NB-" / "00216" */
.nb-tryon__resultName small { white-space: nowrap; }

/* 14/10/2026: nut Zalo noi che chu tren dien thoai - khi thanh duoi hien (<=992 + thiet bi di dong) muc Zalo nam trong thanh duoi, an nut noi */
@media (max-width: 992px) {
    .fix__support--toolbarZalo .btn-zalo { display: none; }
}

/* 14/10/2026 (gio thue - dien thoai): nhan "Thoi gian" khong xuong dong, "(N ngay)" khong bi tach; nut goi y ngay khong tran khung; nut Xoa du lon de bam */
.nb-rental__row--dates span { flex-shrink: 0; }
.nb-rental__row--dates em { font-style: normal; white-space: nowrap; }
.nb-rental__suggest { max-width: 100%; }
.nb-rental__suggest .nb-pill { max-width: 100%; white-space: normal; text-align: left; }
@media (max-width: 575px) {
    .nb-rental__suggest .nb-pill { padding: 6px 12px; font-size: 13px; }
    .nb-rental__remove { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px 0 12px; }
}

/* 14/10/2026 (dat thue - dien thoai): nut "Ap dung" voucher chiem gan nua hang -> o nhap ma qua hep */
.nb-voucher-apply__row .nb-btn { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
/* o dang bao loi: vien do cho de thay (cung mau chu loi) */
.nb-field:has(> .nb-field__error) .nb-field__input { border-color: #8A2D14; }

/* 14/10/2026 (thanh toan coc - dien thoai): QR chiem ca man hinh dau, khach tren dien thoai khong quet duoc QR cua chinh may minh -> QR nho lai,
   them goi y luu anh / sao chep thong tin (chi hien tren man hinh nho) */
.nb-pay__qrPhone { display: none; margin: 0; font-size: 13px; line-height: 1.5; color: var(--nb-olive-dark); }
@media (max-width: 767px) {
    .nb-pay__qrPhone { display: block; }
    .nb-pay__qr .nb-pay__qrHint { display: none; }   /* goi y dien thoai da noi thay */
    .nb-pay__timer { order: -1; }                    /* dem nguoc len dau the: khong bi thanh duoi che */
}
@media (max-width: 575px) {
    .nb-pay__qrImg { max-width: 220px; }
}

/* 14/10/2026 (dat thue thanh cong): dia chi tiem khi nhan tai tiem - gio mo cua xuong dong, chu thuong */
.nb-success__shop span { flex-shrink: 0; }
.nb-success__shop strong { font-weight: 600; }
.nb-success__shop small { display: block; margin-top: 2px; font-weight: 400; color: var(--nb-text-muted); }

/* 14/10/2026 (tra cuu don - dien thoai): placeholder mac dinh trinh duyet dam gan bang chu that -> nhin nhu da dien san */
.nb-field__input::placeholder { color: #A8A89C; opacity: 1; }

/* 14/10/2026 (tai khoan - dien thoai):
   - (menu tai khoan: xem nhabo.js - cuon muc dang mo vao giua thanh cuon ngang)
   - 3 o so lieu chong doc chiem ca man hinh dau -> 2 cot (o "Gia tri thue tich luy"/hang thanh vien chiem ca hang)
   - link "<- Tat ca ..." cao 21px -> vung bam 40px */
@media (max-width: 575px) {
    .nb-ov__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .nb-ov__tier, .nb-ov__stats > div.nb-ov__stat { grid-column: 1 / -1; }
    .nb-ov__stat { padding: 16px; }
    .nb-ov__value { font-size: 20px; }
    .nb-acc__back { display: inline-flex; align-items: center; min-height: 40px; }
}

/* 14/10/2026 (yeu thich - dien thoai):
   - tim "da thich" chi doi mau vien (oliu -> vang) kho nhan ra; trang Yeu thich toan tim da thich -> khach khong biet bam tim la bo. Da thich = tim to dac.
   - luoi 1 cot o <=479 (moi the ~590px, 5 mon ~3000px) -> 2 cot nhu trang Thue do, the gon (cung quy tac .nb-plp2__grid) */
.nb-card--plp .nb-card__wish.is-active::before {
    -webkit-mask-image: url("../images/nhabo/home/v2-plp-heart-fill.svg");
    mask-image: url("../images/nhabo/home/v2-plp-heart-fill.svg");
}
@media (max-width: 575px) {
    .nb-wl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .nb-wl__grid .nb-card--plp .nb-card__name { font-size: 14px; line-height: 18px; }
    .nb-wl__grid .nb-card--plp .nb-card__meta { flex-direction: column; align-items: center; gap: 4px; height: auto; font-size: 12px; line-height: 16px; }
    .nb-wl__grid .nb-card--plp .nb-card__meta span + span::before { display: none; }
    .nb-wl__grid .nb-card__mask { flex-basis: 16px; width: 16px; height: 16px; -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
    .nb-wl__grid .nb-card--plp .nb-card__price { height: 34px; padding: 9px 6px; font-size: 13px; line-height: 16px; }
    .nb-wl__grid .nb-card--plp .nb-card__badge { font-size: 11px; }
    .nb-wl__rent { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
}
@media (max-width: 339px) { .nb-wl__grid { grid-template-columns: minmax(0, 1fr); } }

/* 14/10/2026 (trang SP - dien thoai): dai uu diem duoi khoi Mua/Thue rot 2 + 1 (o thu ba le loi mot hang) -> 3 cot deu, icon tren chu giua */
@media (max-width: 575px) {
    .nb-pd2__usp .nb-usp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
    .nb-pd2__usp .nb-usp__item { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
    .nb-pd2__usp .nb-usp__icon { flex-basis: 30px; width: 30px; height: 30px; }
    .nb-pd2__usp .nb-usp__title { white-space: normal; font-size: 12px; line-height: 16px; }
}


/* 14/10/2026 (lich thu - dien thoai): badge trang thai nam trong .nb-rental__row bi ".nb-rental__row span" doi chu thanh xam -> xam tren nen oliu dam, khong doc duoc */
.nb-rental__row .nb-badge { color: var(--nb-cream); }
.nb-rental__row .nb-badge--warn { color: var(--nb-text); }
.nb-rental__row .nb-badge--bad { color: var(--nb-white); }
.nb-rental__row .nb-badge--off { color: var(--nb-olive-dark); }

/* 14/10/2026 (feedback - dien thoai): JS cuon toi thanh loc khi co tham so loc (chua cho header dinh); link SP trong the cao 18px -> vung bam rong hon */
.nb-fb__bar { scroll-margin-top: 84px; }
@media (max-width: 575px) {
    .nb-fb__product { display: block; padding: 6px 0; margin: -6px 0; }
}

/* ==========================================================================
   Lien he (templates/contact/contact_tpl.php) - 14/10/2026 lam lai theo giao dien Nha Bo
   ========================================================================== */
.nb-contact { padding: 32px 0 72px; }
.nb-contact__lead { margin: -8px 0 24px; font-size: 15px; line-height: 1.5; color: var(--nb-text-muted); }
.nb-contact__quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.nb-contact__item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); color: var(--nb-text); text-decoration: none; }
a.nb-contact__item:hover { color: var(--nb-text); text-decoration: none; box-shadow: 0 0 0 1px var(--nb-olive), var(--nb-shadow); }
.nb-contact__icon { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nb-cream); color: var(--nb-olive-dark); font-size: 18px; }
.nb-contact__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-contact__text small { font-size: 13px; color: var(--nb-text-muted); }
.nb-contact__text strong { font-family: var(--nb-font-heading); font-size: 16px; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-contact__text em { font-style: normal; font-size: 13px; color: var(--nb-text-muted); }
.nb-contact__note { margin-bottom: 24px; line-height: 1.6; }
.nb-contact__card { padding: 24px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-contact__h { margin: 0 0 16px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 20px; color: var(--nb-olive-dark); }
.nb-contact__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; width: 100%; max-width: none; margin: 0; padding: 0; }   /* .form-contact cu (style.css) dat be rong rieng */
.nb-contact__wide { grid-column: 1 / -1; }
.nb-contact__form .nb-field__input { width: 100%; height: 48px; border-radius: var(--nb-radius); box-shadow: none; }
.nb-contact__form textarea.nb-field__input { height: auto; min-height: 120px; }
.nb-contact__form .invalid-feedback { font-size: 13px; color: #8A2D14; }
.nb-contact__form.was-validated .nb-field__input:invalid { border-color: #8A2D14; background-image: none; }
.nb-contact__form.was-validated .nb-field__input:valid { border-color: var(--nb-border); background-image: none; }
.nb-contact__actions { margin-top: 8px; }
.nb-contact__actions .nb-btn { min-width: 200px; cursor: pointer; }
.nb-contact__map { margin-top: 24px; overflow: hidden; border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); line-height: 0; }
.nb-contact__map iframe { display: block; width: 100% !important; height: 420px; border: 0; }
@media (max-width: 575px) {
    .nb-contact { padding: 24px 0 56px; }
    .nb-contact__card { padding: 18px 16px; }
    .nb-contact__form { grid-template-columns: minmax(0, 1fr); }
    .nb-contact__actions .nb-btn { width: 100%; }
    .nb-contact__map iframe { height: 280px; }
}

/* 14/10/2026 (uu dai / voucher cua toi - dien thoai): ma voucher dung mau mac dinh cua <code> (hong) -> mau oliu cua site; dien thoai ma + nut chia deu hang */
.nb-vcard__code code { background: var(--nb-cream); color: var(--nb-olive-dark); font-family: var(--nb-font-heading); font-weight: 700; }
@media (max-width: 575px) {
    .nb-vcard__code { flex-wrap: nowrap; }
    .nb-vcard__code code { flex: 1 1 auto; min-width: 0; text-align: center; overflow-wrap: anywhere; }
    .nb-vcard__code .nb-btn { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================================
   Bai viet - danh sach + chi tiet (templates/news/*) - 14/10/2026 lam lai theo giao dien Nha Bo
   ========================================================================== */
.nb-news { padding: 32px 0 72px; }
.nb-news__intro { margin: -8px 0 24px; color: var(--nb-text-muted); line-height: 1.6; }
.nb-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.nb-news__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-news__media { display: block; overflow: hidden; background: var(--nb-bg-muted); }
.nb-news__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.nb-news__card:hover .nb-news__media img { transform: scale(1.03); }
.nb-news__card, .nb-fb__card { isolation: isolate; }   /* 16/10/2026: anh dang phong to / chuyen dong van bi cat theo goc bo tron cua the */
.nb-news__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.nb-news__date { font-size: 13px; color: var(--nb-text-muted); }
.nb-news__title { margin: 0; font-family: var(--nb-font-heading); font-weight: 700; font-size: 17px; line-height: 1.35; }
.nb-news__title a { color: var(--nb-olive-dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-news__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--nb-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-news__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 2px; font-weight: 600; font-size: 14px; color: var(--nb-olive); text-decoration: none; }
.nb-news__more:hover { text-decoration: underline; }   /* 16/10/2026 */
.nb-article__wrap { max-width: 760px; margin: 0 auto; }
.nb-article__title { margin: 0 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 32px; line-height: 1.25; color: var(--nb-olive-dark); }
.nb-article__meta { margin: 0 0 20px; font-size: 14px; color: var(--nb-text-muted); }
.nb-article__toc { margin-bottom: 20px; padding: 14px 18px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-article__toc ul { margin: 0; padding-left: 18px; }
.nb-article__content { font-size: 16px; line-height: 1.75; color: var(--nb-text); overflow-wrap: anywhere; }
.nb-article__content img, .nb-article__content video, .nb-article__content iframe { max-width: 100% !important; height: auto; border-radius: var(--nb-radius); }
.nb-article__content table { display: block; max-width: 100%; overflow-x: auto; }
.nb-article__content h2, .nb-article__content h3 { margin: 28px 0 10px; font-family: var(--nb-font-heading); color: var(--nb-olive-dark); line-height: 1.35; scroll-margin-top: 90px; }
.nb-article__share { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--nb-border); }
.nb-article .nb-promo__h { max-width: 760px; margin-left: auto; margin-right: auto; }
.nb-article__others { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-article__others li + li { border-top: 1px solid var(--nb-border); }
.nb-article__others a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; color: var(--nb-olive-dark); font-weight: 600; text-decoration: none; }
.nb-article__others time { flex: 0 0 auto; font-weight: 400; font-size: 13px; color: var(--nb-text-muted); }
@media (max-width: 991px) { .nb-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .nb-news { padding: 24px 0 56px; }
    .nb-news__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .nb-news__media img { aspect-ratio: 16 / 9; }
    .nb-news__body { padding: 14px 16px 16px; }
    .nb-article__title { font-size: 24px; }
    .nb-article__content { font-size: 15px; }
    .nb-article__others a { flex-direction: column; align-items: flex-start; gap: 2px; }
}
/* (bai viet) de lai kieu cu cua .content-main h2/h3 va khung .box-readmore xam */
.nb-article__content h2 { font-size: 22px; font-weight: 700; }
.nb-article__content h3 { font-size: 18px; font-weight: 700; }
.nb-article__toc .box-readmore { margin: 0; padding: 0; border: 0; background: none; }
.nb-article__toc .toc-list a { color: var(--nb-olive-dark); font-weight: 600; }
@media (max-width: 575px) { .nb-article__content h2 { font-size: 20px; } .nb-article__content h3 { font-size: 17px; } }

/* Trang tinh "Ve Nha Bo" (templates/static/static_tpl.php) - 14/10/2026; dung chung kieu .nb-article cua bai viet */
.nb-static__photo { display: block; width: 100%; aspect-ratio: 1086 / 453; object-fit: cover; margin: 4px 0 20px; border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-static__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.nb-static__info li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--nb-white); border-radius: var(--nb-radius-lg); box-shadow: var(--nb-shadow); }
.nb-static__info i { flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nb-cream); color: var(--nb-olive-dark); }
.nb-static__info span { display: flex; flex-direction: column; min-width: 0; font-weight: 600; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-static__info small { font-weight: 400; font-size: 13px; color: var(--nb-text-muted); }
.nb-static__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 575px) {
    .nb-static__photo { aspect-ratio: 16 / 9; }
    .nb-static__cta .nb-btn { flex: 1 1 100%; }
}

/* 14/10/2026 (bo suu tap - dien thoai): 1 cot o <=479 (moi the ~560px, 5 BST ~2800px) -> 2 cot the gon: ten 15px, mo ta 2 dong */
@media (max-width: 575px) {
    .nb-coll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .nb-coll__card { border-radius: var(--nb-radius-lg); }
    .nb-coll__body { gap: 4px; padding: 10px 12px 14px; }
    .nb-coll__name { font-size: 15px; line-height: 1.3; }
    .nb-coll__desc { font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .nb-coll__count { font-size: 12px; }
}
@media (max-width: 339px) { .nb-coll__grid { grid-template-columns: minmax(0, 1fr); } }

/* 14/10/2026 (thue-do?concept=): dong "Bo suu tap · Xem bo suu tap khac · Tat ca do thue" duoi tieu de */
.nb-plp2__concept { margin: -8px 0 16px; text-align: center; font-size: 14px; color: var(--nb-text-muted); }
.nb-plp2__concept a { display: inline-block; padding: 6px 2px; color: var(--nb-olive); font-weight: 600; }

/* 14/10/2026 (tim kiem): tieu de "Ket qua cho ..." khong viet hoa tung chu (giu nguyen tu khoa); o tim tren trang ket qua; goi y khi khong co ket qua */
.nb-home__title.nb-home__title--search { text-transform: none !important; }   /* de quy tac capitalize cua tieu de khoi (nhieu lop) */
.nb-plp2__search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 20px; }
.nb-plp2__search input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid #E4DCC8; border-radius: var(--nb-radius-pill); background: var(--nb-white); font: inherit; font-size: 15px; }
.nb-plp2__search input:focus { outline: none; border-color: var(--nb-olive); box-shadow: 0 0 0 3px rgba(125, 128, 61, .15); }
.nb-plp2__search .nb-btn { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }
.nb-plp2__empty .nb-btn { margin-top: 14px; }
/* (tim kiem - o tim header dien thoai) input type=search: bo nut x / vien mac dinh cua trinh duyet cho khop khung tron */
.search-res .search-grid input[type="search"] { -webkit-appearance: none; appearance: none; background: transparent; font-size: 15px; }
.search-res .search-grid input[type="search"]::-webkit-search-cancel-button { display: none; }

/* 14/10/2026 (dang nhap - dien thoai): nut Hien/An mat khau; link "Quen mat khau?" / "Dang ky" / o "Ghi nho" cao 18-21px -> vung bam >= 40px */
.nb-pw { position: relative; display: block; }
.nb-pw .nb-field__input { width: 100%; padding-right: 64px; }
.nb-pw__toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); min-width: 48px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--nb-radius-pill); background: transparent; color: var(--nb-olive); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.nb-pw__toggle:hover, .nb-pw__toggle:focus-visible { background: var(--nb-cream); }
.nb-auth__row a, .nb-auth__alt a { display: inline-flex; align-items: center; min-height: 40px; }
.nb-auth__row .nb-check { min-height: 40px; }

/* 14/10/2026 (quen mat khau): khung "Da gui toi <email>" + goi y Thu rac */
.nb-auth__sent { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--nb-radius); background: #F9FAF0; font-size: 14px; line-height: 1.55; color: var(--nb-olive-dark); overflow-wrap: anywhere; }
.nb-auth__sent em { font-style: normal; font-weight: 600; }

/* 14/10/2026 (xac thuc OTP - dien thoai): o ma 6 so to, can giua, cach chu; "gui lai ma" dang link (vung bam 40px) */
.nb-otp__input { height: 56px; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: .45em; padding-left: .45em; font-variant-numeric: tabular-nums; }
.nb-otp__input::placeholder { letter-spacing: .45em; }
.nb-auth__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--nb-olive); text-decoration: underline; cursor: pointer; }
.nb-auth__form--secondary { gap: 0; }
/* (doi mat khau) link "Quen mat khau hien tai?" duoi o mat khau cu - vung bam 40px */
.nb-acc__forgot { margin: -8px 0 4px; font-size: 14px; }
.nb-acc__forgot a { display: inline-flex; align-items: center; min-height: 40px; color: var(--nb-olive); font-weight: 600; }

/* 14/10/2026 (ho so - dien thoai): gioi tinh dang chip 40px (truoc nut tron chu 21px sat nhau); o "Nhan email uu dai" / link "Doi email" vung bam lon hon */
.nb-acc__radios { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-acc__radios legend { flex: 1 1 100%; margin-bottom: 4px; }
.nb-acc__radios .nb-check { min-height: 40px; padding: 0 16px; border: 1px solid var(--nb-border); border-radius: var(--nb-radius-pill); background: var(--nb-white); }
.nb-acc__radios .nb-check:has(input:checked) { border-color: var(--nb-olive); background: #F9FAF0; color: var(--nb-olive-dark); font-weight: 600; }
.nb-acc__form > .nb-check { min-height: 40px; }
.nb-acc__form a[href="account/doi-email"] { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* 14/10/2026 (so dia chi - dien thoai): bam "Sua" nhay toi #form-dia-chi - tieu de "Sua dia chi" bi header dinh che; nut Dat mac dinh / Sua / Xoa ~27px rong, sat nhau */
#form-dia-chi { scroll-margin-top: 84px; }
.nb-acc__rowActions { gap: 4px 8px; }
.nb-acc__rowActions .nb-acc__linkBtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; }
.nb-acc__rowActions form:first-child .nb-acc__linkBtn, .nb-acc__rowActions > .nb-acc__linkBtn:first-child { padding-left: 0; }

/* 14/10/2026 (Nha Bo Credit - dien thoai): dong lo / lich su - ten giao dich + (nguon · ngay) xuong dong rieng, so tien + "So du" xuong dong rieng (truoc chen nhau) */
.nb-credit__row { align-items: flex-start; }
.nb-credit__row > span { flex: 1 1 auto; min-width: 0; color: var(--nb-text); font-weight: 600; }
.nb-credit__row > strong { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.nb-credit__row small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--nb-text-muted); white-space: normal; }
.nb-credit__row.is-in > strong { color: var(--nb-olive); }

/* 14/10/2026 (form danh gia - dien thoai): sao 40px de bam (truoc 29x28), nhan "Cham diem" cung kieu nhan o khac, nut chon anh dang nut vien oliu (truoc nut mac dinh trinh duyet) */
.nb-rvf__stars { gap: 0; }
.nb-rvf__stars legend { font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; color: var(--nb-text); }
.nb-rvf__stars label { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.nb-rvf__file input[type="file"] { width: 100%; font-size: 13px; color: var(--nb-text-muted); }
.nb-rvf__file input[type="file"]::file-selector-button { margin-right: 12px; min-height: 40px; padding: 0 18px; border: 1px solid var(--nb-olive); border-radius: var(--nb-radius-pill); background: var(--nb-white); color: var(--nb-olive); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.nb-rvf__form textarea, .nb-rvf__file + textarea, .nb-field textarea[name="content"] { padding: 12px 14px; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); background: var(--nb-white); font: inherit; font-size: 15px; line-height: 1.5; }

/* 15/10/2026: quyen loi hang (benefits_html <ul>) - bo le duoi mac dinh cua ul (the hang du khoang trong), dau cham mau hang */
.nb-promo__benefits ul, .nb-promo__benefits ol { margin: 0; padding-left: 20px; }
.nb-promo__benefits li + li { margin-top: 2px; }
.nb-promo__benefits li::marker { color: var(--nb-tier, var(--nb-olive)); }
.nb-promo__benefits > :last-child { margin-bottom: 0; }

/* 15/10/2026 (nhom C6): goi y tim kiem tuc thi - the trang bo 16px, bong nhe nhu sidebar loc; dong dang chon nen kem */
.nb-suggest-host { position: relative; }
.nb-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1000;
    max-height: min(70vh, 460px);
    overflow-y: auto;
    padding: 6px;
    border-radius: 16px;
    background: var(--nb-white);
    box-shadow: 0 8px 24px rgba(86, 77, 58, .16), inset 0 0 0 1px var(--nb-bg-muted);
    text-align: left;
}
.nb-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    color: var(--nb-text);
    text-decoration: none;
}
.nb-suggest__item img,
.nb-suggest__noimg { flex: 0 0 40px; width: 40px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--nb-icon-bg); }
.nb-suggest__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-suggest__name { overflow: hidden; font-family: var(--nb-font-heading); font-weight: 500; font-size: 14px; line-height: 18px; white-space: nowrap; text-overflow: ellipsis; }
.nb-suggest__meta { font-size: 12px; line-height: 16px; color: var(--nb-text-muted); }
.nb-suggest__item:hover,
.nb-suggest__item.is-active,
.nb-suggest__all:hover,
.nb-suggest__all.is-active { background: var(--nb-cream); color: var(--nb-olive-dark); text-decoration: none; }
.nb-suggest__all { display: block; margin-top: 4px; padding: 10px 8px; border-top: 1px solid var(--nb-bg-muted); border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--nb-olive); text-decoration: none; }
.nb-suggest__empty { margin: 0; padding: 12px 10px; font-size: 13px; color: var(--nb-text-muted); }
/* o tim menu dien thoai (.search-grid overflow: hidden cho hieu ung mo) - mo khoa khi dang co goi y */
.search-res .search-grid.nb-suggest-host:has(> .nb-suggest:not([hidden])) { overflow: visible; }

/* ==========================================================================
   16/10/2026: Thong bao noi (nbToast) + hop xac nhan (nbConfirm) - public/js/nhabo.js
   Thay dong chu tron "Da them vao gio..." va alert()/confirm() mac dinh cua trinh duyet. Tren moi lop: popup thue 10050, ngan loc 10001, header.
   ========================================================================== */
.nb-toasts { position: fixed; top: 88px; right: 20px; z-index: 10070; display: flex; flex-direction: column; gap: 12px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }   /* duoi header thu gon 72px - khong che icon gio */
.nb-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 40px 14px 14px;
    border-radius: 16px;
    background: var(--nb-white);
    box-shadow: 0 10px 30px rgba(63, 72, 36, .18), inset 0 0 0 1px #EFE9DB;
    font-family: var(--nb-font-body);
    color: var(--nb-text);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}
.nb-toast.is-in { opacity: 1; transform: none; }
.nb-toast.is-leaving { opacity: 0; transform: translateY(-8px); }
.nb-toast__icon {
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background: var(--nb-olive);
    color: var(--nb-cream);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}
.nb-toast--error .nb-toast__icon { background: #A23B2A; }
.nb-toast__img { flex: 0 0 52px; width: 52px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--nb-icon-bg); }
.nb-toast__body { flex: 1 1 auto; min-width: 0; }
.nb-toast__title { margin: 0; font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--nb-olive-dark); }
.nb-toast--error .nb-toast__title { color: #8A2D14; }
.nb-toast__text { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--nb-text-muted); overflow-wrap: anywhere; }
.nb-toast__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nb-toast__btn.nb-btn { height: 36px; padding: 0 12px; font-size: 13px; }
.nb-toast__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--nb-text-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.nb-toast__close:hover { background: var(--nb-cream); color: var(--nb-olive-dark); }
@media (max-width: 1199px) {
    .nb-toasts { top: 76px; left: 16px; right: 16px; width: auto; }   /* duoi header dien thoai / may tinh bang (co dinh ~64px) */
}
@media (min-width: 768px) and (max-width: 1199px) {
    .nb-toasts { left: auto; width: 400px; }
}

.nb-dialog { position: fixed; inset: 0; z-index: 10080; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(36, 40, 20, .45); }
.nb-dialog__box { width: min(440px, 100%); padding: 24px; border-radius: 20px; background: var(--nb-white); box-shadow: 0 20px 50px rgba(36, 40, 20, .25); font-family: var(--nb-font-body); color: var(--nb-text); }
.nb-dialog__title { margin: 0 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--nb-olive-dark); }
.nb-dialog__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--nb-text); }
.nb-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.nb-dialog__actions .nb-btn { height: 42px; padding: 0 20px; font-size: 14px; cursor: pointer; }
.nb-dialog__actions .nb-btn--danger { background: #A23B2A; border-color: #A23B2A; color: var(--nb-white); }
.nb-dialog__actions .nb-btn--danger:hover, .nb-dialog__actions .nb-btn--danger:focus-visible { background: #7E2B1E; border-color: #7E2B1E; color: var(--nb-white); }
body.nb-dialog-open { overflow: hidden; }
@media (max-width: 575px) {
    .nb-dialog { align-items: flex-end; padding: 0; }
    .nb-dialog__box { width: 100%; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
    .nb-dialog__actions .nb-btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nb-toast { transition: none; }
}

/* ==========================================================================
   22/10/2026: gia thue nhieu ngay (anh mau chu tiem) - nut gia 2 dong tren the SP (khoi "Giá thuê trang phục" trang SP bo 18/11/2026)
   tren the SP (.nb-card__price--tiered: "Từ P / ngày đầu" + "Ngày tiếp theo chỉ +R%", nb_card_rent). Mau theo bien Nha Bo (anh mau dung hong / xanh la).
   ========================================================================== */
.nb-card--plp .nb-card__price--tiered { flex-direction: column; gap: 4px; height: auto; min-height: 38px; padding: 9px 12px; border-radius: 18px; text-align: center; }
.nb-card__priceMain > span { white-space: nowrap; }   /* the hep: xuong dong giua "Từ P" va "/ ngày đầu", khong de rot chu "đầu" */
.nb-card__priceNote { font-family: var(--nb-font-body); font-weight: 500; font-size: 12px; line-height: 14px; color: var(--nb-olive); }
.nb-card--plp:hover .nb-card__priceNote { color: var(--nb-cream); }

@media (max-width: 575px) {
    .nb-plp2__grid .nb-card--plp .nb-card__price--tiered,
    .nb-pd2__relatedGrid .nb-card--plp .nb-card__price--tiered,
    .nb-wl__grid .nb-card--plp .nb-card__price--tiered { height: auto; padding: 7px 6px; }
    .nb-card__priceNote { font-size: 11px; line-height: 13px; }
    .nb-card__priceMain > span { display: block; }   /* the 2 cot: luon 2 dong "Từ P" / "/ ngày đầu" -> nut gia cac the cao bang nhau */
}

/* ==========================================================================
   25/10/2026: anh mau chu tiem (hinh 3) - "Chọn size" | "Chọn màu sắc" canh nhau tren may tinh rong (.nb-pd2__pick); khoi "Chọn ngày thuê"
   ngay tren trang (.nb-pd2__dateCard, thay popup AD-09): lich thang an / hien, bang "Tổng giá thuê dự kiến" tung ngay (act=quote), nut "Đặt thuê".
   Lich chi dinh dang trong .nb-pd2__dateCard (.nb-calendar dung chung voi /dat-lich-thu).
   ========================================================================== */
.nb-pd2__pick { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1240px) {
    .nb-pd2__pick { flex-direction: row; align-items: flex-start; gap: 24px; }
    .nb-pd2__pick > .nb-pd2__field { flex: 1 1 auto; min-width: 0; }
    .nb-pd2__pick > .nb-pd2__field + .nb-pd2__field { flex: 0 1 auto; padding-left: 24px; border-left: 1px solid var(--nb-bg-muted); }
}

.nb-pd2__dateCard .nb-calendar { margin: 2px 0 14px; padding: 12px; border-radius: 12px; background: var(--nb-cream); }
.nb-pd2__dateCard .nb-calendar[hidden] { display: none; }
.nb-pd2__dateCard .nb-calendar__grid { gap: 4px 0; }
.nb-pd2__dateCard .nb-calendar__day { aspect-ratio: auto; height: 40px; border-radius: 20px; }
.nb-pd2__dateCard .nb-calendar__day.is-selected { background: var(--nb-olive); color: var(--nb-cream); }
.nb-pd2__dateCard .nb-calendar__day.is-inrange { background: var(--nb-white); }
/* 08/11/2026 (brief N4): ngay kin "Hết lịch" + chu giai Còn lịch / Hết lịch duoi lich thang */
.nb-pd2__dateCard .nb-calendar__day.is-full:disabled { background: #F8E3DC; color: #8A2D14; text-decoration: none; }
.nb-calendar__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--nb-text-muted); }
.nb-calendar__legend li { display: inline-flex; align-items: center; gap: 6px; }
.nb-calendar__dot { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--nb-border); }
.nb-calendar__dot--open { background: var(--nb-white); border-color: var(--nb-olive); }
.nb-calendar__dot--full { background: #F8E3DC; border-color: #8A2D14; }
.nb-pd2__dateCard .nb-calendar__label { font-family: var(--nb-font-heading); font-weight: 600; color: var(--nb-olive-dark); }
.nb-pd2__dateCard .nb-calendar__nav { box-shadow: inset 0 0 0 1px var(--nb-gold); border: 0; background: var(--nb-white); color: var(--nb-olive-dark); }
.nb-pd2__dateCard .nb-pd__cartActions { margin-top: 0; }

/* ==========================================================================
   18/11/2026: mau thiet ke moi "Chọn ngày cho lần thật xinh" - the dat thue (.nb-pd2__dateCard) chi con MOT nut "Đặt thuê ngay" duoi bang gia gon
   (ngay dau + cac ngay tiep theo + tong), tien coc giu do hien rieng (.nb-pd2__deposit); duoi the: "Bạn muốn thử trước hoặc giữ mẫu?" voi hai
   lua chon phu (.nb-pd2__opt: lich thu nen kem / giu mau vien olive) va nhan "Mẫu đang có sẵn tại showroom" (.nb-pd2__stock). Tong xanh bo - vang kem.
   ========================================================================== */
.nb-pd2__dateCard { scroll-margin-top: 110px; padding: 24px 28px 22px; border: 1px solid rgba(185, 154, 82, .35); border-radius: 20px; background: #FDFBF6; box-shadow: var(--nb-shadow); }
.nb-pd2 .nb-pd2__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; font-family: var(--nb-font-heading); font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--nb-olive-dark); }
.nb-pd2__eyebrow::before, .nb-pd2__eyebrow::after { content: ""; flex: 1 1 0; height: 1px; background: rgba(185, 154, 82, .55); }
.nb-pd2__dateTitle { margin: 0 0 18px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 30px; line-height: 1.2; text-align: center; color: var(--nb-olive-dark); }
.nb-pd2__dateFields { gap: 14px; margin-bottom: 12px; }
.nb-pd2__dateFields .nb-pd__dateField { gap: 8px; font-family: var(--nb-font-heading); font-weight: 600; font-size: 14px; color: var(--nb-text); cursor: pointer; }
.nb-pd2__dateFields .nb-pd__dateField input { height: 48px; padding: 0 44px 0 14px; border-color: var(--nb-bg-muted); border-radius: 10px; background: var(--nb-white) url("../images/nhabo/home/v2-tryon-calendar.svg") right 12px center / 22px 22px no-repeat; font-size: 16px; font-weight: 500; cursor: pointer; }
.nb-pd2 .nb-pd2__daysPill { display: table; margin: 0 auto 16px; padding: 6px 18px; border-radius: 100px; background: rgba(125, 128, 61, .14); font-size: 14px; line-height: 20px; color: var(--nb-olive-dark); }
.nb-pd2__daysPill span[hidden] { display: none; }
.nb-pd2__total { margin: 0 0 12px; padding: 16px 18px; border-radius: 12px; background: #F6F1E5; }
.nb-pd2 .nb-pd2__totalTitle { margin: 0 0 8px; font-family: var(--nb-font-heading); font-weight: 700; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; color: var(--nb-olive-dark); }
.nb-pd2__totalRow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 8px 0; font-size: 15px; line-height: 20px; color: var(--nb-text); }
.nb-pd2__totalRow[hidden] { display: none; }
.nb-pd2__totalRow + .nb-pd2__totalRow { border-top: 1px dashed var(--nb-bg-muted); }
.nb-pd2__totalRow strong { font-weight: 700; white-space: nowrap; }
.nb-pd2__totalRow small { flex-basis: 100%; font-size: 12px; line-height: 16px; color: var(--nb-text-muted); }
.nb-pd2__totalSum { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--nb-bg-muted); }
.nb-pd2 .nb-pd2__totalSum p { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.nb-pd2__totalSum p span { font-family: var(--nb-font-heading); font-weight: 700; font-size: 17px; line-height: 22px; color: var(--nb-text); }
.nb-pd2__totalSum small { font-size: 13px; line-height: 18px; color: var(--nb-text-muted); }
.nb-pd2__totalSum strong { font-family: var(--nb-home-serif); font-weight: 700; font-size: 32px; line-height: 1; color: var(--nb-olive-dark); white-space: nowrap; }
.nb-pd2__deposit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 12px 18px; border-radius: 10px; background: rgba(185, 154, 82, .2); font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; line-height: 20px; color: var(--nb-olive-dark); }
.nb-pd2__deposit strong { font-weight: 700; white-space: nowrap; }
.nb-pd2__dateCard .nb-pd2__book { gap: 12px; width: 100%; height: 52px; font-size: 18px; box-shadow: 0 4px 10px rgba(63, 72, 36, .18); }
.nb-pd2__book span { font-size: 22px; line-height: 1; }
.nb-pd2 .nb-pd2__bookNote { margin: 12px 0 0; font-size: 13px; line-height: 1.6; text-align: center; color: var(--nb-text-muted); }

.nb-pd2__options { display: flex; flex-direction: column; gap: 12px; }
.nb-pd2 .nb-pd2__optionsTitle { display: flex; align-items: center; gap: 14px; margin: 4px 0 2px; font-family: var(--nb-font-heading); font-weight: 600; font-size: 16px; line-height: 22px; text-align: center; color: var(--nb-olive-dark); }
.nb-pd2__optionsTitle::before, .nb-pd2__optionsTitle::after { content: ""; flex: 1 1 24px; height: 1px; background: rgba(185, 154, 82, .55); }
a.nb-pd2__opt { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: var(--nb-text); transition: box-shadow .2s, filter .2s; }
a.nb-pd2__opt:hover, a.nb-pd2__opt:focus { color: var(--nb-text); }
a.nb-pd2__opt:hover { box-shadow: var(--nb-shadow); filter: brightness(1.02); }
.nb-pd2__opt--try { background: linear-gradient(100deg, #F7EEDB, #F3E6C9); box-shadow: inset 0 0 0 1px rgba(185, 154, 82, .3); }
.nb-pd2__opt--hold { background: var(--nb-white); box-shadow: inset 0 0 0 1.5px var(--nb-olive); }
.nb-pd2__optIcon { flex: 0 0 34px; width: 34px; height: 34px; padding-right: 18px; box-sizing: content-box; border-right: 1px solid rgba(185, 154, 82, .7); fill: none; stroke: var(--nb-olive-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nb-pd2__optText { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nb-pd2__optText strong { font-family: var(--nb-font-heading); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--nb-olive-dark); }
.nb-pd2__optText span { font-size: 15px; line-height: 21px; }
.nb-pd2__optText em { font-size: 13px; line-height: 18px; color: var(--nb-text-muted); }
.nb-pd2 .nb-pd2__stock { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 10px; background: rgba(125, 128, 61, .14); font-family: var(--nb-font-heading); font-weight: 600; font-size: 15px; color: var(--nb-olive-dark); }
.nb-pd2__stock i { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--nb-olive); }
.nb-pd2__stock.is-off { background: var(--nb-icon-bg); color: var(--nb-text-muted); }
.nb-pd2__stock.is-off i { background: var(--nb-border); }
@media (max-width: 575px) {
    .nb-pd2__dateCard { padding: 18px 14px 16px; border-radius: 16px; }
    .nb-pd2__eyebrow { gap: 10px; font-size: 11px; letter-spacing: 1.2px; }
    .nb-pd2__dateTitle { font-size: 23px; }
    .nb-pd2__dateFields { gap: 8px; }
    .nb-pd2__dateFields .nb-pd__dateField input { height: 44px; padding: 0 34px 0 10px; background-position: right 8px center; background-size: 20px 20px; font-size: 14px; }
    .nb-pd2__total { padding: 14px; }
    .nb-pd2__totalRow { font-size: 14px; }
    .nb-pd2__totalSum p span { font-size: 15px; }
    .nb-pd2__totalSum strong { font-size: 26px; }
    .nb-pd2__deposit { padding: 11px 14px; font-size: 14px; }
    .nb-pd2__dateCard .nb-pd2__book { height: 48px; font-size: 17px; }
    .nb-pd2__optionsTitle { font-size: 15px; }
    a.nb-pd2__opt { gap: 14px; padding: 14px; }
    .nb-pd2__optIcon { flex-basis: 28px; width: 28px; height: 28px; padding-right: 14px; }
    .nb-pd2__optText strong { font-size: 16px; line-height: 22px; }
    .nb-pd2__optText span { font-size: 14px; line-height: 20px; }
}
