/* Transfer Booking Pro — เรือ & รถรับส่ง (โทนทอง/ครีม) */
.tft {
	--tft-gold: #9a7b3c;
	--tft-gold-dark: #7d6230;
	--tft-gold-soft: #b89a5a;
	--tft-bg: transparent;
	--tft-card: transparent;
	--tft-line: #e8dfcf;
	--tft-ink: #222;
	--tft-muted: #6f6656;
	--tft-serif: Georgia, "Times New Roman", serif;
	color: var(--tft-ink);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1080px;
	margin: 0 auto;
	box-sizing: border-box;
}
.tft *, .tft *::before, .tft *::after { box-sizing: border-box; }
.tft [hidden] { display: none !important; }
.tft-page-title { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-gold-dark)); text-align: center; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(28px, 5vw, 52px); margin: 0 0 8px; }
.tft-rule { display: block; width: 260px; max-width: 60%; height: 2px; background: var(--tft-gold); margin: 0 auto 32px; opacity: .5; }

.tft-card { background: var(--tft-card); border: 1px solid var(--tft-line); border-radius: 16px; padding: 28px; }
.tft-label { display: block; color: var(--tft-muted); font-size: 15px; margin: 0 0 8px; }
.tft-field { display: block; flex: 1; min-width: 0; margin: 0; }
.tft-select, .tft-input {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--tft-ink);
	background: #fff; border: 1px solid var(--tft-line); border-radius: 10px; outline: none; box-shadow: none;
}
.tft-select:focus, .tft-input:focus { border-color: var(--tft-gold); box-shadow: 0 0 0 3px rgba(154, 123, 60, .15); }
.tft-input[readonly] { background: #f6f0e4; color: var(--tft-muted); }
textarea.tft-input { min-height: 96px; resize: vertical; }
.tft-hint { color: var(--tft-muted); margin: 18px 0 12px; }
.tft-hint--sm { display: block; color: var(--tft-muted); font-size: 14px; margin: 6px 0 0; }
.tft-center { text-align: center; margin-top: 20px; }
.tft-mt { margin-top: 20px; }
.tft-hr { border: 0; border-top: 1px solid var(--tft-line); margin: 22px 0; }
.tft-i { vertical-align: -3px; margin-right: 6px; color: var(--tft-gold); }

/* ปุ่ม */
.tft-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 32px; border: 0; border-radius: 8px; cursor: pointer;
	background: linear-gradient(90deg, var(--tft-btn, var(--tft-gold)), var(--tft-btn2, var(--tft-gold-dark))); color: var(--tft-btn-text, #fff) !important; font: inherit; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; font-size: 15px; transition: filter .15s, transform .15s;
}
.tft-btn:hover { filter: brightness(1.08); }
.tft-btn:active { transform: translateY(1px); }
.tft-btn:disabled { opacity: .6; cursor: wait; }
.tft-btn--wide { min-width: min(430px, 100%); padding: 18px 32px; }
.tft-btn--block { width: 100%; padding: 18px; margin-top: 18px; }

/* ต้นทาง ⇄ ปลายทาง */
.tft-od { display: flex; align-items: flex-end; gap: 18px; }
.tft-swap { flex: none; width: 56px; height: 56px; margin-bottom: -4px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tft-gold) 62%, #fff); background: #fff; color: var(--tft-gold); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.tft-swap:hover { transform: rotate(180deg); }
.tft-swap .tft-i { margin: 0; width: 22px; height: 22px; }

/* ปุ่มเลือกแบบเม็ดยา */
.tft-pills-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.tft-pills { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--tft-line); border-radius: 999px; background: #f6f0e4; }
.tft-pill { position: relative; margin: 0; cursor: pointer; }
.tft-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tft-pill span { display: block; padding: 10px 28px; border-radius: 999px; color: var(--tft-muted); font-size: 17px; transition: background .15s, color .15s; }
.tft-pill input:checked + span { background: #fff; color: var(--tft-gold-dark); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.tft-pill input:focus-visible + span { outline: 2px solid var(--tft-gold); }
.tft-modes { margin-bottom: 18px; }

.tft-dates { display: flex; gap: 18px; margin-top: 26px; }
.tft-dates .tft-field { max-width: 50%; }
.tft-dates .tft-input { min-height: 64px; font-size: 18px; }

/* ตัวนับผู้โดยสาร */
.tft-pax { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tft-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--tft-card); border: 1px solid var(--tft-line); border-radius: 12px; }
.tft-count__txt strong { display: block; font-size: 18px; font-weight: 600; }
.tft-count__txt small { color: var(--tft-muted); font-size: 14px; }
.tft-count__ctl { display: flex; align-items: center; gap: 6px; }
.tft-count__n { width: 40px; border: 0 !important; background: transparent !important; text-align: center; font-size: 20px; font-weight: 700; padding: 0; -moz-appearance: textfield; box-shadow: none !important; }
.tft-count__n::-webkit-inner-spin-button, .tft-count__n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tft-step { width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--tft-gold) 62%, #fff); background: #fff; color: var(--tft-gold-dark); font-size: 22px; line-height: 1; cursor: pointer; }
.tft-step:disabled { border-color: var(--tft-line); color: #ccc; cursor: default; }
.tft-step:not(:disabled):hover { background: var(--tft-gold); color: #fff; }

/* ผลการค้นหา */
#tft-results { scroll-margin-top: 120px; }
.tft-route-title { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-gold-dark)); font-size: var(--tft-route-fs, clamp(30px, 4.5vw, 54px)); margin: 48px 0 4px; line-height: 1.15; }
.tft-arrow { font-family: sans-serif; }
.tft-route-sub { color: var(--tft-muted); margin: 0 0 22px; }
.tft-opt { padding: 0; overflow: hidden; margin: 0 0 30px; border-radius: 18px; }
.tft-opt:hover { border-color: color-mix(in srgb, var(--tft-gold) 62%, #fff); }
.tft-opt.is-off { opacity: .6; }
.tft-opt__body { display: grid; grid-template-columns: minmax(0, 1fr) 375px; gap: 30px; padding: 30px; background: var(--tft-card); }
.tft-badge { display: inline-block; padding: 4px 18px; border-radius: 999px; background: linear-gradient(90deg, var(--tft-gold), var(--tft-gold-dark)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tft-opt__title { font-family: var(--tft-serif); font-size: 34px; margin: 10px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--tft-line); color: #1d1d1d; }
.tft-tag { display: inline-block; vertical-align: middle; font-family: sans-serif; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #f3ead8; color: var(--tft-gold-dark); letter-spacing: .05em; font-weight: 700; }
.tft-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tft-time { padding: 14px 18px; border: 1px solid var(--tft-line); border-radius: 12px; background: transparent; }
.tft-time span { display: block; color: var(--tft-muted); font-size: 15px; }
.tft-time strong { display: block; font-size: 26px; margin-top: 4px; }
.tft-opt__note { color: var(--tft-muted); margin: 14px 0 0; }
.tft-opt__img img { width: 100%; height: 100%; min-height: 220px; max-height: 280px; object-fit: cover; border-radius: 14px; display: block; }
.tft-opt__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 20px 30px; border-top: 1px solid var(--tft-line); background: var(--tft-bg); }
.tft-price { color: var(--tft-muted); }
.tft-price strong { font-family: var(--tft-serif); color: var(--tft-gold-dark); font-size: 34px; margin: 0 4px; }
.tft-price small { display: block; font-size: 13px; }
.tft-opt__foot .tft-btn { padding: 14px 32px; margin-left: auto; }
.tft-left { color: #b5651d; font-weight: 600; font-size: 14px; }
.tft-soldout { margin-left: auto; color: #a23b2a; font-weight: 700; }
.tft-empty { padding: 20px; text-align: center; color: var(--tft-muted); background: var(--tft-card); border: 1px dashed var(--tft-line); border-radius: 12px; }
.tft-empty a { color: var(--tft-gold-dark); font-weight: 600; }

/* ---------- หน้าจอง ---------- */
.tft-book { max-width: 1050px; }
.tft-steps { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0 22px; margin-bottom: 30px; border-bottom: 1px solid var(--tft-line); }
.tft-steps__logo img { max-height: 70px; width: auto; display: block; }
.tft-steps__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0 0 0 auto; padding: 0; }
.tft-steps__list li { color: var(--tft-muted); font-size: 17px; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.tft-steps__list li + li::before { content: ''; display: inline-block; width: 34px; height: 1px; background: color-mix(in srgb, var(--tft-gold) 62%, #fff); margin: 0 16px; vertical-align: middle; }
.tft-steps__list li.is-on { color: var(--tft-gold-dark); font-weight: 700; }
.tft-steps__list li.is-on:last-of-type, .tft-steps__list li.is-on:not(:has(+ li.is-on)) { border-bottom-color: var(--tft-gold); }
.tft-sec { margin-bottom: 34px; }
.tft-sec__h { display: flex; align-items: center; gap: 22px; font-family: var(--tft-serif); color: var(--tft-head, var(--tft-gold-dark)); font-size: 26px; font-weight: 400; margin: 0 0 18px; }
.tft-sec__h::after { content: ''; flex: 1; height: 1px; background: color-mix(in srgb, var(--tft-gold) 62%, #fff); opacity: .6; }
.tft-sec .tft-card + .tft-sec__h { margin-top: 34px; }
.tft-row { display: flex; align-items: flex-end; gap: 24px; margin-top: 20px; }
.tft-row .tft-field { max-width: 50%; }
.tft-half { max-width: 50%; }
.tft-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 0; margin: 0; }
.tft-check input { width: 20px; height: 20px; accent-color: var(--tft-gold); }
.tft-info { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #f6f0e4; color: var(--tft-muted); white-space: pre-line; font-size: 15px; }
.tft-legtitle { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-gold-dark)); font-size: 20px; margin: 0 0 12px; }

.tft-deps { display: flex; flex-direction: column; gap: 12px; }
.tft-dep { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin: 0; background: #fff; border: 1px solid var(--tft-line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.tft-dep:hover { border-color: color-mix(in srgb, var(--tft-gold) 62%, #fff); }
.tft-dep input { flex: none; width: 22px; height: 22px; accent-color: var(--tft-gold-dark); margin: 0; }
.tft-dep.is-on { border: 1.5px solid var(--tft-gold); background: #f8efe1; }
.tft-dep.is-off { opacity: .55; cursor: not-allowed; }
.tft-dep__txt { flex: 1; min-width: 0; }
.tft-dep__txt strong { display: block; font-size: 18px; font-weight: 600; }
.tft-dep__txt small { display: block; color: var(--tft-muted); font-size: 15px; }
.tft-dep__price { text-align: right; color: var(--tft-gold-dark); font-weight: 700; font-size: 19px; white-space: nowrap; }
.tft-dep__price small { display: block; font-weight: 400; font-size: 13px; color: var(--tft-muted); }
.tft-dep__price em { font-style: normal; color: #a23b2a; font-size: 15px; }
.tft-dep__price .tft-left { color: #b5651d; font-weight: 600; }

.tft-kv { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 8px 20px; margin: 0 0 14px; }
.tft-kv__k { font-size: 17px; color: var(--tft-ink); }
.tft-kv__k em { color: #c0602c; font-style: normal; }
.tft-pax--book .tft-count { padding: 14px 16px; }
.tft-privnote { margin: 12px 0 0; }

.tft-sum__line { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: var(--tft-muted); font-size: 17px; }
.tft-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--tft-line); font-size: 18px; }
.tft-sum__total strong { font-family: var(--tft-serif); color: var(--tft-gold-dark); font-size: 38px; }
.tft-methods { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.tft-method { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--tft-line); border-radius: 10px; background: #fff; cursor: pointer; margin: 0; }
.tft-method input { accent-color: var(--tft-gold-dark); width: 18px; height: 18px; }
.tft-method:has(input:checked) { border-color: var(--tft-gold); background: #f8efe1; }
.tft-terms { margin-top: 10px; }
.tft-terms__txt { color: var(--tft-muted); font-size: 14px; }
.tft-terms__txt summary { cursor: pointer; }
.tft-err { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; background: #fbeae6; color: #8a2a1c; }

.tft-result { text-align: center; }
.tft-result__icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: #fff; background: linear-gradient(90deg, var(--tft-gold), var(--tft-gold-dark)); }
.tft-result h3 { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-gold-dark)); }
.tft-result .tfb-summary-table { text-align: left; margin: 16px 0; }
.tft-result .tfb-pay { text-align: center; margin-top: 18px; padding: 18px; border-radius: 12px; background: #f6f0e4; }
.tft-result .tfb-qr { display: inline-block; padding: 10px; background: #fff; border-radius: 8px; }
.tft-result .tfb-qr img, .tft-result .tfb-qr canvas { display: block; }

@media (max-width: 860px) {
	.tft-card { padding: 20px; }
	.tft-opt__body { grid-template-columns: 1fr; padding: 20px; }
	.tft-opt__img { order: -1; }
	.tft-opt__foot { padding: 16px 20px; }
	.tft-pax { grid-template-columns: 1fr; }
	.tft-kv { grid-template-columns: 1fr; }
	.tft-steps { flex-direction: column; align-items: flex-start; }
	.tft-steps__list { margin: 0; font-size: 14px; }
	.tft-steps__list li + li::before { width: 18px; margin: 0 8px; }
}
@media (max-width: 600px) {
	.tft-od { flex-direction: column; align-items: stretch; gap: 10px; }
	.tft-swap { align-self: center; margin: 0; transform: rotate(90deg); }
	.tft-dates, .tft-row { flex-direction: column; align-items: stretch; }
	.tft-dates .tft-field, .tft-row .tft-field, .tft-half { max-width: none; }
	.tft-pill span { padding: 9px 18px; font-size: 15px; }
	.tft-opt__title { font-size: 26px; }
	.tft-dep { flex-wrap: wrap; }
	.tft-dep__price { width: 100%; text-align: left; padding-left: 38px; }
}

/* หน้าตรวจสอบการจอง */
.tft-lookup-wrap { max-width: 760px; }
.tft-lookup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; margin-bottom: 24px; }
.tft-lookup .tft-btn { min-height: 48px; }
.tft-status { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 700; background: #f3ead8; color: var(--tft-gold-dark); }
.tft-status--paid, .tft-status--confirmed { background: #e6f4ea; color: #1a7a33; }
.tft-status--cancelled { background: #fbeae6; color: #8a2a1c; }
.tft-summary-table, .tfb-summary-table { width: 100%; }
@media (max-width: 700px) { .tft-lookup { grid-template-columns: 1fr; } }

/* ---------- การ์ดเส้นทาง / เส้นทางทั้งหมด (วิดเจ็ต) ---------- */
.tft-grid-wrap { max-width: none; }
.tft-grid { display: grid; grid-template-columns: repeat(var(--tft-cols, 3), minmax(0, 1fr)); gap: 24px; }
.tft-rcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--tft-line); border-radius: 16px; box-shadow: 0 2px 14px rgba(120, 95, 40, .06); transition: transform .2s, box-shadow .2s; max-width: 420px; width: 100%; }
.tft-grid--1 .tft-rcard, .tft-grid[style*="--tft-cols:1"] .tft-rcard { margin: 0 auto; }
.tft-rcard:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(120, 95, 40, .14); }
.tft-rcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3ead8; }
.tft-rcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tft-rcard:hover .tft-rcard__media img { transform: scale(1.04); }
.tft-rcard__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--tft-gold); }
.tft-rcard__placeholder .tft-i { width: 54px; height: 54px; margin: 0; }
.tft-rcard__badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--tft-gold), var(--tft-gold-dark)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.tft-rcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tft-rcard__eyebrow { margin: 0 0 4px; color: var(--tft-gold); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tft-rcard__title { margin: 0 0 8px; font-family: var(--tft-serif); font-size: 24px; line-height: 1.2; }
.tft-rcard__title a { color: #1d1d1d; text-decoration: none; }
.tft-rcard__title a:hover { color: var(--tft-gold-dark); }
.tft-rcard__meta { display: flex; align-items: center; margin: 0 0 16px; color: var(--tft-muted); font-size: 14px; }
.tft-rcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tft-line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tft-rcard__price small { display: block; color: var(--tft-muted); font-size: 13px; }
.tft-rcard__amount { display: flex; align-items: baseline; gap: 4px; }
.tft-rcard__amount strong { font-family: var(--tft-serif); color: var(--tft-gold-dark); font-size: 26px; }
.tft-rcard__amount span { color: var(--tft-muted); font-size: 13px; }
.tft-rcard__sub { display: block; color: var(--tft-muted); font-size: 13px; }
.tft-rcard__actions { display: flex; align-items: center; gap: 12px; }
.tft-rcard__link { color: var(--tft-gold-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.tft-rcard__link:hover { text-decoration: underline; }
.tft-btn--sm { padding: 10px 18px; font-size: 13px; letter-spacing: .1em; }
@media (max-width: 900px) { .tft-grid { grid-template-columns: repeat(min(var(--tft-cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .tft-grid { grid-template-columns: 1fr; } .tft-rcard { max-width: none; } }
/* พื้นที่แคบ (แถบข้าง) */
.widget .tft-grid, .elementor-widget-sidebar .tft-grid { grid-template-columns: 1fr; }

/* ปุ่ม “จองเลย” บนการ์ด = สีปุ่มจองในหน้าตั้งค่า (สีและข้อความปุ่ม) */
.tft .tfb-book-btn.tft-btn { background: var(--tfb-btn, #9a7b3c); color: var(--tfb-btn-text, #fff) !important; }
.tft .tfb-book-btn.tft-btn:hover { background: var(--tfb-btn-hover, var(--tfb-btn, #9a7b3c)); color: var(--tfb-btn-hover-text, var(--tfb-btn-text, #fff)) !important; filter: var(--tfb-btn-filter, brightness(1.08)); }

/* ---------- 1.2.0: เรือเหมา / จองรถแบบ Grab ---------- */
.tft-time--wide { grid-column: span 2; }
.tft-od { gap: 20px; }
.tft-dates--car { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.tft-pax--one { display: block; }
.tft-pax--one .tft-count { margin: 0; }
.tft-cars { display: grid; gap: 14px; margin-top: 18px; }
.tft-car { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--tft-line); border-radius: 16px; background: var(--tft-card); transition: border-color .2s, box-shadow .2s; }
.tft-car:hover { border-color: color-mix(in srgb, var(--tft-gold) 62%, #fff); box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.tft-car.is-off { opacity: .55; }
.tft-car__img { width: 120px; height: 80px; display: grid; place-items: center; color: var(--tft-gold); }
.tft-car__img img { width: 100%; height: 100%; object-fit: contain; }
.tft-car__img .tft-i { width: 54px; height: 54px; }
.tft-car__txt h3 { margin: 0 0 6px; font-size: var(--tft-car-fs, 19px); font-family: var(--tft-serif); }
.tft-car__meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; color: var(--tft-muted); font-size: 15px; }
.tft-car__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tft-car__meta b { color: var(--tft-ink); }
.tft-car__note { margin: 6px 0 0; color: var(--tft-muted); font-size: 14px; }
.tft-car__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.tft-car__price { font-size: 24px; font-weight: 700; color: var(--tft-ink); white-space: nowrap; }
.tft-car__buy small { color: var(--tft-muted); font-size: 13px; }
.tft-car__buy .tft-btn { margin-top: 6px; }
.tft-btn--sm { padding: 10px 26px; font-size: 15px; }
@media (max-width: 640px) {
	.tft-dates--car { grid-template-columns: 1fr; }
	.tft-car { grid-template-columns: 76px 1fr; padding: 14px; gap: 12px; }
	.tft-car__img { width: 76px; height: 56px; }
	.tft-car__buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
	.tft-car__buy .tft-btn { margin: 0; }
	.tft-time--wide { grid-column: auto; }
}
/* ช่องต้นทาง / ปลายทาง ใหญ่ขึ้น */
.tft-od .tft-select { min-height: 64px; padding: 14px 44px 14px 18px; font-size: 18px; border-radius: 12px; }
.tft-od .tft-label { font-size: 16px; }
@media (max-width: 640px) { .tft-od .tft-select { min-height: 58px; font-size: 17px; } }
.tft-dates--car { align-items: start; }
.tft-dates--car .tft-input { width: 100%; min-height: 64px; font-size: 18px; }
.tft-pax--one .tft-count { min-height: 64px; padding: 8px 16px; box-sizing: border-box; }
.tft-pax--one .tft-count__txt strong { font-size: 17px; }
.tft-pax--one .tft-count__sub { font-size: 13px; }
.tft-dates--car .tft-field { max-width: none; }
.tft-dates--car .tft-pax--one { display: block; }
/* แถวเรือ (แบบเดียวกับรายการรถ) */
.tft-boat .tft-car__txt h3 .tft-tag { vertical-align: middle; font-family: inherit; }
.tft-car__times { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.tft-car__times span { display: flex; flex-direction: column; line-height: 1.15; }
.tft-car__times small { font-size: 12px; color: var(--tft-muted); text-transform: uppercase; letter-spacing: .04em; }
.tft-car__times b { font-size: 22px; color: var(--tft-ink); }
.tft-car__times i { font-style: normal; color: var(--tft-gold); font-size: 20px; }
.tft-car__times--free b { font-size: 18px; }
.tft-boats .tft-car__img { width: 140px; height: 92px; border-radius: 12px; overflow: hidden; }
.tft-boats .tft-car__img img { object-fit: cover; }
.tft-boats .tft-car { grid-template-columns: 140px 1fr auto; }
@media (max-width: 640px) {
	.tft-boats .tft-car { grid-template-columns: 84px 1fr; }
	.tft-boats .tft-car__img { width: 84px; height: 64px; }
	.tft-car__times b { font-size: 19px; }
}
/* ปฏิทินเลือกวันแบบใหญ่ */
.tft-dp { position: relative; }
.tft-dp__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 18px; font: inherit; font-size: 18px; color: var(--tft-ink); text-align: left; background: #fff; border: 1px solid var(--tft-line); border-radius: 12px; cursor: pointer; }
.tft-dp__btn:hover, .tft-dp.is-open .tft-dp__btn { border-color: var(--tft-gold); }
.tft-dp__btn span { flex: 1; }
.tft-dp__btn i { font-style: normal; color: var(--tft-muted); font-size: 14px; }
.tft-dp__ico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--tft-gold); stroke-width: 1.8; }
.tft-dp__pop { position: absolute; z-index: 9999; top: calc(100% + 8px); left: 0; width: 380px; max-width: calc(100vw - 32px); padding: 18px; background: #fff; border: 1px solid var(--tft-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.tft-dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tft-dp__head strong { font-size: 19px; color: var(--tft-ink); }
.tft-dp__nav { width: 44px; height: 44px; font-size: 26px; line-height: 1; color: var(--tft-ink); background: transparent; border: 1px solid var(--tft-line); border-radius: 50%; cursor: pointer; }
.tft-dp__nav:disabled { opacity: .3; cursor: default; }
.tft-dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tft-dp__wd { padding: 6px 0; text-align: center; font-size: 13px; color: var(--tft-muted); }
.tft-dp__day { height: 46px; font: inherit; font-size: 17px; color: var(--tft-ink); background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.tft-dp__day:hover:not(:disabled) { border-color: var(--tft-gold); }
.tft-dp__day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tft-dp__day.is-sel { color: #fff; background: var(--tft-gold); border-color: var(--tft-gold); }
.tft-dp__day:disabled { color: #c9c3b8; cursor: default; }
@media (max-width: 640px) {
	.tft-dp__pop { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: auto; max-width: none; border-radius: 20px 20px 0 0; padding: 20px 16px 28px; }
	.tft-dp__day { height: 50px; font-size: 18px; }
}
/* ปฏิทินค้นหา: กันสไตล์ปุ่มของธีม (เช่น Astra / Elementor) มาทับ */
.tft .tft-dp button { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tft .tft-dp .tft-dp__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 18px; font-family: inherit; font-size: 18px; line-height: 1.3; color: var(--tft-ink); text-align: left; background: #fff; border: 1px solid var(--tft-line); border-radius: 12px; }
.tft .tft-dp .tft-dp__btn:hover, .tft .tft-dp.is-open .tft-dp__btn { border-color: var(--tft-gold); }
.tft .tft-dp .tft-dp__nav { display: grid; place-items: center; width: 44px; height: 44px; font-size: 24px; line-height: 1; color: var(--tft-ink); background: #fff; border: 1px solid var(--tft-line); border-radius: 50%; }
.tft .tft-dp .tft-dp__nav:disabled { opacity: .3; cursor: default; }
.tft .tft-dp .tft-dp__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tft .tft-dp .tft-dp__day { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; padding: 0; font-family: inherit; font-size: 17px; line-height: 1; color: var(--tft-ink); text-align: center; background: transparent; border: 1px solid transparent; border-radius: 10px; }
.tft .tft-dp .tft-dp__day:hover:not(:disabled) { border-color: var(--tft-gold); background: transparent; }
.tft .tft-dp .tft-dp__day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tft .tft-dp .tft-dp__day.is-sel, .tft .tft-dp .tft-dp__day.is-sel:hover { color: #fff; background: var(--tft-gold); border-color: var(--tft-gold); }
.tft .tft-dp .tft-dp__day:disabled { color: #c9c3b8; cursor: default; }
.tft .tft-dp .tft-dp__wd { display: block; padding: 6px 0; text-align: center; font-size: 13px; color: var(--tft-muted); }
.tft .tft-dp .tft-dp__pop { box-sizing: border-box; }
@media (max-width: 640px) { .tft .tft-dp .tft-dp__day { height: 50px; font-size: 18px; } }
/* กันธีมใส่สี/ขนาดปุ่มทับ (บางธีมใช้ !important) */
.tft .tft-dp button, .tft .tft-step { min-width: 0 !important; max-width: none; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; text-shadow: none !important; }
.tft .tft-dp .tft-dp__btn { background: #fff !important; color: var(--tft-ink) !important; border: 1px solid var(--tft-line) !important; border-radius: 12px !important; padding: 12px 18px !important; }
.tft .tft-dp.is-open .tft-dp__btn, .tft .tft-dp .tft-dp__btn:hover { border-color: var(--tft-gold) !important; }
.tft .tft-dp .tft-dp__nav { background: #fff !important; color: var(--tft-ink) !important; border: 1px solid var(--tft-line) !important; border-radius: 50% !important; padding: 0 !important; }
.tft .tft-dp .tft-dp__day { background: transparent !important; color: var(--tft-ink) !important; border: 1px solid transparent !important; border-radius: 10px !important; padding: 0 !important; }
.tft .tft-dp .tft-dp__day:hover:not(:disabled) { border-color: var(--tft-gold) !important; }
.tft .tft-dp .tft-dp__day:disabled { color: #c9c3b8 !important; }
.tft .tft-dp .tft-dp__day.is-sel { background: var(--tft-gold) !important; border-color: var(--tft-gold) !important; color: #fff !important; }
.tft .tft-step { padding: 0 !important; border-radius: 50% !important; width: 40px !important; height: 40px !important; background: #fff !important; color: var(--tft-gold) !important; border: 1px solid var(--tft-gold) !important; font-size: 20px !important; line-height: 1 !important; display: inline-grid !important; place-items: center; }
.tft .tft-step:disabled { color: #c9c3b8 !important; border-color: var(--tft-line) !important; }
.tft .tft-btn { text-transform: uppercase; }
.tft .tft-btn { background: linear-gradient(90deg, var(--tft-btn, var(--tft-gold)), var(--tft-btn2, var(--tft-gold-dark))) !important; color: var(--tft-btn-text, #fff) !important; border: 0 !important; border-radius: 8px !important; min-width: 0 !important; }

/* การ์ดรถ/เรือ: แตะทั้งการ์ดเพื่อเปิดรายละเอียด/จอง */
.tft-car:not(.is-off) { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tft-car:not(.is-off):active { transform: scale(.995); }

/* ===== การ์ดรถ: แตะการ์ด = หน้ารายละเอียด · แตะรูป = รูปเต็มจอ ===== */
.tft-car[data-href] { cursor: pointer; }
.tft-car__link { color: inherit !important; text-decoration: none !important; }
.tft-car__link:hover { color: var(--tft-head, var(--tft-gold-dark)) !important; }
.tft-car__img { position: relative; }
.tft-car__img[data-gallery] { cursor: zoom-in; }
.tft-car__n { position: absolute; right: 4px; bottom: 4px; min-width: 22px; padding: 1px 6px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* ===== ปฏิทิน: ปัดซ้าย-ขวาได้ ===== */
.tft-dp__grid, .tfb-cal__grid { touch-action: pan-y; }

/* ===== หน้ารายละเอียดรถ (แบบหน้ารถเช่า) ===== */
.tft-cd { color: var(--tft-ink); max-width: 1100px; margin: 0 auto; }
.tft-cd__crumb { font-size: 13px; color: var(--tft-muted); margin: 0 0 14px; }
.tft-cd__crumb a { color: var(--tft-muted) !important; text-decoration: none !important; }
.tft-cd__crumb a:hover { color: var(--tft-gold) !important; }
.tft-cd__crumb b { color: var(--tft-gold); font-weight: 600; }
.tft-cd__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.tft-cd__slider { position: relative; border-radius: 16px; overflow: hidden; background: #ece6dc; aspect-ratio: 16 / 9; }
.tft-cd__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tft-cd__track::-webkit-scrollbar { display: none; }
.tft .tft-cd__slide { all: unset; flex: 0 0 100%; height: 100%; scroll-snap-align: start; cursor: zoom-in; position: relative; }
.tft .tft-cd__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tft-cd__noimg { height: 100%; display: grid; place-items: center; color: var(--tft-gold); }
.tft-cd__noimg svg { width: 22%; height: auto; }
.tft .tft-cd__arr { all: unset; position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--tft-ink); display: grid; place-items: center; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); z-index: 2; }
.tft .tft-cd__arr--prev { left: 14px; } .tft .tft-cd__arr--next { right: 14px; }
.tft-cd__count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 99px; z-index: 2; }
.tft-cd__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.tft-cd__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); transition: all .2s; }
.tft-cd__dots i.is-on { width: 18px; border-radius: 6px; background: var(--tft-gold); }
.tft-cd__title { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-ink)); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin: 22px 0 4px; }
.tft-cd__sub { color: var(--tft-muted); font-size: 14px; margin: 0 0 12px; }
.tft-cd__tags, .tft-cd__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tft-cd__tags span, .tft-cd__chips span { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--tft-line); border-radius: 8px; padding: 6px 12px; font-size: 14px; }
.tft-cd__tags .tft-i, .tft-cd__chips .tft-i { color: var(--tft-gold); width: 14px; height: 14px; }
.tft-cd__chips span { background: color-mix(in srgb, var(--tft-gold) 9%, #fff); border-color: color-mix(in srgb, var(--tft-gold) 25%, #fff); }
.tft-cd__spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; padding: 20px 0; border-top: 1px solid var(--tft-line); margin: 0 0 8px; }
.tft-cd__spec > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tft-cd__si { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tft-gold) 12%, #fff); color: var(--tft-gold); }
.tft-cd__si .tft-i { width: 20px; height: 20px; }
.tft-cd__spec small { display: block; color: var(--tft-muted); font-size: 13px; }
.tft-cd__spec b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.tft-cd__h { font-family: var(--tft-serif); color: var(--tft-head, var(--tft-ink)); font-size: 19px; margin: 22px 0 10px; }
.tft-cd__p { margin: 0; line-height: 1.75; }
.tft-cd__list { margin: 0; padding-left: 20px; line-height: 1.9; }
.tft-cd__tiers { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--tft-line); }
.tft-cd__tiers td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--tft-line); background: none; }
.tft-cd__tiers tr:last-child td { border-bottom: 0; }
.tft-cd__tiers td:last-child { text-align: right; font-weight: 700; }
.tft-cd__tiers tr.is-on td { color: var(--tft-gold); background: color-mix(in srgb, var(--tft-gold) 7%, #fff); }
.tft-cd__tiers small { color: var(--tft-muted); font-weight: 400; }
.tft-cd__other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tft-cd__oc { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--tft-line); border-radius: 12px; padding: 10px 12px; color: inherit !important; text-decoration: none !important; }
.tft-cd__oc:hover { border-color: var(--tft-gold); }
.tft-cd__oimg { flex: none; width: 80px; height: 54px; display: grid; place-items: center; color: var(--tft-gold); }
.tft-cd__oimg img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.tft-cd__oc b, .tft-cd__oc small { display: block; }
.tft-cd__oc small { color: var(--tft-muted); }
.tft-cd__oc em { font-style: normal; font-weight: 700; color: var(--tft-gold); }
.tft-cd__side { position: sticky; top: 24px; }
.tft-cd__box { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 6px 24px rgba(60, 45, 20, .08); border: 1px solid var(--tft-line); }
.tft-cd__lbl { display: block; color: var(--tft-gold); font-size: 12px; }
.tft-cd__price { font-size: 30px; font-weight: 800; color: var(--tft-gold); margin: 2px 0 12px; }
.tft-cd__price small { font-size: 13px; font-weight: 400; color: var(--tft-muted); margin-left: 2px; }
.tft-cd__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--tft-line); font-size: 13px; }
.tft-cd__rows span { color: var(--tft-muted); flex: none; }
.tft-cd__rows b { text-align: right; font-weight: 600; }
.tft-cd__ok { list-style: none; margin: 4px 0 16px; padding: 10px 0 0; border-top: 1px solid var(--tft-line); }
.tft-cd__ok li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; }
.tft-cd__ok .tft-i { flex: none; width: 18px; height: 18px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: var(--tft-gold); color: #fff; stroke-width: 3; }
.tft .tft-cd__btn { display: flex !important; width: 100%; padding: 14px !important; font-size: 16px !important; box-sizing: border-box; border-radius: 10px !important; }
.tft-cd__box .tft-soldout { display: block; margin: 0 0 10px; }
.tft-cd__bar { display: none; }
@media (max-width: 860px) {
	.tft-cd__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
}
@media (max-width: 700px) {
	.tft-cd__grid { display: flex; flex-direction: column; align-items: stretch; }
	.tft-cd__title { margin: 16px 0 2px; }
	.tft-cd__sub { margin: 0 0 10px; }
	.tft-cd__h { margin: 18px 0 8px; }
	.tft-cd__main { display: contents; }
	.tft-cd__slider { order: 1; margin: 0 -16px; border-radius: 0; aspect-ratio: 3 / 2; }
	.tft-cd__main > * { order: 3; }
	.tft-cd__main > .tft-cd__title, .tft-cd__main > .tft-cd__sub, .tft-cd__main > .tft-cd__tags { order: 1; }
	.tft-cd__side { order: 2; position: static; margin: 0 0 6px; }
	.tft-cd__side .tft-cd__btn { display: none !important; }
	.tft-cd__box { box-shadow: none; }
	.tft .tft-cd__arr { display: none; }
	.tft-cd__spec { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
	.tft-cd__other { grid-template-columns: 1fr; }
	.tft-cd { padding-bottom: 96px; }
	.tft-cd__bar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--tft-line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.07); }
	.tft-cd__bar > div { flex: 1; min-width: 0; }
	.tft-cd__bar small { display: block; color: var(--tft-muted); font-size: 12px; }
	.tft-cd__bar b { font-size: 22px; color: var(--tft-gold); }
	.tft .tft-cd__bar .tft-cd__btn { width: auto; padding: 13px 30px !important; }
}

/* ===== รูปเต็มจอ ===== */
html.tft-lb-on, html.tft-lb-on body { overflow: hidden !important; }
.tft-lb { position: fixed; inset: 0; z-index: 2147483000; background: #0b0b0b; color: #fff; display: flex; flex-direction: column; font-family: inherit; transition: background .2s; }
.tft-lb[hidden] { display: none; }
.tft-lb__top { display: flex; align-items: center; padding: 14px 18px; font-size: 15px; }
.tft-lb button { all: unset; box-sizing: border-box; cursor: pointer; }
.tft-lb .tft-lb__x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 30px; line-height: 1; }
.tft-lb__stage { flex: 1; min-height: 0; overflow: hidden; position: relative; touch-action: none; }
.tft-lb__track { display: flex; height: 100%; transition: transform .3s ease; }
.tft-lb__slide { flex: 0 0 100%; display: grid; place-items: center; padding: 0 70px; box-sizing: border-box; }
.tft-lb__slide img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.tft-lb .tft-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 34px; line-height: 1; z-index: 2; }
.tft-lb .tft-lb__nav:disabled { opacity: .25; cursor: default; }
.tft-lb__prev { left: 16px; } .tft-lb__next { right: 16px; }
.tft-lb__cap { text-align: center; padding: 10px 16px 4px; font-size: 15px; color: #ddd; }
.tft-lb__dots { display: none; }
.tft-lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 8px 16px 18px; overflow-x: auto; }
.tft-lb .tft-lb__thumbs button { flex: none; width: 84px; height: 60px; border-radius: 6px; overflow: hidden; opacity: .5; outline: 3px solid transparent; outline-offset: -3px; }
.tft-lb .tft-lb__thumbs button.is-on { opacity: 1; outline-color: var(--tft-gold, #c9a55a); }
.tft-lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tft-lb.is-one .tft-lb__nav { display: none; }
@media (max-width: 760px) {
	.tft-lb .tft-lb__nav, .tft-lb__thumbs { display: none; }
	.tft-lb__slide { padding: 0; }
	.tft-lb__dots { display: flex; justify-content: center; gap: 7px; padding: 6px 0 calc(26px + env(safe-area-inset-bottom)); }
	.tft-lb__dots i { width: 8px; height: 8px; border-radius: 50%; background: #666; transition: all .2s; }
	.tft-lb__dots i.is-on { width: 22px; border-radius: 9px; background: #fff; }
}

/* ===== ตัวนับผู้โดยสาร: กันธีม (Astra ฯลฯ) ยืดช่องตัวเลข/ปุ่ม — ปุ่ม + − เป็นวงกลมเสมอ ===== */
.tft .tft-count { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 12px !important; }
.tft .tft-count__txt { flex: 1 1 auto !important; min-width: 0 !important; }
.tft .tft-count__txt strong { display: block; line-height: 1.3; }
.tft .tft-count__txt small { display: block; line-height: 1.35; white-space: normal; }
.tft .tft-count__ctl { flex: 0 0 auto !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; width: auto !important; margin: 0 !important; }
.tft .tft-count__n { flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 40px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; line-height: 40px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center !important; font-size: 20px !important; font-weight: 700 !important; color: var(--tft-ink) !important; }
.tft .tft-step { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; min-width: 40px !important; max-width: 40px !important; min-height: 40px !important; max-height: 40px !important; aspect-ratio: 1 / 1; display: inline-grid !important; place-items: center !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; box-sizing: border-box !important; border-radius: 50% !important; }

/* ===== หน้ารายละเอียดรถแบบเต็มหน้า (ไม่มีหัวเว็บของธีม) ===== */
body.tfb-cd-page:not(.tfb-cd-theme) { margin: 0; background: #f6f2ec; }
.tfb-cd-top { position: sticky; top: 0; z-index: 9995; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 60px; padding: 0 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e8dfcf; backdrop-filter: blur(8px); box-sizing: border-box; font-family: inherit; }
.admin-bar .tfb-cd-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .tfb-cd-top { top: 46px; } }
.tfb-cd-top a { text-decoration: none !important; }
.tfb-cd-top__back { display: inline-flex; align-items: center; gap: 4px; color: #3d3324 !important; font-size: 15px; font-weight: 600; justify-self: start; }
.tfb-cd-top__logo { justify-self: center; color: #3d3324 !important; font-weight: 700; font-size: 17px; }
.tfb-cd-top__logo img { display: block; max-height: 44px; width: auto; }
.tfb-cd-wrap { max-width: 1160px; margin: 0 auto; padding: 28px 20px 50px !important; box-sizing: border-box; }
.tfb-cd-wrap > .tft { padding-top: 0 !important; margin-top: 0 !important; }
.tfb-cd-page:not(.tfb-cd-theme) .tft-cd__crumb { display: none; }
@media (max-width: 700px) {
	.tfb-cd-top { height: 54px; padding: 0 12px; }
	.tfb-cd-top__back span { display: none; }
	.tfb-cd-top__back { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: #f3eee6; }
	.tfb-cd-wrap { padding: 0 16px 40px !important; }
	.tfb-cd-page .tft-cd__slider { margin-top: 0; }
}

/* ===== หน้ารายละเอียดรถ แบบหน้าทัวร์ (มีหัวเว็บ/เมนู) ===== */
.tfb-cd-wrap--theme { max-width: 1240px; padding: 28px 20px 60px !important; }
.tft-cd .tft-cd__crumb { font-size: 16px; margin: 0 0 18px; color: var(--tft-muted); }
.tft-cd .tft-cd__crumb a:first-child { color: var(--tft-gold) !important; }
.tft-cd .tft-cd__crumb b { color: var(--tft-ink); font-weight: 400; }
.tft-cd__slider { margin-bottom: 4px; }
.tft-cd__grid { margin-top: 0; }
.tft-cd__title { margin-top: 0; }
.tft-cd > .tft-cd__slider + .tft-cd__grid { margin-top: 24px; }
.tft-cd__plus { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; font-weight: 700; }
@media (min-width: 701px) {
	.tft-cd__slider.is-mosaic { aspect-ratio: auto; height: clamp(320px, 38vw, 500px); background: none; border-radius: 0; overflow: visible; }
	.tft-cd__slider.is-mosaic .tft-cd__track { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; overflow: hidden; scroll-snap-type: none; }
	.tft-cd__slider.is-mosaic[data-n="3"] .tft-cd__track { grid-template-columns: 2fr 1fr; }
	.tft-cd__slider.is-mosaic[data-n="4"] .tft-cd__track { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide { height: auto; min-height: 0; border-radius: 18px; overflow: hidden; background: #ece6dc; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide:first-child { grid-row: 1 / -1; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide:nth-child(n+6) { display: none; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide img { transition: transform .35s; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide:hover img { transform: scale(1.04); }
	.tft-cd__slider.is-mosaic .tft-cd__arr, .tft-cd__slider.is-mosaic .tft-cd__dots, .tft-cd__slider.is-mosaic .tft-cd__count { display: none !important; }
}
@media (max-width: 700px) {
	.tft-cd__plus { display: none; }
	.tfb-cd-wrap--theme { padding: 14px 16px 40px !important; }
	.tft-cd .tft-cd__crumb { font-size: 14px; margin-bottom: 12px; }
	.tft-cd > .tft-cd__slider + .tft-cd__grid { margin-top: 0; }
	.tft-cd__title { margin-top: 16px; }
}

/* ===== ขนาดหัวข้อเส้นทางบนมือถือ ===== */
@media (max-width: 700px) {
	.tft .tft-route-title { font-size: var(--tft-route-fs-m, clamp(24px, 7vw, 32px)); }
}

/* ===== รูปรถ: สัดส่วน 3:2 ทุกจุด (ครอปในหลังบ้านให้ได้ 3:2 แล้วจะพอดีทุกกรอบ) · มุมโค้ง ===== */
.tft .tft-car__img { width: 120px; height: 80px; border-radius: 12px; overflow: hidden; background: #efe9df; }
.tft .tft-car__img img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border-radius: 12px; display: block; }
@media (max-width: 700px) { .tft .tft-car__img { width: 96px; height: 64px; } }
.tft-boats .tft-car__img { width: 140px; height: 93px; }
@media (max-width: 700px) { .tft-boats .tft-car__img { width: 96px; height: 64px; } }
.tft-cd__slider { aspect-ratio: 3 / 2 !important; height: auto !important; background: #efe9df; }
.tft .tft-cd__slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
@media (min-width: 701px) {
	.tft-cd__slider.is-mosaic { aspect-ratio: auto !important; }
	.tft-cd__slider.is-mosaic .tft-cd__track, .tft-cd__slider.is-mosaic[data-n="3"] .tft-cd__track, .tft-cd__slider.is-mosaic[data-n="4"] .tft-cd__track { grid-template-rows: auto auto; height: auto; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide { aspect-ratio: 3 / 2; }
	.tft .tft-cd__slider.is-mosaic .tft-cd__slide:first-child { aspect-ratio: auto; }
	.tft-cd__slider.is-mosaic[data-n="4"] .tft-cd__track { grid-template-columns: 2fr 1fr; }
	.tft .tft-cd__slider.is-mosaic[data-n="4"] .tft-cd__slide:nth-child(4) { display: none; }
}
.tft-cd__oimg { border-radius: 8px; overflow: hidden; }
.tft-cd__oimg img { object-fit: cover !important; }
/* รูปเต็มจอ: แสดงรูปทั้งรูป ไม่ตัด */
.tft-lb__slide { position: relative; height: 100%; min-height: 0; overflow: hidden; }
.tft-lb__slide img { position: absolute; inset: 0 70px; width: calc(100% - 140px) !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: contain !important; border-radius: 0; }
@media (max-width: 760px) { .tft-lb__slide img { inset: 0; width: 100% !important; } }

/* ===== การ์ดรถ/เรือบนมือถือ: คอลัมน์รูปกว้างเท่ารูป (96×64) ไม่ทับข้อความ ===== */
@media (max-width: 700px) {
	.tft .tft-car, .tft .tft-boats .tft-car { grid-template-columns: 96px minmax(0, 1fr); }
	.tft .tft-car__img, .tft .tft-boats .tft-car__img { width: 96px !important; height: 64px !important; max-width: 96px; }
	.tft .tft-car__txt { min-width: 0; }
}
