/* NHT Experiences — components. Colours come from the theme's theme.json presets, with fallbacks. */

:root {
	--nht-primary: var(--wp--preset--color--primary, #0b5d7a);
	--nht-primary-dark: var(--wp--preset--color--primary-dark, #08465c);
	--nht-accent: var(--wp--preset--color--accent, #e4572e);
	--nht-ink: var(--wp--preset--color--ink, #16202a);
	--nht-muted: var(--wp--preset--color--muted, #5b6672);
	--nht-line: var(--wp--preset--color--line, #e3e7eb);
	--nht-surface: var(--wp--preset--color--surface, #f5f7f9);
	--nht-white: #fff;
	--nht-radius: 16px;
	--nht-radius-sm: 10px;
	--nht-shadow: 0 1px 2px rgba(22, 32, 42, .06), 0 8px 24px rgba(22, 32, 42, .08);
}

.nht-hero, .nht-hero *, .nht-tabs *, .nht-grid *, .nht-filter *, .nht-booking, .nht-booking *, .nht-btn { box-sizing: border-box; }

/* ---------- buttons, badges, price ---------- */

.nht-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px; padding: .6em 1.4em; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.nht-btn--primary { background: var(--nht-accent); color: var(--nht-white); }
.nht-btn--primary:hover { background: #c94420; color: var(--nht-white); }
.nht-btn--light { background: var(--nht-white); color: var(--nht-ink); }
.nht-btn--light:hover { background: var(--nht-surface); color: var(--nht-ink); }
.nht-btn--ghost { background: transparent; color: var(--nht-primary); border-color: var(--nht-line); }
.nht-btn--ghost:hover { border-color: var(--nht-primary); color: var(--nht-primary); }
.nht-btn--block { display: flex; width: 100%; }
.nht-btn:focus-visible, .nht-tab:focus-visible, .nht-card:focus-visible, .nht-filter__link:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--nht-primary) 45%, transparent); outline-offset: 2px;
}

.nht-badge {
	display: inline-block; padding: .3em .8em; border-radius: 999px;
	background: var(--nht-white); color: var(--nht-ink); font-size: .75rem; font-weight: 700; line-height: 1.2;
}
.nht-badge--hot { background: var(--nht-accent); color: var(--nht-white); }

.nht-price { display: inline-flex; align-items: baseline; gap: .3em; white-space: nowrap; }
.nht-price__from { font-size: .75rem; color: inherit; opacity: .75; }
.nht-price__amount { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.nht-price__amount sup { font-size: .55em; top: -.7em; margin-right: 1px; }
.nht-price__unit { font-size: .75rem; opacity: .75; }

.nht-section-title { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; color: var(--nht-ink); }

/* ---------- hero ---------- */

.nht-hero {
	position: relative; overflow: hidden; border-radius: 24px;
	background: var(--nht-primary-dark) var(--nht-hero-bg, none) center / cover no-repeat;
}
.nht-hero::before { /* keeps text legible on any photo */
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 20, 30, .45) 0%, rgba(10, 20, 30, .1) 60%, rgba(10, 20, 30, 0) 100%);
}
.nht-hero__inner {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr);
	gap: clamp(16px, 3vw, 48px); align-items: center; min-height: 520px; padding: clamp(20px, 4vw, 56px);
}
.nht-hero__inner > * { min-width: 0; } /* let the scrollable toggle row shrink instead of widening the column */
.nht-hero__promo {
	max-width: 560px; padding: clamp(20px, 3vw, 36px); border-radius: var(--nht-radius); color: var(--nht-white);
	background: rgba(20, 28, 36, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nht-hero__title { margin: .6em 0 .3em; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 800; line-height: 1.15; color: var(--nht-white); }
.nht-hero__text { margin: 0 0 1.2em; font-size: 1rem; line-height: 1.7; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nht-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nht-hero__foot .nht-price__amount { font-size: 2.2rem; }

/* ---------- homepage: slides + site search ---------- */

.nht-hero--slides { --nht-slide-h: 560px; background: var(--nht-primary-dark); }
.nht-hero--slides::before { content: none; }
.nht-slides {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.nht-slides::-webkit-scrollbar { display: none; }
.nht-slides:focus-visible { outline: 3px solid var(--nht-accent); outline-offset: -3px; }
.nht-slide {
	position: relative; flex: 0 0 100%; height: var(--nht-slide-h); scroll-snap-align: start;
	display: flex; align-items: center; padding: clamp(20px, 4vw, 56px); padding-right: calc(400px + clamp(20px, 4vw, 56px));
}
.nht-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nht-slide::after { /* keeps text legible on any photo */
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 20, 30, .6) 0%, rgba(10, 20, 30, .2) 55%, rgba(10, 20, 30, .05) 100%);
}
.nht-slide__text { position: relative; z-index: 1; max-width: 520px; color: var(--nht-white); }
.nht-slide__text .nht-price { color: var(--nht-white); }
.nht-slides__nav {
	position: absolute; left: clamp(20px, 4vw, 56px); top: calc(var(--nht-slide-h) - 56px); z-index: 2;
	display: flex; align-items: center; gap: 10px;
}
.nht-slides__arrow {
	width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .85); color: var(--nht-ink); font-size: 1.4rem; line-height: 1;
}
.nht-slides__dots { display: flex; gap: 6px; }
.nht-slides__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; background: rgba(255, 255, 255, .55); transition: width .2s; }
.nht-slides__dot[aria-current="true"] { width: 24px; background: var(--nht-white); }
.nht-search--site { position: absolute; z-index: 2; top: 50%; right: clamp(20px, 4vw, 56px); width: 380px; transform: translateY(-50%); }
.nht-search--site .nht-field { border: 1px solid var(--nht-line); border-radius: 12px; }
.nht-search--site .nht-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.nht-search--site .nht-seg span { padding: .55em .4em; white-space: normal; overflow-wrap: anywhere; } /* a long label wraps instead of spilling out */
html[lang^="en"] .nht-search--site .nht-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* English labels are longer */

/* homepage sections */
.nht-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.nht-cat {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: var(--nht-radius);
	background: var(--nht-white); border: 1px solid var(--nht-line); color: var(--nht-ink); text-decoration: none; text-align: center;
	transition: border-color .15s, transform .15s;
}
.nht-cat:hover { border-color: var(--nht-primary); transform: translateY(-2px); }
.nht-cat__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--nht-surface); color: var(--nht-primary); }
.nht-cat__icon svg { width: 26px; height: 26px; }
.nht-cat__label { font-weight: 700; font-size: .95rem; }
.nht-cat__count { font-size: .78rem; color: var(--nht-muted); }
.nht-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nht-row__all { font-weight: 700; color: var(--nht-primary); text-decoration: none; white-space: nowrap; }
.nht-dests .nht-section-title { margin-bottom: 18px; }
.nht-dests__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nht-dest { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--nht-radius); background: var(--nht-primary-dark); color: var(--nht-white); text-decoration: none; }
.nht-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nht-dest:hover img { transform: scale(1.04); }
.nht-dest__text {
	position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 18px 16px;
	background: linear-gradient(0deg, rgba(10, 20, 30, .75), rgba(10, 20, 30, 0));
}
.nht-dest__text strong { font-size: 1.3rem; }
.nht-dest__text span { font-size: .85rem; opacity: .9; }
.nht-trust { padding: clamp(24px, 4vw, 40px); border-radius: var(--nht-radius); background: var(--nht-surface); }
.nht-trust .nht-section-title { margin-bottom: 18px; }
.nht-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nht-trust__item { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 12px; background: var(--nht-white); }
.nht-trust__item strong { font-size: 1.05rem; color: var(--nht-ink); }
.nht-trust__item span { font-size: .9rem; line-height: 1.6; color: var(--nht-muted); }
.nht-trust__item a { color: var(--nht-primary); font-weight: 700; text-decoration: none; }
.nht-find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; } /* minmax: sideways card rows mustn't widen the page */
.nht-find__title { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.nht-find .nht-search--site { position: static; width: auto; max-width: 720px; transform: none; box-shadow: none; border: 1px solid var(--nht-line); }

/* ---------- search panel ---------- */

.nht-search {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: var(--nht-radius);
	background: var(--nht-white); box-shadow: var(--nht-shadow); color: var(--nht-ink);
}
.nht-seg {
	display: flex; gap: 4px; margin: 0; padding: 4px; border: 0; min-width: 0; min-inline-size: 0; border-radius: 12px; background: var(--nht-surface);
	overflow-x: auto; scrollbar-width: none;
}
.nht-seg label { flex: 1 0 auto; }
.nht-seg input { position: absolute; opacity: 0; pointer-events: none; }
.nht-seg span {
	display: block; padding: .55em .9em; border-radius: 9px; text-align: center; white-space: nowrap;
	font-size: .875rem; font-weight: 600; color: var(--nht-muted); cursor: pointer;
}
.nht-seg input:checked + span { background: var(--nht-white); color: var(--nht-ink); box-shadow: 0 1px 3px rgba(22, 32, 42, .12); }
.nht-seg input:focus-visible + span { outline: 2px solid var(--nht-primary); }
.nht-search__fields { display: grid; border: 1px solid var(--nht-line); border-radius: 12px; }
.nht-field { display: block; padding: 10px 14px; }
.nht-field + .nht-field { border-top: 1px solid var(--nht-line); }
.nht-field__label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--nht-muted); }
.nht-field select, .nht-field input {
	width: 100%; margin-top: 2px; padding: 4px 0; border: 0; background: transparent;
	font: inherit; font-size: 1rem; color: var(--nht-ink); outline: none; appearance: none;
}
.nht-field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6672' stroke-width='1.6'/%3E%3C/svg%3E") right center no-repeat; padding-right: 20px; }
.nht-field:focus-within { background: var(--nht-surface); border-radius: 10px; }

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

