/* PHM Travel – trang đặt tour, cảm ơn và tra cứu đơn. Nạp sau theme.css. */

.phm-banner-dt .phm-khung { padding-bottom: 64px; }
.phm-dt { background: var(--nen-kem); padding: 0 0 76px; }
.phm-dt > .phm-khung { padding-top: 0; }

/* ----------------------------------------------------- các bước */
.phm-buoc {
	list-style: none; margin: 0; padding: 22px 0 6px;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
}
.phm-buoc li {
	display: flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 600; color: var(--chu-mo);
}
.phm-buoc li + li::before { content: ""; width: 56px; height: 2px; margin: 0 14px; background: var(--vien); }
.phm-buoc span {
	width: 30px; height: 30px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--vien); font-size: 13px; color: var(--chu-phu);
}
.phm-buoc .dang { color: var(--navy); }
.phm-buoc .dang span { background: var(--navy); border-color: var(--navy); color: #fff; }
.phm-buoc .xong { color: var(--teal); }
.phm-buoc .xong span { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ------------------------------------------------------ khung hai cột */
.phm-dt-khung { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 20px; }
.phm-dt-form { flex: 1 1 560px; min-width: 0; }
.phm-dt-tom-tat { flex: 0 0 360px; min-width: 0; position: sticky; top: 16px; }

.phm-dt-the {
	background: #fff; border-radius: 16px; padding: 28px 30px 26px; margin-bottom: 18px;
	box-shadow: 0 12px 30px rgba(16, 40, 59, .07);
}
.phm-dt-the h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 20px; }
.phm-dt-so {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
	background: var(--teal); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--chu-than); font-size: 14px; font-weight: 700;
}

