/* Itinerary detail — Extended. Giá trị lấy chính xác từ Figma node 660:2487.
   Palette + typography (Geist) + spacing/radius theo spec. Scoped .fdmc-itinerary. */
.fdmc-itinerary {
	--teal: #05504f;
	--gold: #ebba1a;
	--navy: #0a1128;
	--grey: #666666;
	--mint: #e6f5ec;
	/* tag/badge bg */
	--quote-head: #e6f2f2;
	/* quotation header */
	--incl-bg: #fafaf9;
	/* inclusions card */
	--cream: #FAF7F2;
	/* booking + similar bg */
	--border: #c0c0c0;
	/* card/panel border, day divider */
	--hair: #efefef;
	/* card inner divider */
	--wrap: 1280px;
	font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--navy);
	line-height: 1.375;
}

.fdmc-itinerary *,
.fdmc-itinerary *::before,
.fdmc-itinerary *::after {
	box-sizing: border-box;
}

.fdmc-itinerary img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ── Sub-nav (anchor) ────────────────────────────────────── */
.fdmc-subnav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.fdmc-subnav__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 40px;
	justify-content: center;
	flex-wrap: wrap;
}

.fdmc-subnav__link {
	display: inline-block;
	padding: 16px 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--navy);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.fdmc-subnav__link:hover {
	color: var(--teal);
}

.fdmc-subnav__link.is-active {
	color: var(--teal);
	border-bottom-color: var(--teal);
}

/* ── Section base ────────────────────────────────────────── */
.fdmc-section {
	padding: 24px 0;
}

.fdmc-section__title {
	font-family: Geist;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0%;
	color: #05504F;
}

/* ── Detail 2-col layout (Left 845 / Right 411, gap 24) ──── */
.fdmc-detail {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 60px 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 411px;
	gap: 24px;
	align-items: start;
}

.fdmc-detail__main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ── Hero (image + title overlay) ────────────────────────── */
.fdmc-hero {
	position: relative;
}

.fdmc-hero__img {
	width: 100%;
	aspect-ratio: 845 / 528;
	object-fit: cover;
}

.fdmc-hero__overlay {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 16px;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.20);
	backdrop-filter: blur(2px);
}

.fdmc-hero__tag,
.fdmc-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--mint);
	color: var(--teal);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 3.2px;
	padding: 8px 16px;
	border-radius: 8px;
	white-space: nowrap;
}

.fdmc-hero__title {
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	line-height: 46px;
	margin: 0;
	text-align: left;
}

/* ── Overview ────────────────────────────────────────────── */
.fdmc-overview {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: var(--navy);
	margin: 0;
}

/* ── Days (ảnh + tiêu đề luôn hiện; chỉ mô tả đóng/mở) ────── */
.fdmc-days {
	display: flex;
	flex-direction: column;
}

.fdmc-day {
	border-top: 1px solid var(--border);
	padding: 24px 0;
}

.fdmc-day:last-child {
	border-bottom: 1px solid var(--border);
}