.nht-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nht-card {
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--nht-radius);
	background: var(--nht-white); border: 1px solid var(--nht-line); color: var(--nht-ink); text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}
.nht-card:hover { box-shadow: var(--nht-shadow); transform: translateY(-2px); color: var(--nht-ink); }
.nht-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--nht-surface); }
.nht-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nht-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nht-card__badges .nht-badge { box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.nht-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.nht-card__meta { font-size: .8rem; color: var(--nht-muted); }
.nht-card__title {
	font-size: 1.05rem; font-weight: 700; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nht-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; color: var(--nht-primary); }
.nht-card__foot .nht-price { color: var(--nht-ink); }
.nht-card__more { font-size: .9rem; font-weight: 600; }
.nht-card__arrow { transition: transform .2s; }
.nht-card:hover .nht-card__arrow { transform: translateX(3px); }

/* ---------- tabs ---------- */

.nht-tabs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.nht-tabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nht-line); }
.nht-tab {
	flex: 0 0 auto; padding: .7em 1.1em; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
	background: none; font: inherit; font-size: .95rem; font-weight: 600; color: var(--nht-muted); cursor: pointer;
}
.nht-tab:hover { color: var(--nht-ink); }
.nht-tab[aria-selected="true"] { color: var(--nht-ink); border-bottom-color: var(--nht-accent); }
.nht-tabs__all { margin: 16px 0 0; text-align: right; }
.nht-tabs__all a { font-weight: 600; color: var(--nht-primary); text-decoration: none; }