/* ----------------------------------------------------- số khách */
.phm-sl-luoi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phm-sl { display: flex; flex-direction: column; gap: 10px; }
.phm-sl label { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.phm-sl label small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--chu-phu); }
.phm-sl-o {
	display: flex; align-items: center; justify-content: space-between;
	border: 1px solid #E6E0D4; background: #FBFAF7; border-radius: 12px; padding: 4px;
}
.phm-sl-nut {
	flex: 0 0 40px; height: 40px; border: 0; border-radius: 9px;
	background: #fff; color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer;
	box-shadow: 0 1px 2px rgba(16, 40, 59, .1); transition: background-color .2s;
}
.phm-sl-nut:hover { background: #EFEBE3; }
.phm-dt-form .phm-sl-o input {
	flex: 1 1 auto; min-width: 0; width: auto; height: 40px; padding: 0; border: 0; background: transparent;
	text-align: center; font-size: 17px; font-weight: 700; color: var(--navy);
	-moz-appearance: textfield; box-shadow: none; background-image: none;
}
.phm-dt-form .phm-sl-o input::-webkit-outer-spin-button,
.phm-dt-form .phm-sl-o input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------------- các ô nhập */
.phm-dt-truong { margin-bottom: 16px; min-width: 0; }
.phm-dt-truong label { margin: 0 0 7px; }
.phm-dt-truong label b { color: var(--do); }
.phm-dt-truong label em { font-style: normal; font-weight: 400; color: var(--chu-mo); }
.phm-dt-hang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.phm-dt-truong.co-loi :where(input, textarea) { border-color: var(--do); background-color: #FFF8F5; }
.phm-dt-loi { margin: 6px 0 0; font-size: 13px; color: var(--do); }
.phm-dt-thong-bao {
	margin: 0 0 18px; padding: 14px 18px; border-radius: 12px;
	background: #FBEAE2; color: var(--do); font-size: 14.5px; line-height: 1.5;
}

/* ------------------------------------------------ hình thức thanh toán */
.phm-tt-luoi { display: grid; gap: 12px; }
.phm-dt-form .phm-tt-o {
	display: flex; gap: 14px; align-items: flex-start; margin: 0;
	padding: 16px 18px; border: 1px solid #E6E0D4; border-radius: 12px; background: #FBFAF7;
	cursor: pointer; font-weight: 400; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.phm-dt-form .phm-tt-o:hover { border-color: #D3CBBB; }
.phm-dt-form .phm-tt-o input { margin: 3px 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.phm-dt-form .phm-tt-o:has(input:checked) { border-color: var(--teal-sang); background: #F4FAFB; box-shadow: 0 0 0 3px rgba(10, 92, 112, .1); }
.phm-tt-chu { display: flex; flex-direction: column; gap: 3px; }
.phm-tt-chu b { font-size: 15.5px; color: var(--navy); }
.phm-tt-chu small { font-size: 13.5px; color: var(--chu-phu); }

.phm-dt-gui { width: 100%; height: 56px; font-size: 17px; margin-top: 4px; }
.phm-dt-ghi-chu { margin: 14px 4px 0; font-size: 13.5px; color: var(--chu-phu); text-align: center; }

/* --------------------------------------------------------- tóm tắt */
.phm-dt-tom-tat-trong {
	background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 12px 30px rgba(16, 40, 59, .1);
}
.phm-dt-anh { position: relative; display: block; aspect-ratio: 16 / 10; background: #E7E5DF; }
.phm-dt-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phm-dt-tom-tat-than { padding: 22px 24px 24px; }
.phm-dt-tom-tat-than h2 { font-size: 21px; line-height: 1.3; margin-bottom: 14px; }
.phm-dt-tom-tat-than h2 a { color: var(--navy); text-decoration: none; }
.phm-dt-tom-tat-than h2 a:hover { color: var(--teal-sang); }
.phm-dt-tt { list-style: none; margin: 0; padding: 0; }
.phm-dt-tt li {
	display: flex; align-items: center; gap: 8px; padding: 9px 0;
	border-top: 1px solid var(--vien-nhat); font-size: 14px;
}
.phm-dt-tt svg { flex-shrink: 0; color: #93A0A7; }
.phm-dt-tt span { color: var(--chu-phu); }
.phm-dt-tt b { margin-left: auto; text-align: right; color: var(--navy); font-weight: 600; }
.phm-dt-tinh { margin-top: 14px; padding: 16px 18px 14px; background: var(--nen-kem); border-radius: 12px; }
.phm-dt-tinh-dong { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--chu-phu); }
.phm-dt-tinh-dong b { font-size: 15px; color: var(--navy); }
.phm-dt-tinh-tong { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--vien); }
.phm-dt-tinh-tong span { font-weight: 600; color: var(--navy); }
.phm-dt-tinh-tong b { font-size: 22px; letter-spacing: -.01em; color: var(--do); white-space: nowrap; }
.phm-dt-tinh p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--chu-phu); }

/* ------------------------------------------------- chưa chọn tour */
.phm-dt-trong {
	max-width: 560px; margin: 48px auto 0; padding: 44px 36px; text-align: center;
	background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(16, 40, 59, .08);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.phm-dt-trong p { color: var(--chu-phu); margin: 0 0 8px; }

/* ------------------------------------------------------ trang cảm ơn */
.phm-dt-xong { padding: 56px 0 80px; background: var(--nen-kem); }
.phm-dt-cam-on {
	max-width: 640px; margin: 0 auto; padding: 48px 44px 44px; text-align: center;
	background: #fff; border-radius: 20px; box-shadow: 0 18px 44px rgba(16, 40, 59, .1);
	display: flex; flex-direction: column; align-items: center;
}
.phm-dt-dau-tich {
	width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px;
	background: linear-gradient(145deg, #4FAE86, #1F6E4C); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 10px rgba(79, 174, 134, .15);
}
.phm-dt-cam-on h1 { font-size: clamp(28px, 1.8vw + 16px, 38px); margin: 4px 0 10px; }
.phm-dt-cam-on > p { max-width: 460px; margin: 0; color: var(--chu-phu); }
.phm-dt-ma {
	display: flex; flex-direction: column; gap: 2px; margin: 26px 0 4px;
	padding: 16px 40px 14px; border: 1px dashed #D3CBBB; border-radius: 14px; background: var(--nen-kem);
}
.phm-dt-ma small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--chu-phu); }
.phm-dt-ma b { font-size: 38px; letter-spacing: .02em; color: var(--navy); line-height: 1.2; }
.phm-dt-ma span { font-size: 13px; color: var(--chu-phu); }
.phm-dt-tiep { list-style: none; margin: 26px 0 0; padding: 0; text-align: left; width: 100%; display: grid; gap: 12px; }
.phm-dt-tiep li { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--navy-nhat); }
.phm-dt-tiep b {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
	background: var(--nen-kem); border: 1px solid var(--vien); color: var(--teal);
	display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.phm-dt-nut { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* ----------------------------------------------------- tra cứu đơn */
.phm-tc { max-width: 680px; margin: -34px auto 0; position: relative; z-index: 2; }
.phm-tc-form, .phm-tc-ket-qua {
	background: #fff; border-radius: 16px; padding: 28px 30px 26px; margin-bottom: 18px;
	box-shadow: 0 12px 30px rgba(16, 40, 59, .1);
}
.phm-tc-form .phm-dt-gui { margin-top: 2px; }
.phm-tc-ket-qua h2 { font-size: 24px; margin-bottom: 18px; }
.phm-tc-buoc { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phm-tc-buoc li {
	display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative;
	font-size: 13.5px; font-weight: 600; color: var(--chu-mo); text-align: center;
}
.phm-tc-buoc li + li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--vien); z-index: 0; }
.phm-tc-buoc li.xong + li.xong::before, .phm-tc-buoc li.xong + li::before { background: #BFE0D0; }
.phm-tc-buoc span {
	position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
	background: #fff; border: 2px solid var(--vien); display: inline-flex; align-items: center; justify-content: center;
}
.phm-tc-buoc li.xong { color: #1F6E4C; }
.phm-tc-buoc li.xong span { background: #1F6E4C; border-color: #1F6E4C; color: #fff; }
.phm-tc-chi-tiet { margin: 0; }
.phm-tc-chi-tiet > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--vien-nhat); font-size: 15px; }
.phm-tc-chi-tiet dt { color: var(--chu-phu); }
.phm-tc-chi-tiet dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy); }
.phm-tc-chi-tiet a { color: var(--navy); }
.phm-tc-ho-tro { text-align: center; font-size: 14px; color: var(--chu-phu); }

@media (max-width: 1000px) {
	.phm-dt-tom-tat { position: static; flex: 1 1 100%; order: -1; }
	.phm-dt-tom-tat-trong { display: flex; }
	.phm-dt-anh { flex: 0 0 38%; aspect-ratio: auto; }
}

@media (max-width: 680px) {
	.phm-buoc li + li::before { width: 22px; margin: 0 8px; }
	.phm-buoc li { font-size: 13px; }
	.phm-dt-the { padding: 22px 18px 20px; }
	.phm-sl-luoi { grid-template-columns: 1fr; }
	.phm-sl { flex-direction: row; align-items: center; justify-content: space-between; }
	.phm-sl-o { flex: 0 0 150px; }
	.phm-dt-hang { grid-template-columns: 1fr; }
	.phm-dt-tom-tat-trong { display: block; }
	.phm-dt-cam-on { padding: 36px 20px 32px; }
	.phm-dt-ma { padding: 14px 24px 12px; }
	.phm-tc-form, .phm-tc-ket-qua { padding: 22px 18px 20px; }
}

.phm-banner-dt { background-image: url('../img/hero-mac-dinh-1080.webp'); }

.phm-bieu-mau .phm-dt-gui { display: flex; align-items: center; justify-content: center; gap: 8px; }