.fdmc-day__grid {
	display: grid;
	grid-template-columns: 302px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.fdmc-day__aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fdmc-day__thumb {
	width: 100%;
	aspect-ratio: 302 / 202;
	object-fit: cover;
}

.fdmc-day__checkin {
	border: 1px solid var(--border);
	border-radius: 12px 0 12px 0;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.fdmc-day__checkin span {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: var(--grey);
}

.fdmc-day__checkin strong {
	font-family: Geist;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0%;
	color: #05504F
}

.fdmc-day__main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fdmc-day__head {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
}

.fdmc-day__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fdmc-day__kicker {
	font-family: Geist;
	font-weight: 400;
	font-style: Regular;
	font-size: 12px;
	line-height: 100%;
	letter-spacing: 20%;
	text-transform: uppercase;
	color: #666666;
}

.fdmc-day__title {
	font-family: Geist;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: 0%;
	color: #05504F
}

.fdmc-day__toggle {
	position: relative;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	margin-top: 4px;
}

.fdmc-day__toggle::before,
.fdmc-day__toggle::after {
	content: "";
	position: absolute;
	background: var(--navy);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.fdmc-day__toggle::before {
	width: 14px;
	height: 1.5px;
}

.fdmc-day__toggle::after {
	width: 1.5px;
	height: 14px;
	transition: transform .2s, opacity .2s;
}

.fdmc-day__head[aria-expanded="true"] .fdmc-day__toggle::after {
	transform: translate(-50%, -50%) scaleY(0);
	opacity: 0;
}

.fdmc-day__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fdmc-day__desc {
	font-size: 16px;
	line-height: 22px;
	color: var(--navy);
}

.fdmc-day__desc p {
	margin: 0 0 16px;
}

.fdmc-day__desc p:last-child {
	margin-bottom: 0;
}

.fdmc-day__desc strong {
	font-weight: 600;
}

.fdmc-day__accom {
	font-size: 16px;
	line-height: 22px;
	color: var(--navy);
	margin: 0;
}

.fdmc-day__accom strong {
	font-weight: 600;
}

.fdmc-day__gallery {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.fdmc-day__gallery img {
	width: calc((100% - 32px) / 3);
	min-width: 120px;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

/* ── Quotation table (admin dựng: Header band + Row label/giá) ── */
.fdmc-quote-wrap {
	overflow-x: auto;
}

.fdmc-quote {
	width: 100%;
	border-collapse: collapse;
	min-width: 520px;
}

.fdmc-quote td {
	border: 1px solid var(--teal);
	padding: 8px 16px !important;
	text-align: left;
	vertical-align: middle;
	font-size: 16px;
	line-height: 22px;
	color: var(--teal);
}

.fdmc-itinerary li {
	margin: 0;
}

.fdmc-quote__band td {
	background: var(--quote-head);
	font-weight: 600;
	text-align: center;
	padding: 16px;
}

.fdmc-quote__band p {
	margin: 0;
}

.fdmc-quote__band p+p {
	font-weight: 400;
	margin-top: 2px;
}

.fdmc-quote__num {
	text-align: left;
	white-space: nowrap;
	font-weight: 600;
	width: 245px;
}

.fdmc-quote__label {
	font-weight: 400;
}

.fdmc-quote__label p {
	margin: 0 0 2px;
}

.fdmc-quote__label p:last-child {
	margin-bottom: 0;
}

.fdmc-quote__label strong {
	font-weight: 600;
}

.fdmc-quote__label ul {
	margin: 2px 0 0;
	padding-left: 18px;
}

.fdmc-quote__label a {
	color: var(--teal);
}

/* ── Inclusions (2 cột) ──────────────────────────────────── */
.fdmc-incl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.fdmc-incl__col {
	background: var(--incl-bg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fdmc-incl__col h3 {
	font-family: Geist;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0%;
	color: #05504F;
}

.fdmc-incl__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;

}

.fdmc-incl__col li {
	font-family: Geist;
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0%;
	color: #0A1128;
	position: relative;
	display: flex;
	gap: 12px;
	align-items: center;
}

.fdmc-incl__col li::before {
	aspect-ratio: 1;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

.fdmc-incl__col--in li::before {
	content: "\2713";
	background: var(--mint);
	color: var(--teal);
}

.fdmc-incl__col--ex li::before {
	content: "\2715";
	background: #fbe4e4;
	color: #b3261e;
}

/* ── Optional activities ─────────────────────────────────── */
.fdmc-tabs {
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 8px;

}

.fdmc-tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 4px 0;
	cursor: pointer;
	margin: 0;
	font-family: Geist;
	font-weight: 500;
	font-style: Medium;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	text-transform: capitalize;
}

.fdmc-tab.is-active {
	color: var(--teal);
	border-bottom-color: var(--teal);
}

/* Slider ngang: track cuộn snap + nút tròn điều hướng */
.fdmc-oa-slider {
	position: relative;
}
.fdmc-oa-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.fdmc-oa-track::-webkit-scrollbar { display: none; }
.fdmc-oa-nav {
	position: absolute;
	top: 119px; /* canh giữa ảnh card (media ~239px cho card 360px) */
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 999px;
	border: 1.5px solid #fff;
	background: rgba(255, 255, 255, 0.30);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	transition: background .2s, opacity .2s;
}
.fdmc-oa-nav:hover { background: rgba(255, 255, 255, 0.5); }
.fdmc-oa-nav[hidden] { display: none; }
.fdmc-oa-nav--prev { left: 12px; }
.fdmc-oa-nav--next { right: 12px; }

.fdmc-oa-card {
	flex: 0 0 360px;
	max-width: 82%;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	padding: 0;
	text-align: left;
	cursor: pointer;
	margin: 0;
}

.fdmc-oa-card[hidden] {
	display: none;
}

.fdmc-oa-card__media {
	display: block;
	aspect-ratio: 360 / 239;
	background: #f0efec;
	overflow: hidden;
}

.fdmc-oa-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.fdmc-oa-card:hover .fdmc-oa-card__media img {
	transform: scale(1.04);
}

.fdmc-oa-card__title {
	padding: 16px;
	font-family: Geist;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 0%;
	color: #0A1128;
	text-transform:capitalize;
}

/* ── Booking panel (right column) ────────────────────────── */
.fdmc-booking {
	position: sticky;
	top: 90px;
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 24px 0 24px 0;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fdmc-booking__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
}

.fdmc-booking__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	padding: 20px 16px;
}

.fdmc-booking__item:nth-child(odd) {
	border-right: 1px solid var(--border);
}

.fdmc-booking__item:nth-child(1),
.fdmc-booking__item:nth-child(2) {
	border-bottom: 1px solid var(--border);
}

.fdmc-booking__item dt {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: var(--grey);
	text-transform: capitalize;
}

.fdmc-booking__item dd {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	color: var(--teal);
	text-transform: capitalize;
}

.fdmc-booking__actions {
	display: flex;
	gap: 16px;
}

.fdmc-booking__actions .fdmc-btn {
	flex: 1;
}

/* ── Buttons ─────────────────────────────────────────────── */
.fdmc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .2s, color .2s, border-color .2s;
	margin: 0;
	min-height: unset;
	text-transform: unset;
}

.fdmc-btn--solid {
	background: var(--teal);
	color: #fff;
}

.fdmc-btn--solid:hover {
	background: #043b3a;
	color: #fff;
}

.fdmc-btn--ghost {
	background: transparent;
	color: var(--teal);
	border-color: var(--teal);
}

.fdmc-btn--ghost:hover {
	background: var(--mint);
}

.fdmc-btn--gold {
	background: transparent;
	color: var(--gold);
	border-color: var(--gold);
}

.fdmc-btn--gold:hover {
	background: var(--gold);
	color: var(--navy);
}

/* ── Similar (Signature) ─────────────────────────────────── */
.fdmc-similar {
	background: var(--cream);
}

.fdmc-similar__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 60px 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.fdmc-similar__head {
	text-align: center;
}

.fdmc-similar__kicker {
font-family: Geist;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 22px;
letter-spacing: 20%;
color: #666666;
}

.fdmc-similar__title {
font-family: Geist;
font-weight: 600;
font-style: SemiBold;
font-size: 40px;
line-height: 52px;
letter-spacing: 4%;
text-transform: uppercase;
color:#05504F;
margin:0;
}

.fdmc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/* ── Card (shared with city list) ────────────────────────── */
.fdmc-card {
	background: #fff;
	display: flex;
	flex-direction: column;
}

.fdmc-card__media {
	position: relative;
	display: block;
	aspect-ratio: 624 / 390;
	background: #f0efec;
	overflow: hidden;
}

.fdmc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fdmc-card__body {
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
	border: 1px solid var(--border);
}

.fdmc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fdmc-card__duration {
	color: var(--gold);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
}

.fdmc-card__detail {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fdmc-card__title {
font-family: Geist;
font-weight: 600;
font-style: SemiBold;
font-size: 18px;
line-height: 22px;
letter-spacing: 0%;
color:#0A1128;
}

.fdmc-card__title a {
	color: var(--navy);
	text-decoration: none;
}

.fdmc-card__title a:hover {
	color: var(--teal);
}

.fdmc-card__desc {
font-family: Geist;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 22px;
letter-spacing: 0%;
color:#666666;
text-align: left;
}

.fdmc-card__divider {
	height: 2px;
	background: var(--hair);
	border: 0;
	margin: 0;
}

.fdmc-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.fdmc-card__price {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fdmc-card__price-label {
font-family: Geist;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 22px;
letter-spacing: 20%;
color:#666666
}

.fdmc-card__price strong {
font-family: Geist;
font-weight: 600;
font-style: SemiBold;
font-size: 18px;
line-height: 22px;
letter-spacing: 0%;
color:#05504F;
}

.fdmc-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #05504F;
	text-decoration: none;
	white-space: nowrap;
}

/* ── CTA banner ──────────────────────────────────────────── */
.fdmc-cta {
	background: var(--teal);
}

.fdmc-cta__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 60px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.fdmc-cta__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 700px;
}

.fdmc-cta__kicker {
font-family: Geist;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 22px;
letter-spacing: 20%;
color:#EBBA1A;
}

.fdmc-cta__text h2 {
font-family: Geist;
font-weight: 600;
font-style: SemiBold;
font-size: 40px;
line-height: 52px;
letter-spacing: 4%;
text-transform: uppercase;
color:#FFFFFF;
text-align:left;
}

.fdmc-cta__sub {
font-family: Geist;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 22px;
letter-spacing: 0%;
color:#FFFFFF;text-align:left;
}
.fdmc-modal__form .wpcf7-form {
	padding: 0;
	box-shadow:none;
}
/* ── Modal ───────────────────────────────────────────────── */
.fdmc-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fdmc-modal[hidden] {
	display: none;
}

.fdmc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 17, 40, .6);
}

.fdmc-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	max-width: 560px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	z-index: 1;
}

.fdmc-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--grey);
	cursor: pointer;
	margin:0;
}