/* ---------- archive filter, empty state, pagination ---------- */

.nht-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.nht-filter__link {
	padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--nht-line); background: var(--nht-white);
	color: var(--nht-ink); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.nht-filter__link:hover { border-color: var(--nht-primary); color: var(--nht-primary); }
.nht-filter__link[aria-current="page"] { background: var(--nht-ink); border-color: var(--nht-ink); color: var(--nht-white); }
.nht-empty { padding: 48px 24px; border-radius: var(--nht-radius); background: var(--nht-surface); text-align: center; }
.nht-empty p { margin: 0 0 16px; color: var(--nht-muted); }
.nht-pagination ul { display: flex; justify-content: center; gap: 6px; margin: 32px 0 0; padding: 0; list-style: none; }
.nht-pagination a, .nht-pagination span {
	display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 999px;
	border: 1px solid var(--nht-line); color: var(--nht-ink); text-decoration: none;
}
.nht-pagination .current { background: var(--nht-ink); border-color: var(--nht-ink); color: var(--nht-white); }

/* ---------- single ---------- */

.nht-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nht-facts li {
	display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px;
	background: var(--nht-surface); font-size: .9rem; color: var(--nht-ink);
}
.nht-price__was { font-size: .85rem; opacity: .7; text-decoration-thickness: 1.5px; }

