/* 프라이빗투어 (/private-tour) — 모든 규칙은 .pt- 접두사로 한정 */
.pt-page {
	--pt-primary: #0f766e;
	--pt-primary-dark: #115e59;
	--pt-accent: #ff5a5f;
	--pt-ink: #0f172a;
	--pt-sub: #64748b;
	--pt-line: #e2e8f0;
	--pt-bg: #f5f7fa;
	--pt-radius: 14px;
	background: var(--pt-bg);
	color: var(--pt-ink);
	padding-bottom: 120px;
	font-size: 14px;
}
.pt-page *, .pt-page *::before, .pt-page *::after { box-sizing: border-box; }
.pt-page h1, .pt-page h2, .pt-page h3, .pt-page h4 { color: var(--pt-ink); margin: 0; letter-spacing: -0.02em; }
.pt-page p { margin: 0; }
.pt-page [hidden] { display: none !important; }

/* hero */
.pt-hero {
	background: radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.18), transparent 60%),
		linear-gradient(120deg, #0f766e 0%, #0e7490 55%, #1d4ed8 100%);
	color: #fff;
	padding: 120px 0 64px;
	text-align: center;
}
.pt-hero h1 { color: #fff; font-size: 38px; font-weight: 800; margin: 14px 0 12px; }
.pt-hero h1 em { font-style: normal; color: #fde68a; }
.pt-hero p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.7; }
.pt-hero-badge {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
	font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.pt-region-tabs { display: inline-flex; gap: 6px; margin-top: 26px; padding: 6px; border-radius: 999px; background: rgba(15,23,42,.25); }
.pt-region-tab {
	border: 0; background: transparent; color: #fff; padding: 10px 20px; border-radius: 999px;
	font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.pt-region-tab:hover { background: rgba(255,255,255,.12); }
.pt-region-tab.is-active { background: #fff; color: var(--pt-primary-dark); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.pt-hero-points { list-style: none; margin: 26px auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: rgba(255,255,255,.85); }
.pt-hero-points b { color: #fff; margin-right: 4px; }

/* layout */
.pt-main { margin-top: -34px; position: relative; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pt-card { background: #fff; border-radius: var(--pt-radius); box-shadow: 0 10px 30px rgba(15,23,42,.08); border: 1px solid var(--pt-line); padding: 22px; display: flex; flex-direction: column; }
.pt-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.pt-card-head h2 { font-size: 18px; font-weight: 800; }
.pt-card-head p { color: var(--pt-sub); font-size: 13px; margin-top: 4px; }
.pt-model { font-size: 11px; color: var(--pt-primary-dark); background: #ccfbf1; border-radius: 999px; padding: 4px 10px; font-weight: 700; white-space: nowrap; }

/* chat */
.pt-chat-log { flex: 1; min-height: 240px; max-height: 420px; overflow-y: auto; padding: 4px 2px 10px; display: flex; flex-direction: column; gap: 10px; }
.pt-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; line-height: 1.6; font-size: 14px; white-space: pre-wrap; word-break: keep-all; }
.pt-msg-bot { background: #f1f5f9; border-top-left-radius: 4px; align-self: flex-start; }
.pt-msg-user { background: var(--pt-primary); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.pt-msg-bot ul { margin: 6px 0 0; padding-left: 18px; }
.pt-msg-meta { display: block; margin-top: 6px; font-size: 11px; color: var(--pt-sub); }
.pt-typing { display: inline-flex; gap: 4px; }
.pt-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: pt-bounce 1.2s infinite; }
.pt-typing i:nth-child(2) { animation-delay: .15s; } .pt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pt-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.pt-examples { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.pt-example { border: 1px dashed #94a3b8; background: #fff; color: #334155; border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; transition: all .15s; }
.pt-example:hover { border-color: var(--pt-primary); color: var(--pt-primary); background: #f0fdfa; }
.pt-chat-form { display: flex; gap: 8px; align-items: stretch; }
.pt-chat-form textarea { flex: 1; border: 1.5px solid var(--pt-line); border-radius: 12px; padding: 10px 12px; font-size: 14px; resize: none; line-height: 1.5; outline: none; }
.pt-chat-form textarea:focus { border-color: var(--pt-primary); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }

/* buttons */
.pt-btn { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.pt-btn:disabled { opacity: .55; cursor: not-allowed; }
.pt-btn-primary { background: var(--pt-primary); color: #fff; }
.pt-btn-primary:hover:not(:disabled) { background: var(--pt-primary-dark); }
.pt-btn-accent { background: var(--pt-accent); color: #fff; }
.pt-btn-ghost { background: #fff; border: 1.5px solid var(--pt-line); color: #334155; }
.pt-btn-ghost:hover { border-color: var(--pt-primary); color: var(--pt-primary); }
.pt-btn-sm { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.pt-btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.pt-btn-block { width: 100%; padding: 13px; font-size: 15px; margin-top: 6px; }

/* search form */
.pt-search-form { display: flex; flex-direction: column; gap: 12px; }
.pt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-field { display: flex; flex-direction: column; gap: 5px; margin: 0; font-weight: 400; }
.pt-field > span { font-size: 12px; color: var(--pt-sub); font-weight: 700; }
.pt-field input[type=date], .pt-field input[type=text], .pt-field input[type=tel], .pt-field input[type=email], .pt-field select, .pt-field textarea {
	height: 40px; border: 1.5px solid var(--pt-line); border-radius: 10px; padding: 0 10px; font-size: 14px; background: #fff; outline: none; width: 100%;
}
.pt-field textarea { height: auto; padding: 8px 10px; }
.pt-field input:focus, .pt-field select:focus, .pt-field textarea:focus { border-color: var(--pt-primary); }
.pt-check { flex-direction: row; align-items: center; gap: 8px; padding-top: 20px; cursor: pointer; }
.pt-check > span { font-size: 14px; color: var(--pt-ink); font-weight: 600; }
.pt-stepper { display: flex; border: 1.5px solid var(--pt-line); border-radius: 10px; overflow: hidden; height: 40px; }
.pt-stepper button { width: 38px; border: 0; background: #f8fafc; font-size: 18px; color: #334155; cursor: pointer; }
.pt-stepper input { flex: 1; min-width: 0; border: 0; text-align: center; font-size: 15px; font-weight: 700; -moz-appearance: textfield; }
.pt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-chip { border: 1.5px solid var(--pt-line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; color: #334155; }
.pt-chip.is-on { border-color: var(--pt-primary); background: #f0fdfa; color: var(--pt-primary-dark); font-weight: 700; }

/* result */
.pt-result { margin-top: 28px; }
.pt-result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pt-result-head h2 { font-size: 24px; font-weight: 800; }
.pt-result-head p { color: var(--pt-sub); margin-top: 6px; font-size: 14px; max-width: 640px; line-height: 1.6; }
.pt-conditions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; padding: 8px 10px; }
.pt-cond { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pt-sub); font-weight: 700; }
.pt-cond select, .pt-cond input { height: 32px; border: 1.5px solid var(--pt-line); border-radius: 8px; font-size: 13px; padding: 0 6px; color: var(--pt-ink); font-weight: 600; }
.pt-cond input[type=number] { width: 56px; text-align: center; }
.pt-section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.pt-section-title h3 { font-size: 18px; font-weight: 800; }
.pt-section-title p { color: var(--pt-sub); font-size: 13px; }
.pt-timeline-title { margin-top: 30px; }

.pt-vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pt-vendor-card { background: #fff; border: 1.5px solid var(--pt-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.pt-vendor-card.is-best { border-color: var(--pt-primary); box-shadow: 0 8px 22px rgba(15,118,110,.12); }
.pt-vendor-card .pt-tag-best { position: absolute; top: -10px; right: 12px; }
.pt-vendor-name { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.pt-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.pt-vendor-desc { color: var(--pt-sub); font-size: 12px; line-height: 1.5; min-height: 36px; }
.pt-vendor-total { font-size: 20px; font-weight: 800; color: var(--pt-ink); }
.pt-vendor-total small { font-size: 12px; color: var(--pt-sub); font-weight: 600; margin-left: 4px; }
.pt-vendor-cover { font-size: 12px; color: var(--pt-sub); }
.pt-vendor-cover.is-partial { color: #b45309; }

.pt-tag { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 7px; line-height: 16px; }
.pt-tag-best { background: var(--pt-accent); color: #fff; }
.pt-tag-quote { background: #fef3c7; color: #92400e; }
.pt-tag-peak { background: #fee2e2; color: #b91c1c; }
.pt-tag-mode { background: #e0f2fe; color: #075985; }

/* timeline */
.pt-day { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.pt-day-label { text-align: center; padding-top: 6px; }
.pt-day-label b { display: block; font-size: 13px; color: var(--pt-primary); font-weight: 800; letter-spacing: .04em; }
.pt-day-label strong { display: block; font-size: 22px; font-weight: 800; color: var(--pt-ink); margin-top: 2px; }
.pt-day-label span { display: block; font-size: 12px; color: var(--pt-sub); }
.pt-day-segs { display: flex; flex-direction: column; gap: 12px; }
.pt-seg { background: #fff; border-radius: var(--pt-radius); border: 1px solid var(--pt-line); box-shadow: 0 4px 14px rgba(15,23,42,.05); overflow: hidden; }
.pt-seg.is-off { opacity: .55; }
.pt-seg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 10px; flex-wrap: wrap; }
.pt-seg-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.pt-seg-tools { display: flex; align-items: center; gap: 6px; }
.pt-include { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--pt-sub); font-weight: 700; margin: 0; cursor: pointer; white-space: nowrap; }
.pt-mode-toggle { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; }
.pt-mode-toggle button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #475569; cursor: pointer; white-space: nowrap; }
.pt-mode-toggle button.is-on { background: #fff; color: var(--pt-primary-dark); box-shadow: 0 2px 6px rgba(15,23,42,.1); }
.pt-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 16px 12px; font-size: 13px; }
.pt-stop { background: #f8fafc; border: 1px solid var(--pt-line); border-radius: 8px; padding: 4px 9px; color: #334155; }
.pt-stop.is-end { background: #f0fdfa; border-color: #99f6e4; color: var(--pt-primary-dark); font-weight: 700; }
.pt-arrow { color: #94a3b8; }
.pt-seg-meta { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 12px; font-size: 12px; color: var(--pt-sub); align-items: center; }
.pt-seg-warn { margin: 0 16px 12px; padding: 8px 12px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 12px; font-weight: 600; }
.pt-seg-meta select { height: 28px; border: 1.5px solid var(--pt-line); border-radius: 7px; font-size: 12px; font-weight: 700; }

.pt-offers { border-top: 1px solid var(--pt-line); }
.pt-offer { display: grid; grid-template-columns: 26px minmax(110px, 1.1fr) minmax(0, 1.6fr) minmax(130px, auto); gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .12s; }
.pt-offer:hover { background: #f8fafc; }
.pt-offer.is-picked { background: #f0fdfa; }
.pt-offer input[type=radio] { width: 18px; height: 18px; accent-color: var(--pt-primary); margin: 0; }
.pt-offer-vendor { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.pt-offer-vehicle { font-size: 13px; color: #334155; line-height: 1.45; }
.pt-offer-vehicle small { display: block; color: var(--pt-sub); font-size: 12px; }
.pt-offer-note { display: block; color: #b45309; font-size: 11px; margin-top: 2px; }
.pt-offer-price { text-align: right; }
.pt-offer-price strong { display: block; font-size: 17px; font-weight: 800; }
.pt-offer-price small { color: var(--pt-sub); font-size: 12px; }
.pt-offer-more { display: block; width: 100%; border: 0; background: #fafafa; color: var(--pt-primary-dark); font-size: 12px; font-weight: 700; padding: 8px; cursor: pointer; }
.pt-offer-alt { background: #fcfcfd; }
.pt-offer-alt .pt-offer-vendor { font-weight: 600; color: var(--pt-sub); font-size: 12px; }
.pt-empty { padding: 18px 16px; color: var(--pt-sub); font-size: 13px; }

/* segment editor */
.pt-editor { padding: 14px 16px; background: #f8fafc; border-top: 1px dashed var(--pt-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pt-editor .pt-field-wide { grid-column: span 4; }
.pt-stops-edit { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pt-stops-edit .pt-stop button { border: 0; background: transparent; color: #94a3b8; margin-left: 4px; cursor: pointer; padding: 0; }
.pt-editor-actions { grid-column: span 4; display: flex; justify-content: flex-end; gap: 8px; }

.pt-notes { margin-top: 26px; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); padding: 16px 20px; }
.pt-notes h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.pt-notes ul { margin: 0; padding-left: 18px; color: #475569; font-size: 13px; line-height: 1.8; }

/* sticky bar */
.pt-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(255,255,255,.97); border-top: 1px solid var(--pt-line); box-shadow: 0 -8px 24px rgba(15,23,42,.08); backdrop-filter: blur(6px); }
.pt-sticky-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.pt-sticky-info { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pt-sticky-info span { font-size: 13px; color: var(--pt-sub); font-weight: 700; }
.pt-sticky-info strong { font-size: 24px; font-weight: 800; }
.pt-sticky-info small { color: var(--pt-sub); font-size: 13px; }

/* modal */
.pt-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pt-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.pt-modal-dialog { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.pt-modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; color: #94a3b8; cursor: pointer; line-height: 1; }
.pt-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pt-modal .pt-sub { color: var(--pt-sub); font-size: 13px; margin-bottom: 16px; }
.pt-book-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.pt-book-table th { text-align: left; color: var(--pt-sub); font-weight: 700; font-size: 12px; padding: 8px 6px; border-bottom: 1.5px solid var(--pt-line); }
.pt-book-table td { padding: 10px 6px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.pt-book-table td.num { text-align: right; font-weight: 800; white-space: nowrap; }
.pt-book-table tfoot td { font-size: 15px; font-weight: 800; border-bottom: 0; }
.pt-book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-book-form .pt-field-wide { grid-column: span 2; }
.pt-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #475569; line-height: 1.6; margin: 14px 0; font-weight: 400; }
.pt-error { color: #dc2626; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.pt-done-badge { display: inline-block; background: #dcfce7; color: #166534; font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 10px; }
.pt-bundle { font-size: 26px; font-weight: 800; letter-spacing: .02em; color: var(--pt-primary-dark); margin: 4px 0 4px; }

.pt-loading { position: relative; pointer-events: none; }
.pt-loading::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.6); border-radius: inherit; }

.pt-pc { display: inline; }
@media (max-width: 991px) {
	.pt-grid { grid-template-columns: 1fr; }
	.pt-hero { padding: 96px 0 56px; }
	.pt-hero h1 { font-size: 28px; }
	.pt-pc { display: none; }
}
@media (max-width: 640px) {
	.pt-region-tab { padding: 8px 12px; font-size: 13px; }
	.pt-day { grid-template-columns: 1fr; gap: 6px; }
	.pt-day-label { text-align: left; display: flex; gap: 8px; align-items: baseline; padding: 0; }
	.pt-day-label strong { font-size: 16px; margin: 0; }
	.pt-offer { grid-template-columns: 22px minmax(0, 1fr) auto; }
	.pt-offer-vehicle { grid-column: 2 / 4; grid-row: 2; }
	.pt-editor { grid-template-columns: 1fr 1fr; }
	.pt-editor .pt-field-wide, .pt-editor-actions { grid-column: span 2; }
	.pt-book-form { grid-template-columns: 1fr; }
	.pt-book-form .pt-field-wide { grid-column: span 1; }
	.pt-sticky-info strong { font-size: 19px; }
	.pt-btn-lg { padding: 12px 16px; font-size: 14px; }
}