.fdmc-modal__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--teal);
}

.fdmc-modal__lead {
	margin: 0 0 18px;
	color: var(--navy);
	font-weight: 600;
}

.fdmc-oa-modal__desc {
	font-size: 16px;
	line-height: 22px;
	color: var(--grey);
	margin: 0 0 20px;
}
.fdmc-oa-modal__desc[hidden] { display: none; }

.fdmc-oa-modal__block {
	margin: 0 0 8px;
}
.fdmc-oa-modal__block[hidden] { display: none; }
.fdmc-oa-modal__block h4 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	color: var(--navy);
}
.fdmc-oa-modal__block ul {
	list-style: disc;
	margin: 0;
	padding-left: 22px;
}
.fdmc-oa-modal__block li {
	font-size: 16px;
	line-height: 22px;
	color: var(--navy);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
	.fdmc-detail {
		grid-template-columns: 1fr;
	}

	.fdmc-booking {
		position: static;
	}

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

@media (max-width: 640px) {
	.fdmc-day__grid {
		grid-template-columns: 1fr;
	}

	.fdmc-incl,
	.fdmc-grid {
		grid-template-columns: 1fr;
	}

	.fdmc-hero__title {
		font-size: 26px;
		line-height: 34px;
	}

	.fdmc-similar__title,
	.fdmc-cta__text h2 {
		font-size: 22px;line-height: 1.4;
	}

	.fdmc-day__gallery img {
		width: calc((100% - 16px) / 2);
	}

	.fdmc-cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}