/* booking box: price band + call + WeChat (sticky beside the itinerary) */
.nht-booking {
	overflow: hidden; border-radius: var(--nht-radius);
	background: var(--nht-white); border: 1px solid var(--nht-line); box-shadow: var(--nht-shadow);
}
@media (min-width: 901px) and (min-height: 1000px) { .nht-booking { position: sticky; top: 140px; } } /* only when the whole box fits on screen */
.nht-booking__head {
	display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 20px;
	background: linear-gradient(135deg, var(--nht-primary) 0%, var(--nht-primary-dark) 100%); color: var(--nht-white);
}
.nht-booking__tag { flex: 0 0 auto; width: 26px; height: 26px; opacity: .9; }
.nht-booking__title { margin: 0; font-size: 1.3rem; font-weight: 700; } /* 邮轮 / 酒店 side box */
.nht-booking__head .nht-price { flex-wrap: wrap; gap: .45em; }
.nht-booking__head .nht-price__from, .nht-booking__head .nht-price__unit { font-size: .85rem; opacity: .85; }
.nht-booking__head .nht-price__amount { font-size: 2.4rem; line-height: 1; }
.nht-booking__ask { font-size: 1.15rem; font-weight: 700; }
.nht-booking__body { display: grid; gap: 18px; padding: 20px; }
.nht-booking__section + .nht-booking__section { padding-top: 18px; border-top: 1px solid var(--nht-line); }
.nht-booking__label { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--nht-muted); }
.nht-booking__phone {
	display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 0 -12px; border-radius: var(--nht-radius-sm);
	color: var(--nht-ink); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none;
}
.nht-booking__phone:hover { background: var(--nht-surface); color: var(--nht-primary); }
.nht-booking__phone svg { width: 20px; height: 20px; color: var(--nht-accent); }
.nht-booking__wechat { text-align: center; }
.nht-booking__wechat .nht-booking__label { text-align: left; }
.nht-booking__qr { display: block; width: 168px; height: auto; margin: 4px auto 8px; border-radius: 12px; border: 1px solid var(--nht-line); }
.nht-booking__wechat-id { margin: 0; font-weight: 700; }
.nht-booking__hint { margin: 2px 0 0; font-size: .8rem; color: var(--nht-muted); }
.nht-booking__points { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--nht-line); list-style: none; font-size: .875rem; color: var(--nht-muted); }
.nht-booking__points li { padding: 3px 0 3px 1.5em; position: relative; }
.nht-booking__points li::before { content: "✓"; position: absolute; left: 0; color: var(--nht-primary); font-weight: 700; }

