/* =====================================================================
 * Brand tone "Núi xanh – Đỏ son" + home page blocks + decorative motifs.
 * Main colors come from Flatsome (Theme Options → Style → Colors):
 *   Primary   = xanh núi  #1E4A3D
 *   Secondary = đỏ son    #A8322D
 * ================================================================== */

:root {
	--nbt-green: var(--fs-color-primary, #1E4A3D);
	--nbt-red: var(--fs-color-secondary, #A8322D);
	--nbt-green-soft: #E6EEE9;
	--nbt-red-soft: #F5E3DF;
	--nbt-paper: #F7F3EC;
	--nbt-paper-deep: #EFEADF;
	--nbt-ink: #1B2420;
	--nbt-ink-muted: #55605B;
	--nbt-line: #E7E0D3;
}

/* Variables expected by the shared card styles (stays.css). */
.nbt-home {
	--nbt-primary: var(--nbt-green);
	--nbt-accent: var(--nbt-red);
	--nbt-border: var(--nbt-line);
	--nbt-muted: var(--nbt-ink-muted);
	--nbt-bg-soft: var(--nbt-green-soft);
	--nbt-radius: 16px;
}

.nbt-home-empty { color: var(--nbt-ink-muted); font-style: italic; }
.nbt-icon { flex: none; vertical-align: middle; }

/* ---- Hero banner (UX Builder Banner with class "nbt-hero") ---------- */

.nbt-hero .overlay {
	background: linear-gradient(90deg, rgba(247, 243, 236, .95) 0%, rgba(247, 243, 236, .86) 40%, rgba(247, 243, 236, .25) 72%, rgba(247, 243, 236, 0) 100%) !important;
}
.nbt-hero .text-box { color: var(--nbt-ink); }
.nbt-hero h1 {
	color: var(--nbt-green); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: .3em;
}
.nbt-hero h1 em { font-style: normal; color: var(--nbt-red); }
.nbt-hero p { color: #46524D; font-size: 1.1em; max-width: 34em; }
.nbt-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
	color: var(--nbt-red); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
}
.nbt-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

@media (max-width: 849px) {
	.nbt-hero .overlay { background: rgba(247, 243, 236, .86) !important; }
}

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

.nbt-search {
	position: relative; margin-top: -64px; margin-bottom: 8px;
	background: #fff; border-radius: 20px; padding: 24px 26px 26px;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .18); color: var(--nbt-ink);
}
.nbt-search__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nbt-search__tab {
	margin: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	border: 1.5px solid #CFDCD4; background: #fff; color: var(--nbt-green);
	font-weight: 600; font-size: .95rem; text-transform: none; letter-spacing: 0; line-height: 1;
}
.nbt-search__tab:hover { border-color: var(--nbt-green); }
.nbt-search__tab[aria-selected="true"] { background: var(--nbt-green); border-color: var(--nbt-green); color: #fff; }
.nbt-search__tab:focus-visible { outline: 3px solid var(--nbt-red); outline-offset: 2px; }

.nbt-search__panel {
	display: grid; gap: 14px; align-items: end;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	margin: 0;
}
.nbt-search__panel[hidden] { display: none; }
.nbt-field { margin: 0; font-size: .8rem; font-weight: 600; color: #46524D; }
.nbt-field > span { display: block; margin-bottom: 6px; }
.nbt-field small { font-weight: 400; color: #6A746F; }
.nbt-field select,
.nbt-field input[type="date"] {
	margin: 0; height: 48px; width: 100%; border-radius: 12px;
	border: 1.5px solid #D9D2C4; background-color: #FBF9F5; box-shadow: none; font-size: .95rem;
}
.nbt-field--check {
	display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
	border: 1.5px solid #D9D2C4; border-radius: 12px; background: #FBF9F5; font-size: .95rem; color: var(--nbt-ink); cursor: pointer;
}
.nbt-field--check input { margin: 0; width: 18px; height: 18px; accent-color: var(--nbt-green); }
.nbt-search__submit { margin: 0 !important; height: 48px; border-radius: 12px !important; text-transform: none; letter-spacing: 0; }

@media (max-width: 549px) {
	.nbt-search { margin-top: -48px; padding: 18px 16px; }
}

/* ---- Quick links ------------------------------------------------------- */

.nbt-quick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 32px 0 0; }
.nbt-quick__item {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .16); color: #F2F6F3; line-height: 1.4; transition: background .2s;
}
.nbt-quick__item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nbt-quick__item b { display: block; margin-bottom: 2px; }
.nbt-quick__item small { display: block; color: #C9DACF; font-size: .82rem; }
.nbt-quick__icon {
	flex: none; width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .12); color: #fff;
}
.nbt-quick__item.is-accent .nbt-quick__icon { background: var(--nbt-red); }
.nbt-quick--light .nbt-quick__item { border-color: var(--nbt-line); background: #fff; color: var(--nbt-ink); }
.nbt-quick--light .nbt-quick__item small { color: var(--nbt-ink-muted); }
.nbt-quick--light .nbt-quick__icon { background: var(--nbt-green-soft); color: var(--nbt-green); }
.nbt-quick--light .nbt-quick__item.is-accent .nbt-quick__icon { background: var(--nbt-red); color: #fff; }

/* ---- Section heading -------------------------------------------------- */

.nbt-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.nbt-heading__text { max-width: 640px; }
.nbt-heading__eyebrow { display: block; color: var(--nbt-red); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.nbt-heading__title { margin: 0 0 .25em; color: var(--nbt-green); font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; }
.nbt-heading__desc { margin: 0; color: var(--nbt-ink-muted); }
.nbt-heading__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--nbt-green); }
.nbt-heading__link:hover { color: var(--nbt-red); }
.nbt-heading--center { flex-direction: column; align-items: center; text-align: center; }
.nbt-heading--light .nbt-heading__eyebrow { color: #F0B8B1; }
.nbt-heading--light .nbt-heading__title { color: #fff; }
.nbt-heading--light .nbt-heading__desc { color: #D6E3DB; }
.nbt-heading--light .nbt-heading__link { color: #fff; }
.nbt-heading--light .nbt-heading__link:hover { color: #F0B8B1; }

/* ---- Card grid + card tone ------------------------------------------- */

.nbt-home-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nbt-home-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nbt-home-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 849px) {
	.nbt-home-grid, .nbt-home-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 549px) {
	.nbt-home-grid, .nbt-home-grid--2, .nbt-home-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

.nbt-home .nbt-stay-card { border-radius: 16px; border-color: var(--nbt-line); background: #fff; height: 100%; }
.nbt-home .nbt-stay-card:hover { box-shadow: 0 14px 30px rgba(30, 74, 61, .14); }
.nbt-home .nbt-stay-card__placeholder { background: var(--nbt-green-soft); color: var(--nbt-green); }
.nbt-home .nbt-badge { background: var(--nbt-green); }
.nbt-home .nbt-ticket-card .nbt-badge { background: var(--nbt-red); }
.nbt-home .nbt-stay-card__title a { color: var(--nbt-ink); }
.nbt-home .nbt-stay-card__title a:hover { color: var(--nbt-red); }

.nbt-ticket-card__prices { list-style: none; margin: 0 0 12px; font-size: .9em; color: var(--nbt-ink-muted); }
.nbt-ticket-card__prices li { margin: 0 0 2px; display: flex; justify-content: space-between; gap: 8px; }
.nbt-ticket-card__prices strong { color: var(--nbt-red); }
.nbt-ticket-card__cta { width: 100%; text-transform: none; letter-spacing: 0; border-radius: 10px !important; }

.nbt-home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 20px; }
.nbt-home-chips a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1.5px solid #CFDCD4; background: #fff; color: var(--nbt-green); font-weight: 600; font-size: .9rem;
}
.nbt-home-chips a:first-child,
.nbt-home-chips a:hover { background: var(--nbt-green); border-color: var(--nbt-green); color: #fff; }

/* ---- Area tiles -------------------------------------------------------- */

.nbt-area {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 150px; padding: 16px; border-radius: 16px; color: #fff; background: var(--nbt-green);
	transition: transform .2s ease, box-shadow .2s ease;
}
.nbt-area:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 74, 61, .2); }
.nbt-area__peaks { position: absolute; left: 0; top: 0; width: 100%; height: 90px; fill: #fff; opacity: .28; }
.nbt-area__name { position: relative; font-family: var(--fs-heading-font-family, inherit); font-weight: 700; font-size: 1.45rem; line-height: 1.2; }
.nbt-area__sub { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #E3ECE6; }
.nbt-area--1 { background: #2F6352; }
.nbt-area--2 { background: #3E7461; }
.nbt-area--3 { background: #8A2722; }
.nbt-area--4 { background: #24564A; }
.nbt-area--5 { background: var(--nbt-red); }
.nbt-area--6 { background: #35695A; }
.nbt-area--7 { background: #4A7B67; }

/* ---- Promises ---------------------------------------------------------- */

.nbt-promises {
	display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	background: var(--nbt-paper-deep); border-radius: 24px; padding: clamp(20px, 4vw, 40px);
}
.nbt-promise { display: flex; gap: 14px; }
.nbt-promise b { display: block; color: var(--nbt-green); margin-bottom: 2px; }
.nbt-promise p { margin: 0; font-size: .92em; color: var(--nbt-ink-muted); }
.nbt-promise__icon {
	flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--nbt-red);
	display: inline-flex; align-items: center; justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
	.nbt-area, .nbt-quick__item { transition: none; }
	.nbt-area:hover { transform: none; }
}

/* =====================================================================
 * Decorative background motifs for UX Builder Sections.
 * Add to a Section's "Class" field, e.g. "nbt-deco nbt-deco--dinh-right".
 *   nbt-deco--<motif>   → drawn with ::after
 *   nbt-deco-b--<motif> → drawn with ::before (a second motif in the same section)
 * Motifs: dinh-right, dinh-left, pagoda-right, pagoda-left, peaks-right, peaks-left,
 *         forest-right, forest-left, hills-bottom
 * Add "nbt-deco--light" on dark (green) sections to draw them in white.
 * ================================================================== */

.nbt-deco { overflow: hidden; }
.nbt-deco > .section-content { position: relative; z-index: 1; }
.nbt-deco::after,
.nbt-deco::before {
	position: absolute; z-index: 0; pointer-events: none; max-width: 70vw;
	background-color: var(--nbt-green); opacity: .08;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-size: contain; mask-size: contain;
}

/* Đình (communal house roof) */
.nbt-deco--dinh-right::after, .nbt-deco-b--dinh-right::before,
.nbt-deco--dinh-left::after, .nbt-deco-b--dinh-left::before {
	content: ""; top: 24px; width: 400px; height: 250px; background-color: var(--nbt-red); opacity: .06;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Ccircle cx='160' cy='44' r='7'/%3E%3Cpath d='M20 90Q40 92 52 78L268 78Q280 92 300 90Q290 84 286 70Q270 74 255 60L65 60Q50 74 34 70Q30 84 20 90Z'/%3E%3Crect x='70' y='78' width='180' height='20'/%3E%3Cpath d='M50 120Q66 122 76 110L244 110Q254 122 270 120Q262 112 260 98L60 98Q58 112 50 120Z'/%3E%3Crect x='86' y='120' width='9' height='62'/%3E%3Crect x='128' y='120' width='9' height='62'/%3E%3Crect x='183' y='120' width='9' height='62'/%3E%3Crect x='225' y='120' width='9' height='62'/%3E%3Crect x='60' y='182' width='200' height='12' rx='2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Ccircle cx='160' cy='44' r='7'/%3E%3Cpath d='M20 90Q40 92 52 78L268 78Q280 92 300 90Q290 84 286 70Q270 74 255 60L65 60Q50 74 34 70Q30 84 20 90Z'/%3E%3Crect x='70' y='78' width='180' height='20'/%3E%3Cpath d='M50 120Q66 122 76 110L244 110Q254 122 270 120Q262 112 260 98L60 98Q58 112 50 120Z'/%3E%3Crect x='86' y='120' width='9' height='62'/%3E%3Crect x='128' y='120' width='9' height='62'/%3E%3Crect x='183' y='120' width='9' height='62'/%3E%3Crect x='225' y='120' width='9' height='62'/%3E%3Crect x='60' y='182' width='200' height='12' rx='2'/%3E%3C/svg%3E");
}
.nbt-deco--dinh-right::after, .nbt-deco-b--dinh-right::before { right: -60px; -webkit-mask-position: right top; mask-position: right top; }
.nbt-deco--dinh-left::after, .nbt-deco-b--dinh-left::before { left: -60px; -webkit-mask-position: left top; mask-position: left top; }

/* Tháp chùa (pagoda) */
.nbt-deco--pagoda-right::after, .nbt-deco-b--pagoda-right::before,
.nbt-deco--pagoda-left::after, .nbt-deco-b--pagoda-left::before {
	content: ""; top: 30%; width: 190px; height: 254px; background-color: var(--nbt-red); opacity: .06;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 48'%3E%3Cpath d='M17 2h2v8h-2z'/%3E%3Cpath d='M8 18Q18 9 28 18L25 15Q18 10 11 15Z'/%3E%3Cpath d='M12 18h12v6H12z'/%3E%3Cpath d='M5 28Q18 19 31 28L28 25Q18 19 8 25Z'/%3E%3Cpath d='M10 28h16v7H10z'/%3E%3Cpath d='M1 39Q18 29 35 39L32 36Q18 29 4 36Z'/%3E%3Cpath d='M8 39h20v9H8z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 48'%3E%3Cpath d='M17 2h2v8h-2z'/%3E%3Cpath d='M8 18Q18 9 28 18L25 15Q18 10 11 15Z'/%3E%3Cpath d='M12 18h12v6H12z'/%3E%3Cpath d='M5 28Q18 19 31 28L28 25Q18 19 8 25Z'/%3E%3Cpath d='M10 28h16v7H10z'/%3E%3Cpath d='M1 39Q18 29 35 39L32 36Q18 29 4 36Z'/%3E%3Cpath d='M8 39h20v9H8z'/%3E%3C/svg%3E");
}
.nbt-deco--pagoda-right::after, .nbt-deco-b--pagoda-right::before { right: -20px; -webkit-mask-position: right top; mask-position: right top; }
.nbt-deco--pagoda-left::after, .nbt-deco-b--pagoda-left::before { left: -20px; -webkit-mask-position: left top; mask-position: left top; }

/* Dãy núi đá vôi (line art) */
.nbt-deco--peaks-left::after, .nbt-deco-b--peaks-left::before {
	content: ""; top: 8%; left: -90px; width: 680px; height: 227px; opacity: .13;
	-webkit-mask-position: left top; mask-position: left top;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 190C30 190 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 190 600 190'/%3E%3Cpath opacity='.7' d='M40 196C70 170 90 150 110 160C130 130 150 140 160 170C180 150 200 130 220 160C240 185 260 175 280 160C300 140 320 150 330 175'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 190C30 190 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 190 600 190'/%3E%3Cpath opacity='.7' d='M40 196C70 170 90 150 110 160C130 130 150 140 160 170C180 150 200 130 220 160C240 185 260 175 280 160C300 140 320 150 330 175'/%3E%3C/svg%3E");
}
.nbt-deco--peaks-right::after, .nbt-deco-b--peaks-right::before {
	content: ""; top: 8%; right: -110px; width: 720px; height: 240px; opacity: .12;
	-webkit-mask-position: right top; mask-position: right top;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cg transform='translate(600 0) scale(-1 1)'%3E%3Cpath d='M0 190C30 190 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 190 600 190'/%3E%3Cpath opacity='.7' d='M270 196C300 170 320 150 340 160C360 130 380 140 390 170C410 150 430 130 450 160C470 185 490 175 510 160'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cg transform='translate(600 0) scale(-1 1)'%3E%3Cpath d='M0 190C30 190 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 190 600 190'/%3E%3Cpath opacity='.7' d='M270 196C300 170 320 150 340 160C360 130 380 140 390 170C410 150 430 130 450 160C470 185 490 175 510 160'/%3E%3C/g%3E%3C/svg%3E");
}

/* Cây rừng (forest cluster) */
.nbt-deco--forest-right::after, .nbt-deco-b--forest-right::before,
.nbt-deco--forest-left::after, .nbt-deco-b--forest-left::before {
	content: ""; bottom: 0; width: 340px; height: 181px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 160'%3E%3Cpath id='t' transform='translate(0 40)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cpath transform='translate(50 6) scale(1.3)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cpath transform='translate(130 46) scale(.9)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cg transform='translate(180 26)'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='64' cy='60' r='24'/%3E%3Ccircle cx='18' cy='62' r='22'/%3E%3Crect x='36' y='70' width='8' height='64'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 160'%3E%3Cpath id='t' transform='translate(0 40)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cpath transform='translate(50 6) scale(1.3)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cpath transform='translate(130 46) scale(.9)' d='M30 4L46 34H38L52 60H42L58 90H34V116H26V90H2L18 60H8L22 34H14Z'/%3E%3Cg transform='translate(180 26)'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='64' cy='60' r='24'/%3E%3Ccircle cx='18' cy='62' r='22'/%3E%3Crect x='36' y='70' width='8' height='64'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-position: center bottom; mask-position: center bottom;
}
.nbt-deco--forest-right::after, .nbt-deco-b--forest-right::before { right: 0; transform: scaleX(-1); }
.nbt-deco--forest-left::after, .nbt-deco-b--forest-left::before { left: 0; }

/* Đồi núi chạy dọc đáy section (silhouette) */
.nbt-deco--hills-bottom::after, .nbt-deco-b--hills-bottom::before {
	content: ""; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: 200px; opacity: .07;
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200L0 170C30 170 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 170 600 170L600 200Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200L0 170C30 170 40 120 70 110C90 60 120 50 140 100C150 130 165 140 180 120C200 60 230 30 260 80C275 110 290 150 310 140C330 90 350 70 380 100C400 130 420 180 450 160C470 110 500 90 530 120C550 150 580 170 600 170L600 200Z'/%3E%3C/svg%3E");
}

/* White motifs on dark sections */
.nbt-deco--light::after,
.nbt-deco--light::before { background-color: #fff; opacity: .07; }

/* The search band lets the hero search card overlap the banner above it. */
.nbt-deco.nbt-search-band { overflow: visible; }
.nbt-home .nbt-stay-card__cta { white-space: nowrap; }

@media (max-width: 549px) {
	.nbt-areas.nbt-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nbt-area { min-height: 110px; padding: 12px; }
	.nbt-area__name { font-size: 1.1rem; }
	.nbt-area__peaks { height: 60px; }
}

/* ---- Hero search placed inside content (no overlap) ------------------ */

.nbt-search.nbt-search--flat { margin-top: 0; box-shadow: 0 16px 40px rgba(30, 74, 61, .12); border: 1px solid var(--nbt-line); }

/* ---- Compact row cards (cafés, travel tips) -------------------------- */

.nbt-row-card {
	display: flex; gap: 14px; align-items: stretch; height: 100%; box-sizing: border-box;
	background: #fff; border: 1px solid var(--nbt-line); border-radius: 16px; padding: 12px; color: var(--nbt-ink);
	transition: box-shadow .2s ease, transform .2s ease;
}
.nbt-row-card:hover { color: var(--nbt-ink); box-shadow: 0 12px 26px rgba(30, 74, 61, .12); transform: translateY(-2px); }
.nbt-row-card__thumb {
	flex: none; width: 104px; min-height: 100px; border-radius: 12px; overflow: hidden;
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--nbt-paper-deep); color: var(--nbt-ink-muted); font-size: .75rem; font-weight: 600;
}
.nbt-row-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nbt-row-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 2px 0; }
.nbt-row-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nbt-row-card__type { font-size: .78rem; color: var(--nbt-ink-muted); }
.nbt-row-card__title { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--nbt-ink); }
.nbt-row-card__title a { color: inherit; }
.nbt-row-card__title a:hover { color: var(--nbt-red); }
.nbt-row-card__meta { margin: 0; font-size: .85rem; color: var(--nbt-ink-muted); line-height: 1.45; }
.nbt-row-card__meta strong { color: var(--nbt-ink); }

.nbt-status-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
	font-size: .75rem; font-weight: 600; background: #E3EEE7; color: #1E4A3D;
}
.nbt-status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2E8A5E; }
.nbt-status-pill.is-closed { background: var(--nbt-red-soft); color: #872620; }
.nbt-status-pill.is-closed::before { background: var(--nbt-red); }

.nbt-row-list { display: grid; gap: 12px; }
.nbt-tips-list__title { margin: 0 0 12px; font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--nbt-green); }
.nbt-tips-list .nbt-heading__link { margin-top: 6px; }
.nbt-tip-row { align-items: center; }
.nbt-tip-row .nbt-row-card__thumb { width: 84px; min-height: 72px; height: 72px; background: var(--nbt-green-soft); }
.nbt-tip-row:nth-child(3n+2) .nbt-row-card__thumb { background: var(--nbt-red-soft); }
.nbt-tip-row:nth-child(3n) .nbt-row-card__thumb { background: var(--nbt-paper-deep); }
.nbt-tip-row .nbt-row-card__meta { font-size: .78rem; }

/* ---- Featured itinerary ---------------------------------------------- */

.nbt-trip-feature {
	display: flex; flex-direction: column; gap: 20px; height: 100%; box-sizing: border-box;
	background: #fff; border: 1px solid var(--nbt-line); border-radius: 20px; padding: clamp(18px, 3vw, 32px);
}
.nbt-trip-feature__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.nbt-trip-feature__eyebrow { margin: 0 0 4px; font-size: .75rem; font-weight: 600; color: var(--nbt-red); text-transform: uppercase; letter-spacing: .08em; }
.nbt-trip-feature__title { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; color: var(--nbt-green); }
.nbt-trip-feature__title a { color: inherit; }
.nbt-trip-feature__title a:hover { color: var(--nbt-red); }
.nbt-trip-feature__from { margin: 4px 0 0; font-size: .85rem; color: var(--nbt-ink-muted); }
.nbt-trip-feature__cost { background: var(--nbt-red-soft); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.nbt-trip-feature__cost span { font-size: .75rem; font-weight: 600; color: #872620; }
.nbt-trip-feature__cost strong { color: #872620; }

.nbt-trip-feature__days { list-style: none; margin: 0; padding: 0; }
.nbt-trip-feature__day { position: relative; display: flex; gap: 16px; margin: 0; padding-bottom: 22px; }
.nbt-trip-feature__day:last-child { padding-bottom: 0; }
.nbt-trip-feature__day:not(:last-child)::before {
	content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: #DCE6E0;
}
.nbt-trip-feature__num {
	flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--nbt-green); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.nbt-trip-feature__day:nth-child(even) .nbt-trip-feature__num { background: var(--nbt-red); }
.nbt-trip-feature__day-body { flex: 1; min-width: 0; padding-top: 6px; }
.nbt-trip-feature__day-body h4 { margin: 0 0 6px; font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--nbt-ink); }
.nbt-trip-feature__plan { margin: 0 0 10px; font-size: .9rem; color: var(--nbt-ink-muted); }
.nbt-trip-feature__plan b { color: var(--nbt-ink); }
.nbt-trip-feature__chips { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nbt-trip-feature__chips li { margin: 0; }
.nbt-chip-link {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 8px;
	font-size: .82rem; font-weight: 600; line-height: 1.3; background: var(--nbt-green-soft); color: var(--nbt-green);
}
.nbt-chip-link:hover { background: var(--nbt-green); color: #fff; }
.nbt-chip-link--products { background: var(--nbt-red-soft); color: #872620; }
.nbt-chip-link--products:hover { background: var(--nbt-red); color: #fff; }
.nbt-trip-feature__more { margin: -6px 0 0 52px; font-size: .85rem; color: var(--nbt-ink-muted); }
.nbt-trip-feature__cta { align-self: flex-start; margin: 0 !important; border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; }

/* ---- Home 2: split hero with arch photo ------------------------------ */

.nbt-hero-split h1 { color: var(--nbt-green); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; margin-bottom: .3em; }
.nbt-hero-split h1 em { font-style: normal; color: var(--nbt-red); }
.nbt-hero-split p { color: #46524D; font-size: 1.08em; max-width: 34em; }
.nbt-arch { position: relative; }
.nbt-arch img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px;
	box-shadow: 0 24px 50px rgba(30, 74, 61, .22);
}
.nbt-arch::after {
	content: "Ninh Bình"; position: absolute; left: -14px; bottom: 48px; padding: 14px 10px;
	writing-mode: vertical-rl; border-radius: 6px; background: var(--nbt-red); color: #FFF6EE;
	font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .12em;
	box-shadow: 0 10px 24px rgba(168, 50, 45, .35);
}
@media (max-width: 849px) {
	.nbt-arch { max-width: 420px; margin: 0 auto; }
	.nbt-arch img { aspect-ratio: 1 / 1; }
	.nbt-arch::after { left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.nbt-row-card { transition: none; }
	.nbt-row-card:hover { transform: none; }
}

/* ---- Activities (Hoạt động) chips --------------------------------------- */

.nbt-activity {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
	background: var(--nbt-green-soft); color: var(--nbt-green); font-size: .78rem; font-weight: 600; line-height: 1.3;
}
.nbt-activity .nbt-icon { width: 15px; height: 15px; }
a.nbt-activity { min-height: 40px; padding: 0 14px; font-size: .88rem; border: 1.5px solid #CFDCD4; background: #fff; }
a.nbt-activity:hover, a.nbt-activity.is-active { background: var(--nbt-green); border-color: var(--nbt-green); color: #fff; }
.nbt-activities { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.nbt-activity--more { background: var(--nbt-paper-deep); color: var(--nbt-ink-muted); }

.nbt-activity-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 24px; }
.nbt-activity-links__title { font-weight: 600; color: var(--nbt-ink-muted); font-size: .9rem; margin-right: 4px; }
.nbt-heading--light + .nbt-activity-links .nbt-activity-links__title { color: #D6E3DB; }

/* Ticket card: single reference price ("Giá vé từ …") on the home page */
.nbt-ticket-card__from { margin: 0 0 14px; padding: 10px 12px; background: var(--nbt-paper); border-radius: 12px; font-size: .88rem; color: var(--nbt-ink-muted); }
.nbt-ticket-card__from strong { font-size: 1.15rem; color: var(--nbt-red); }
.nbt-ticket-card__from .amount { color: inherit; }

/* =====================================================================
 * Header (Flatsome): top bar, text logo, main menu, cart, "Đặt vé" button.
 * ================================================================== */

/* Top bar */
.header-top { font-size: .8rem; }
.header-top .nbt-topbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.header-top .nbt-topbar a { display: inline-flex; align-items: center; gap: 6px; color: #E6EFEA; }
.header-top .nbt-topbar a:hover { color: #fff; text-decoration: underline; }
.header-top .html_topbar_right .nbt-topbar,
.header-top .nbt-topbar:only-child { color: #C9DACF; }

/* Main bar */
.header-main { box-shadow: 0 1px 0 var(--nbt-line); }
.header-wrapper.stuck .header-main { box-shadow: 0 8px 24px rgba(30, 74, 61, .10); }

/* Text logo (shown until a logo image is uploaded) */
.nbt-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--nbt-green); white-space: nowrap; }
.nbt-logo:hover { color: var(--nbt-green); }
.nbt-logo__seal {
	flex: none; width: 42px; height: 42px; border-radius: 9px; background: var(--nbt-red); color: #FFF6EE;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: "Playfair Display", serif; font-weight: 700; font-size: 1rem; letter-spacing: .02em;
	box-shadow: inset 0 0 0 2px rgba(255, 246, 238, .35);
}
.nbt-logo__text { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.45rem; line-height: 1; }
.nbt-logo__text span { color: var(--nbt-red); }
@media (max-width: 549px) {
	.nbt-logo__seal { width: 34px; height: 34px; font-size: .85rem; }
	.nbt-logo__text { font-size: 1.2rem; }
}

/* Main menu */
.header-nav-main.nav > li > a {
	position: relative; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600;
	color: var(--nbt-ink); padding-left: 2px; padding-right: 2px;
}
.header-nav-main.nav > li { margin: 0 11px; }
.header-nav-main.nav > li > a:hover,
.header-nav-main.nav > li.current-menu-item > a,
.header-nav-main.nav > li.current-menu-ancestor > a,
.header-nav-main.nav > li.active > a { color: var(--nbt-green); }
.header-nav-main.nav > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; border-radius: 2px;
	background: var(--nbt-red); transform: scaleX(0); transition: transform .2s ease;
}
.header-nav-main.nav > li > a:hover::after,
.header-nav-main.nav > li.current-menu-item > a::after,
.header-nav-main.nav > li.current-menu-ancestor > a::after,
.header-nav-main.nav > li.active > a::after { transform: scaleX(1); }
.header-nav .icon-search { color: var(--nbt-green); }

/* Dropdown */
.nav-dropdown { border: 1px solid var(--nbt-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(30, 74, 61, .14); padding: 8px 0; }
.nav-dropdown > li > a { color: var(--nbt-ink); font-weight: 500; text-transform: none; }
.nav-dropdown > li > a:hover,
.nav-dropdown > li.current-menu-item > a { color: var(--nbt-red); background: var(--nbt-paper); }

/* Account / cart */
.header-nav .account-item > a,
.header-nav .cart-item > a { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--nbt-ink); }
.header-nav .cart-item > a:hover,
.header-nav .account-item > a:hover { color: var(--nbt-green); }
.header-nav .cart-price .amount { color: var(--nbt-red); }
.header .cart-icon strong {
	border-color: var(--nbt-green); color: var(--nbt-green); border-radius: 6px;
}
.header .cart-icon strong::after { border-color: var(--nbt-green); }
.header .cart-icon:hover strong,
.header .current-dropdown .cart-icon strong { background: var(--nbt-green); color: #fff; }

/* "Đặt vé" button (Header → Buttons → Button 1) */
.header-button-1 .button,
.header-button .button.secondary {
	text-transform: none; letter-spacing: 0; font-weight: 700; border-radius: 999px !important;
	padding: 0 22px; min-height: 42px; line-height: 42px; margin: 0;
	box-shadow: 0 8px 18px rgba(168, 50, 45, .22);
}
.header-button-1 .button:hover { background: #872620 !important; }

/* Mobile off-canvas menu */
.off-canvas .nav-sidebar > li > a { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--nbt-ink); }
.off-canvas .nav-sidebar > li.current-menu-item > a,
.off-canvas .nav-sidebar > li.active > a { color: var(--nbt-red); }
.off-canvas .nav-sidebar .nbt-topbar { display: flex; flex-direction: column; gap: 8px; padding: 12px 20px; }
.off-canvas .nav-sidebar .nbt-topbar a { color: var(--nbt-green); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
	.header-nav-main.nav > li > a::after { transition: none; }
}

/* Header fixes after first render */
#logo { width: auto !important; max-width: none; }
#logo .nbt-logo,
#logo .nbt-logo__text { text-transform: none; letter-spacing: 0; }
.header-nav-main.nav > li > a::after { display: none; }
.header-nav-main.nav > li > a:hover,
.header-nav-main.nav > li.current-menu-item > a,
.header-nav-main.nav > li.current-menu-ancestor > a,
.header-nav-main.nav > li.active > a {
	text-decoration: underline; text-decoration-color: var(--nbt-red); text-decoration-thickness: 2px; text-underline-offset: 9px;
}
.header-nav-main.nav > li.has-dropdown > a { text-decoration: none; }
.header-nav-main.nav > li.has-dropdown.current-menu-ancestor > a,
.header-nav-main.nav > li.has-dropdown.current-menu-item > a { text-decoration: underline; text-decoration-color: var(--nbt-red); text-decoration-thickness: 2px; text-underline-offset: 9px; }

/* Area tiles with a photo (Lưu trú → Khu vực → Ảnh đại diện) */
.nbt-area.has-photo { min-height: 180px; background: var(--nbt-green); }
.nbt-area__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.nbt-area.has-photo::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(20, 50, 41, 0) 30%, rgba(20, 50, 41, .82) 100%);
}
.nbt-area.has-photo:hover .nbt-area__img { transform: scale(1.05); }
.nbt-area.has-photo .nbt-area__name,
.nbt-area.has-photo .nbt-area__sub { z-index: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
@media (max-width: 549px) { .nbt-area.has-photo { min-height: 130px; } }
@media (prefers-reduced-motion: reduce) { .nbt-area__img { transition: none; } .nbt-area.has-photo:hover .nbt-area__img { transform: none; } }
.nbt-area.has-photo .nbt-area__img { z-index: 0; }
.nbt-area.has-photo::before { z-index: 1; background: linear-gradient(180deg, rgba(20, 50, 41, .05) 20%, rgba(20, 50, 41, .85) 100%); }
.nbt-area.has-photo .nbt-area__name,
.nbt-area.has-photo .nbt-area__sub { z-index: 2; }

/* =====================================================================
 * Contact icon buttons (phone / Zalo / Facebook) – rounded squares.
 * Markup: nbt_contact_icons() in inc/contact.php.
 * ================================================================== */

.nbt-contact-icons { margin: 16px 0; }
.nbt-contact-icons__label { margin: 0 0 10px; font-size: .88rem; font-weight: 600; color: #46524D; }
.nbt-contact-icons--center .nbt-contact-icons__label { text-align: center; }
.nbt-contact-icons__row { display: flex; flex-wrap: wrap; gap: 14px; }
.nbt-contact-icons--center .nbt-contact-icons__row { justify-content: center; }
.nbt-contact-icons .nbt-icon-btn {
	display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 56px;
	color: #46524D; font-size: .74rem; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.nbt-contact-icons .nbt-icon-btn svg {
	width: 52px; height: 52px; padding: 14px; box-sizing: border-box; border-radius: 14px;
	color: #fff; transition: transform .15s ease, box-shadow .15s ease;
}
.nbt-contact-icons .nbt-icon-btn--phone svg { background: var(--nbt-green); }
.nbt-contact-icons .nbt-icon-btn--zalo svg { background: #0068FF; padding: 9px; }
.nbt-contact-icons .nbt-icon-btn--zalo svg path { fill: #fff; }
.nbt-contact-icons .nbt-icon-btn--zalo svg text { fill: #0068FF; }
.nbt-contact-icons .nbt-icon-btn--facebook svg { background: #1877F2; }
.nbt-contact-icons .nbt-icon-btn:hover { color: var(--nbt-ink); }
.nbt-contact-icons .nbt-icon-btn:hover svg { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.nbt-contact-icons .nbt-icon-btn:focus-visible { outline: none; }
.nbt-contact-icons .nbt-icon-btn:focus-visible svg { outline: 3px solid var(--nbt-red); outline-offset: 3px; }
.nbt-trip-contact .nbt-contact-icons,
.nbt-ticket-booking__help .nbt-contact-icons,
.nbt-tickets-help .nbt-contact-icons { margin: 4px 0 0; }
.nbt-ticket-booking__help { display: block; }
@media (prefers-reduced-motion: reduce) {
	.nbt-contact-icons .nbt-icon-btn svg { transition: none; }
	.nbt-contact-icons .nbt-icon-btn:hover svg { transform: none; }
}

/* ---- Mobile floating contact buttons (bottom-right) -------------------- */

.nbt-fab { display: none; }
@media (max-width: 849px) {
	.nbt-fab {
		position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 98;
		display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
	}
	.nbt-fab__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 6px;
		width: 52px; height: 52px; box-sizing: border-box; border-radius: 14px; color: #fff;
		box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
	}
	.nbt-fab__btn svg { width: 24px; height: 24px; }
	.nbt-fab__btn--phone { background: var(--nbt-green); }
	.nbt-fab__btn--zalo { background: #0068FF; }
	.nbt-fab__btn--zalo svg { width: 32px; height: 32px; }
	.nbt-fab__btn--zalo svg path { fill: #fff; }
	.nbt-fab__btn--zalo svg text { fill: #0068FF; }
	.nbt-fab__btn--facebook { background: #1877F2; }
	.nbt-fab__btn--primary {
		width: auto; height: 52px; padding: 0 16px; background: var(--nbt-red);
		font-weight: 700; font-size: .9rem; white-space: nowrap;
	}
	.nbt-fab__btn:hover, .nbt-fab__btn:focus-visible { color: #fff; filter: brightness(1.08); }
	.nbt-fab__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}
@media (max-width: 849px) {
	/* Flatsome's "back to top" sits in the same corner: hide it where the floating buttons are shown. */
	body:has(.nbt-fab) .back-to-top { display: none !important; }
}
.nbt-contact-icons .nbt-icon-btn--map svg { background: var(--nbt-red); }
/* Keep the contact icons on one row in sidebars (4 icons fit in ~300px). */
.nbt-contact-icons__row { flex-wrap: nowrap; gap: 12px; }
@media (max-width: 359px) { .nbt-contact-icons__row { flex-wrap: wrap; } }

/* =====================================================================
 * Footer (UX Block "Footer NinhBinhTicket" + Flatsome absolute footer)
 * ================================================================== */

.nbt-logo--light { color: #fff; }
.nbt-logo--light:hover { color: #fff; }
.nbt-logo--light .nbt-logo__text span { color: #F0B8B1; }

.nbt-footer { color: #D6E3DB; }
.nbt-footer p { color: #C9DACF; font-size: .92rem; }
.nbt-footer a { color: #E6EFEA; }
.nbt-footer a:hover { color: #fff; }
.nbt-footer .nbt-footer__title {
	margin: 0 0 12px; color: #F0B8B1; font-family: inherit; font-size: .78rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
}
.nbt-footer .ux-menu-link__link { min-height: 34px; padding: 4px 0; border: 0; color: #E6EFEA; font-size: .95rem; }
.nbt-footer .ux-menu-link__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nbt-footer .ux-menu-link__icon { color: #F0B8B1; }
.nbt-footer .ux-menu.stack > .ux-menu-link + .ux-menu-link { border-top: 0; }
.nbt-footer .nbt-contact-icons { margin: 14px 0 0; }
.nbt-footer .nbt-contact-icons__label { color: #F0B8B1; text-align: left; }
.nbt-footer .nbt-contact-icons .nbt-icon-btn { color: #D6E3DB; }
.nbt-footer .nbt-contact-icons .nbt-icon-btn--phone svg { background: rgba(255, 255, 255, .14); }
.nbt-footer .nbt-footer__pay {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; border-radius: 10px;
	background: rgba(255, 255, 255, .08); color: #E6EFEA; font-size: .88rem; font-weight: 600;
}

/* Copyright bar under the block */
.absolute-footer { background: #163A30 !important; color: #B3C7BB; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.absolute-footer a { color: #E6EFEA; }
.absolute-footer .copyright-footer { color: #B3C7BB; }
.nbt-footer .nbt-logo { margin-bottom: 14px; }
.nbt-footer.nbt-deco--hills-bottom::after { opacity: .045; height: 150px; }
.nbt-footer .nbt-footer__pay { line-height: 1.4; }

/* Home stay / café / bus cards: keep "Từ 1.800.000 ₫/đêm" and the button on one line (4-column grid) */
.nbt-home .nbt-stay-card__footer { flex-wrap: nowrap; align-items: center; gap: 8px; }
.nbt-home .nbt-stay-card__footer .nbt-price { white-space: nowrap; min-width: 0; font-size: .8rem; line-height: 1.2; }
.nbt-home .nbt-stay-card__footer .nbt-price strong { font-size: 1rem; }
.nbt-home .nbt-stay-card__footer .nbt-price small { font-size: .78rem; }
.nbt-home .nbt-stay-card__footer .nbt-stay-card__cta {
	flex: none; min-height: 34px; height: 34px; line-height: 34px; padding: 0 12px; font-size: .8rem;
}
@media (min-width: 850px) and (max-width: 1199px) {
	.nbt-home-grid--4 .nbt-stay-card__footer .nbt-price strong { font-size: .92rem; }
	.nbt-home-grid--4 .nbt-stay-card__footer .nbt-stay-card__cta { padding: 0 10px; }
}

/* ---- "Tắt đặt trực tuyến": contact box in place of the booking form (inc/online-booking.php) ---- */
.nbt-offline {
	margin: 4px 0 0; padding: 18px 16px 4px; text-align: center;
	border: 1.5px dashed #E2DCD0; border-radius: 16px; background: var(--nbt-paper, #F7F3EC);
}
.nbt-offline__badge {
	display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px;
	background: var(--nbt-red-soft, #F5E3DF); color: var(--nbt-red, #A8322D);
	font-size: .75rem; font-weight: 700; letter-spacing: .03em;
}
.nbt-offline__title { margin: 0 0 6px; font-size: 1.25rem; color: var(--nbt-green, #1E4A3D); }
.nbt-offline__note { margin: 0 0 4px; font-size: .9rem; line-height: 1.55; color: var(--nbt-ink-muted, #55605B); }
.nbt-offline .nbt-contact-icons { margin: 14px 0; }

/* =====================================================================
 * "Thẻ ngang gọn" on phones for home listings (mobile="compact" on
 * [nbt_stays], [nbt_tickets], [nbt_buses]): small photo left, details right.
 * ================================================================== */

@media (max-width: 549px) {
	.nbt-home--m-compact .nbt-home-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.nbt-home--m-compact .nbt-stay-card { flex-direction: row; align-items: stretch; height: auto; border-radius: 14px; }
	.nbt-home--m-compact .nbt-stay-card:hover { transform: none; }
	.nbt-home--m-compact .nbt-stay-card__media,
	.nbt-home--m-compact .nbt-ticket-card__media {
		flex: none; width: 112px; aspect-ratio: auto !important; height: auto !important; min-height: 112px; border-radius: 0;
	}
	.nbt-home--m-compact .nbt-stay-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
	.nbt-home--m-compact .nbt-stay-card__placeholder { font-size: .72rem; text-align: center; padding: 6px; }
	.nbt-home--m-compact .nbt-badge { top: 6px; left: 6px; padding: 2px 7px; font-size: .62rem; }
	.nbt-home--m-compact .nbt-stay-card__body { min-width: 0; padding: 10px 12px; }
	.nbt-home--m-compact .nbt-stay-card__title { font-size: .98rem; margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.nbt-home--m-compact .nbt-stay-card__loc { margin: 0 0 6px; font-size: .8rem; }
	.nbt-home--m-compact .nbt-stars { font-size: .72rem; }
	/* Secondary details are hidden to keep the row short. */
	.nbt-home--m-compact .nbt-chips,
	.nbt-home--m-compact .nbt-activities,
	.nbt-home--m-compact .nbt-ticket-card__desc,
	.nbt-home--m-compact .nbt-ticket-card__prices { display: none; }
	.nbt-home--m-compact .nbt-bus-card__routes { margin: 0 0 6px; gap: 4px; }
	.nbt-home--m-compact .nbt-bus-card__routes li { padding: 4px 8px; }
	.nbt-home--m-compact .nbt-bus-card__routes li:nth-child(n+2) { display: none; }
	.nbt-home--m-compact .nbt-bus-card__route { font-size: .82rem; }
	.nbt-home--m-compact .nbt-bus-card__chip { font-size: .68rem; padding: 0 7px; }
	.nbt-home--m-compact .nbt-ticket-card__from { margin: 0 0 6px; padding: 0; background: none; font-size: .8rem; }
	.nbt-home--m-compact .nbt-ticket-card__from strong { font-size: 1rem; }
	.nbt-home--m-compact .nbt-stay-card__footer { padding-top: 6px; gap: 6px; }
	.nbt-home--m-compact .nbt-ticket-card .nbt-stay-card__footer { padding-top: 0; }
	.nbt-home--m-compact .nbt-stay-card__footer .nbt-stay-card__cta { min-height: 32px; height: 32px; line-height: 32px; padding: 0 10px; font-size: .76rem; }
	.nbt-home--m-compact .nbt-ticket-card__cta { width: auto; }
	.nbt-home--m-compact .nbt-ticket-card .nbt-stay-card__footer { justify-content: flex-end; }
}
@media (max-width: 549px) {
	.nbt-home--m-compact .nbt-stay-card__footer { flex-wrap: wrap; row-gap: 6px; }
	.nbt-home--m-compact .nbt-stay-card__footer .nbt-price { flex: 1 1 auto; font-size: .74rem; }
	.nbt-home--m-compact .nbt-stay-card__footer .nbt-price strong { font-size: .95rem; }
	.nbt-home--m-compact .nbt-stay-card__footer .nbt-stay-card__cta { margin-left: auto !important; }
	.nbt-home--m-compact .nbt-ticket-card__cta {
		width: auto !important; min-height: 32px; height: auto; padding: 6px 12px !important; line-height: 1.2;
		font-size: .76rem !important; text-transform: none !important; letter-spacing: 0 !important; border-radius: 10px !important;
	}
}