/* phone bottom bar (single experience only) */
.nht-mbar { display: none; }
@media (max-width: 900px) {
	.nht-mbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 8px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nht-white);
		border-top: 1px solid var(--nht-line); box-shadow: 0 -6px 20px rgba(22, 32, 42, .08); box-sizing: border-box;
	}
	.nht-mbar__price { flex: 1; min-width: 0; }
	.nht-mbar .nht-price__amount { font-size: 1.35rem; }
	.nht-mbar .nht-booking__ask { font-size: .95rem; }
	.nht-mbar .nht-btn { min-height: 42px; padding: .5em 1em; white-space: nowrap; }
	body:has(.nht-mbar) { padding-bottom: 76px; }
	.nht-booking__hint--qr::after { content: "（微信内可长按二维码识别）"; } /* only under the QR codes */
}
.nht-related { margin-top: 24px; }
.nht-related .nht-section-title { margin-bottom: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
	.nht-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.nht-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nht-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	/* slides on top, search box below them */
	.nht-hero--slides { --nht-slide-h: 380px; overflow: visible; background: none; border-radius: 0; }
	.nht-slides { border-radius: 16px; }
	.nht-slide { padding: 20px 20px 64px; align-items: flex-end; }
	.nht-slides__nav { left: 20px; top: calc(var(--nht-slide-h) - 50px); }
	.nht-search--site { position: static; width: auto; margin-top: 12px; transform: none; border: 1px solid var(--nht-line); }
	.nht-dests__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nht-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.nht-hero__promo { max-width: none; }
	.nht-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.nht-booking { position: static; }
}
@media (max-width: 560px) {
	.nht-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.nht-cat { padding: 10px 4px; }
	.nht-cat__icon { width: 40px; height: 40px; }
	.nht-cat__label { font-size: .8rem; }
	.nht-cat__count { display: none; }
	.nht-trust__grid { grid-template-columns: 1fr; }
	/* homepage rows: swipe sideways instead of one long column */
	.nht-row--swipe .nht-grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
		position: relative; /* keeps hidden screen-reader labels inside the row, not widening the page */
	}
	.nht-row--swipe .nht-grid > * { scroll-snap-align: start; }
	.nht-hero { border-radius: 16px; }
	.nht-hero__inner { padding: 12px; }
	.nht-grid { grid-template-columns: 1fr; }
	.nht-tabs__head { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.nht-slides { scroll-behavior: auto; }
	.nht-cat, .nht-dest img, .nht-slides__dot { transition: none; }
	.nht-card, .nht-card__arrow, .nht-btn { transition: none; }
	.nht-card:hover { transform: none; }
}

.nht-card__ask { font-size: .9rem; font-weight: 600; color: var(--nht-muted); }

/* ---------- itinerary formatting (see includes/content-format.php) ---------- */

.nht-lead {
	display: inline-flex; align-items: center; gap: .5em; margin: 0 0 8px; padding: .55em 1.1em; border-radius: 999px;
	background: color-mix(in srgb, var(--nht-accent) 10%, var(--nht-white)); color: var(--nht-accent); font-weight: 700;
}
.nht-lead::before { content: "✦"; }

.nht-chips, .is-style-nht-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0 !important; list-style: none; }
.nht-chips li, .is-style-nht-chips li {
	display: inline-flex; align-items: center; gap: .4em; padding: .45em 1em; border-radius: 999px;
	background: var(--nht-surface); border: 1px solid var(--nht-line); font-size: .95rem; font-weight: 600;
}
.nht-chips li::before, .is-style-nht-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nht-accent); }

.nht-checks, .is-style-nht-included, .is-style-nht-excluded { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0 !important; list-style: none; }
.nht-checks li, .is-style-nht-included li, .is-style-nht-excluded li {
	position: relative; padding: .75em 1em .75em 2.6em; border-radius: var(--nht-radius-sm);
	background: var(--nht-surface); line-height: 1.5;
}
.nht-checks li::before, .is-style-nht-included li::before, .is-style-nht-excluded li::before {
	content: "✓"; position: absolute; left: .9em; top: .75em; display: grid; place-items: center;
	width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--nht-primary); color: var(--nht-white); font-size: .8em; font-weight: 700;
}

.nht-day {
	display: flex !important; align-items: center; gap: 12px; flex-wrap: wrap;
	margin: 2.2em 0 .8em !important; padding: 0 !important; border: 0 !important; font-size: 1.1rem;
}
.nht-day__num {
	flex: 0 0 auto; padding: .3em .9em; border-radius: 999px; background: var(--nht-ink); color: var(--nht-white);
	font-size: .85rem; font-weight: 800; letter-spacing: .02em;
}
.nht-day__route { font-weight: 700; color: var(--nht-ink); }

.nht-timeline { position: relative; margin: 0 0 8px; padding: 0 !important; list-style: none; }
.nht-timeline::before { content: ""; position: absolute; left: 61px; top: 10px; bottom: 10px; width: 2px; background: var(--nht-line); }
.nht-timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 8px 0; line-height: 1.7; }
.nht-timeline li::before {
	content: ""; position: absolute; left: 56px; top: 16px; width: 12px; height: 12px; border-radius: 50%;
	background: var(--nht-white); border: 3px solid var(--nht-accent); box-sizing: border-box;
}
.nht-timeline li.is-untimed::before { width: 8px; height: 8px; left: 58px; top: 18px; border: 0; background: var(--nht-line); }
.nht-timeline__time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--nht-primary); }

.nht-note {
	margin: 1.6em 0; padding: 14px 18px; border-radius: var(--nht-radius-sm);
	background: var(--wp--preset--color--sand, #f7f1e8); border-left: 4px solid var(--nht-accent); font-weight: 600;
}
.nht-note::before { content: "🎁 "; }

.nht-pdf {
	display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.3em; border-radius: 999px;
	border: 1px solid var(--nht-line); background: var(--nht-white); color: var(--nht-primary); font-weight: 700; text-decoration: none;
}
.nht-pdf::before { content: "📄"; }
.nht-pdf:hover { border-color: var(--nht-primary); }

@media (max-width: 560px) {
	.nht-timeline::before { left: 49px; }
	.nht-timeline li { grid-template-columns: 44px 1fr; gap: 18px; }
	.nht-timeline li::before { left: 44px; }
	.nht-timeline li.is-untimed::before { left: 46px; }
}
.is-style-nht-excluded li::before { content: "✕"; background: var(--nht-muted); }
.is-style-nht-included, .is-style-nht-excluded { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.nht-cost-label { margin: 1.2em 0 0 !important; font-weight: 700; }

.nht-timeline__text > strong:first-child { display: block; color: var(--nht-ink); }
.nht-timeline--ranges::before { left: 109px; }
.nht-timeline--ranges li { grid-template-columns: 100px 1fr; }
.nht-timeline--ranges li::before { left: 104px; }
.nht-timeline--ranges li.is-untimed::before { left: 106px; }
.nht-timeline--ranges .nht-timeline__time { font-size: .9rem; white-space: nowrap; }
@media (max-width: 560px) {
	.nht-timeline--ranges::before { left: 9px; }
	.nht-timeline--ranges li { grid-template-columns: 1fr; gap: 0; padding-left: 32px; }
	.nht-timeline--ranges li::before { left: 4px; }
	.nht-timeline--ranges li.is-untimed::before { left: 6px; }
}
.nht-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.nht-media video, .nht-media iframe { width: 100%; border-radius: 12px; background: #000; }
.nht-timeline--untimed::before { left: 9px; }
.nht-timeline--untimed li { grid-template-columns: 1fr; gap: 0; padding-left: 32px; }
.nht-timeline--untimed li.is-untimed::before { left: 4px; top: 16px; width: 12px; height: 12px; border: 3px solid var(--nht-accent); background: var(--nht-white); }
.nht-timeline--untimed .nht-timeline__time { display: none; }

/* ---------- 联系我们 ---------- */

.nht-contact { display: grid; gap: 20px; }
.nht-contact__main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.nht-contact__panel {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(20px, 3vw, 32px);
	border-radius: var(--nht-radius); background: var(--nht-white); border: 1px solid var(--nht-line); box-shadow: var(--nht-shadow); box-sizing: border-box;
}
.nht-contact__panel h2 { margin: 8px 0 6px; font-size: 1.25rem; font-weight: 800; color: var(--nht-ink); }
.nht-contact__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: color-mix(in srgb, var(--nht-accent) 12%, var(--nht-white)); color: var(--nht-accent);
}
.nht-contact__icon svg { width: 22px; height: 22px; }
.nht-contact__label { margin: 14px 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--nht-muted); }
.nht-contact__big { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--nht-ink); text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.5; }
.nht-contact__big--main { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); color: var(--nht-primary); }
a.nht-contact__big:hover { color: var(--nht-accent); }
.nht-contact__hours { margin: 0; font-weight: 700; color: var(--nht-ink); }
.nht-contact__list { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.nht-contact__list a { font-size: 1.05rem; font-weight: 700; color: var(--nht-ink); text-decoration: none; font-variant-numeric: tabular-nums; word-break: break-all; }
.nht-contact__list a:hover { color: var(--nht-primary); }
.nht-contact__note { margin: 4px 0 0; font-size: .85rem; color: var(--nht-muted); line-height: 1.6; }
.nht-contact__qrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 10px; }
.nht-contact__qrs figure { margin: 0; text-align: center; }
.nht-contact__qrs figcaption { margin-top: 6px; font-weight: 700; }
.nht-contact__qr { width: 100%; max-width: 180px; height: auto; border-radius: 10px; border: 1px solid var(--nht-line); }
.nht-contact__visit { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 24px; align-items: stretch; }
.nht-contact__address { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.nht-contact__maps { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 12px; }
.nht-contact__maps .nht-btn { min-height: 38px; padding: .4em 1em; font-size: .85rem; }
.nht-contact__map { width: 100%; min-height: 300px; height: 100%; border: 0; border-radius: 12px; background: var(--nht-surface); }
@media (max-width: 800px) {
	.nht-contact__main, .nht-contact__visit { grid-template-columns: 1fr; }
	.nht-contact__map { min-height: 240px; }
}

/* ---------- 景点门票 (store tickets) ---------- */

.nht-tickets .nht-filter { margin-bottom: 20px; }
.nht-tickets .nht-filter__link { cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; }
.nht-tickets .nht-filter__link[aria-pressed="true"] { background: var(--nht-ink); border-color: var(--nht-ink); color: var(--nht-white); }
.nht-ticket[hidden] { display: none; }
.nht-ticket .nht-card__more { font-size: .85rem; color: var(--nht-primary); white-space: nowrap; }
.nht-ticket .nht-price { flex-wrap: wrap; }
.nht-ticket .nht-price__amount { font-size: 1.3rem; }
.nht-tickets__more { margin: 24px 0 0; text-align: center; }
.nht-tickets__note { margin: 16px 0 0; font-size: .8rem; color: var(--nht-muted); text-align: center; }

.nht-shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.nht-shop-head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
.nht-shop-head p { margin: 0; max-width: 720px; color: var(--nht-muted); }
.nht-tickets__back { margin: 0 0 16px; font-size: .9rem; }
.nht-tickets__back a { color: var(--nht-primary); font-weight: 600; text-decoration: none; }

/* ticket detail */
.nht-gallery { display: grid; gap: 8px; overflow: hidden; border-radius: 20px; }
.nht-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--nht-surface); }
.nht-gallery:not(.nht-gallery--multi) img { aspect-ratio: 21 / 9; }
.nht-gallery--multi { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 21 / 9; }
.nht-gallery--multi img:first-child { grid-row: 1 / 3; }
.nht-gallery--multi img:nth-child(n+6) { display: none; }
.nht-ticket-detail__title { margin: 24px 0 10px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.nht-ticket-detail__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 24px; }
.nht-ticket-detail__content h2 { margin: 1.8em 0 .6em; padding-left: 12px; border-left: 4px solid var(--nht-accent); font-size: 1.2rem; }
.nht-ticket-detail__content h2:first-child { margin-top: 0; }
.nht-ticket-detail__rich { line-height: 1.8; }
.nht-ticket-detail__rich img { max-width: 100%; height: auto; border-radius: 12px; }
.nht-more { margin: 12px 0; border: 1px solid var(--nht-line); border-radius: var(--nht-radius-sm); }
.nht-more summary { padding: 12px 16px; font-weight: 700; cursor: pointer; }
.nht-more > :not(summary) { margin: 0 16px 12px; font-size: .9rem; color: var(--nht-muted); }
@media (max-width: 900px) {
	.nht-ticket-detail__cols { grid-template-columns: 1fr; }
	.nht-gallery--multi { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; }
	.nht-gallery--multi img:first-child { grid-row: auto; aspect-ratio: 3 / 2; }
	.nht-gallery--multi img:not(:first-child) { display: none; }
}
.nht-filter__toggle { border-style: dashed !important; color: var(--nht-muted) !important; }
.nht-tickets__search { position: relative; margin-bottom: 14px; }
.nht-tickets__search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--nht-muted); pointer-events: none; }
.nht-tickets__search input {
	box-sizing: border-box; width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--nht-line); border-radius: 999px;
	background: var(--nht-white); font: inherit; font-size: 1rem; color: var(--nht-ink); box-shadow: 0 1px 2px rgba(22, 32, 42, .04);
}
.nht-tickets__search input:focus { outline: none; border-color: var(--nht-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nht-primary) 18%, transparent); }
.nht-tickets [data-no-results] { margin-top: 8px; }

/* contact: main (business-hours) number, other numbers, several WeChat QR codes */
.nht-booking__phone--main { font-size: 1.3rem; }
.nht-booking__hours { margin-left: .5em; font-weight: 600; letter-spacing: 0; color: var(--nht-ink); }
.nht-booking__label--sub { margin-top: 12px; }
.nht-booking__note { margin-top: 10px; text-align: left; }
.nht-wechats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin: 4px 0 8px; }
.nht-wechats__item { margin: 0; text-align: center; }
.nht-wechats .nht-booking__qr, .nht-wechats .nht-contact__qr { width: 100%; max-width: 150px; margin: 0 auto 6px; }
.nht-wechats figcaption { font-size: .9rem; }

/* 签证代办 link on overseas tours (booking box) and the 全球 lists */
.nht-visa {
	display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px;
	background: color-mix(in srgb, var(--nht-primary) 8%, var(--nht-white)); border: 1px solid color-mix(in srgb, var(--nht-primary) 25%, var(--nht-white));
	color: var(--nht-ink); text-decoration: none; line-height: 1.5;
}
.nht-visa:hover { border-color: var(--nht-primary); }
.nht-visa__icon { font-size: 1.4rem; line-height: 1; }
.nht-visa strong { display: block; font-size: .95rem; }
.nht-visa strong + span { display: block; font-size: .85rem; color: var(--nht-primary); font-weight: 600; }
.nht-visa--banner { margin: 16px 0 0; }

/* Search results: "查看全部 N 个…" button under each group that has more */
.nht-row__more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--nht-line); }
.nht-row__count { margin: 0; font-size: .875rem; color: var(--nht-muted); }
.nht-row__more-btn { min-width: 280px; justify-content: center; }
@media (max-width: 560px) { .nht-row__more-btn { width: 100%; min-width: 0; } }
