/* ToonTours — สไตล์หน้าบ้าน */

.toontours-page-title {
	font-size: 2rem;
	margin: 0 0 1rem;
}

/* หน้ารายการทัวร์ */
.toontours-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.toontours-archive-header {
	text-align: center;
	margin-bottom: 2rem;
}

.toontours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.toontours-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease;
}

.toontours-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.toontours-card-image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(150deg, #134e4a 0%, #155e75 100%);
}

.toontours-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.toontours-card:hover .toontours-card-image img {
	transform: scale(1.04);
}

.toontours-card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}

.toontours-badge {
	display: inline-block;
	align-self: flex-start;
	background: #0e7490;
	color: #fff;
	font-size: .8rem;
	padding: .15rem .6rem;
	border-radius: 999px;
}

.toontours-card-title {
	font-size: 1.15rem;
	margin: 0;
}

.toontours-card-title a {
	text-decoration: none;
	color: inherit;
}

.toontours-card-location {
	margin: 0;
	color: #6b7280;
	font-size: .9rem;
}

.toontours-card-excerpt {
	margin: 0;
	color: #374151;
	font-size: .9rem;
}

.toontours-empty {
	text-align: center;
	color: #6b7280;
	padding: 3rem 0;
}

/* ปุ่ม */
.toontours-btn {
	display: inline-block;
	padding: .6rem 1.4rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	margin-top: auto;
}

.toontours-btn-outline {
	border: 2px solid #0e7490;
	color: #0e7490;
	text-align: center;
}

.toontours-btn-outline:hover {
	background: #0e7490;
	color: #fff;
}

.toontours-btn-primary {
	background: #f97316;
	color: #fff;
	font-size: 1.1rem;
	padding: .9rem 2.4rem;
}

.toontours-btn-primary:hover {
	background: #ea580c;
	color: #fff;
}

/* หน้ารายละเอียดทัวร์ */
.toontours-single {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.toontours-single-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.toontours-single-meta {
	display: flex;
	justify-content: center;
	gap: .75rem;
	flex-wrap: wrap;
}

.toontours-meta-item {
	background: #f3f4f6;
	border-radius: 999px;
	padding: .3rem 1rem;
	font-size: .9rem;
	color: #374151;
}

.toontours-single-featured {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 2rem;
}

.toontours-single-featured img {
	width: 100%;
	display: block;
}

.toontours-section {
	margin-bottom: 2.5rem;
}

.toontours-section h2 {
	font-size: 1.4rem;
	border-bottom: 2px solid #0e7490;
	padding-bottom: .4rem;
	margin-bottom: 1rem;
}

.toontours-highlights {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .6rem;
}

.toontours-highlights li {
	padding-left: 1.6rem;
	position: relative;
}

.toontours-highlights li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #059669;
}

.toontours-itinerary {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}

.toontours-itinerary-item {
	background: #f9fafb;
	border-left: 4px solid #0e7490;
	border-radius: 8px;
	padding: 1rem 1.25rem;
}

.toontours-itinerary-head {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	margin-bottom: .35rem;
}

.toontours-itinerary-day {
	font-weight: 700;
}

.toontours-itinerary-time {
	color: #0e7490;
	font-weight: 600;
}

.toontours-itinerary-desc {
	margin: 0;
	color: #374151;
}

.toontours-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: .75rem;
}

.toontours-gallery-item {
	border-radius: 8px;
	overflow: hidden;
	display: block;
	aspect-ratio: 1;
}

.toontours-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.toontours-single-cta {
	text-align: center;
	padding: 2rem 0;
}

.toontours-single-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.toontours-single-nav a {
	text-decoration: none;
	color: #0e7490;
}

/* ตัวกรองหน้ารายการทัวร์ */
.toontours-filters {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto 2rem;
	max-width: 720px;
}

.toontours-filter {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	font-weight: 600;
}

.toontours-filter select {
	min-width: 180px;
	padding: .45rem .6rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
}

.toontours-meta-term {
	background: #eef6f8;
	color: #0e7490;
	text-decoration: none;
}

.toontours-section-note {
	color: #6b7280;
	font-size: .925rem;
	margin: -.5rem 0 1rem;
}

.toontours-bring-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .5rem;
}

.toontours-bring-list li {
	padding: .6rem .9rem .6rem 2rem;
	background: #f8fafc;
	border-radius: 8px;
	position: relative;
}

.toontours-bring-list li::before {
	content: "•";
	position: absolute;
	left: .9rem;
	color: #0e7490;
	font-weight: 700;
}

.toontours-conditions {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
}

.toontours-conditions h2 {
	margin: 0 0 .5rem;
	font-size: 1.1rem;
	color: #92400e;
}

.toontours-conditions p {
	margin: 0;
	color: #78350f;
}

.toontours-cta-note {
	color: #6b7280;
	font-size: .925rem;
	margin: 0 0 1rem;
}

/* ป้ายระยะเวลาบนภาพการ์ด + ข้อความกำกับภาพ AI ชั่วคราว */
.toontours-badge-overlay {
	position: absolute;
	top: .75rem;
	left: .75rem;
	z-index: 2;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.toontours-ai-note {
	position: absolute;
	right: .6rem;
	bottom: .6rem;
	z-index: 2;
	display: inline-block;
	font-size: .7rem;
	line-height: 1.5;
	color: #fff;
	background: rgba(17, 24, 39, .62);
	padding: .15rem .6rem;
	border-radius: 999px;
}

.toontours-ai-note-caption {
	position: static;
	margin: .6rem 0 0;
	background: #f3f4f6;
	color: #6b7280;
}

/* CTA ท้ายหน้ารายการทัวร์ */
.toontours-archive-cta {
	text-align: center;
	background: linear-gradient(160deg, #0b2545 0%, #0e4d64 100%);
	color: #fff;
	border-radius: 16px;
	padding: 2.75rem 1.5rem;
	margin-top: 3rem;
}

.toontours-archive-cta h2 {
	margin: 0 0 .6rem;
	font-size: 1.5rem;
}

.toontours-archive-cta p {
	color: #cbd8e6;
	max-width: 560px;
	margin: 0 auto 1.5rem;
}

/* ป้ายสถานะโปรแกรม + กล่องแจ้งสถานะหน้ารายละเอียดทัวร์ */
.toontours-status-badge {
	position: absolute;
	top: .75rem;
	right: .75rem;
	z-index: 2;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.toontours-status-ready { background: #059669; }
.toontours-status-seasonal { background: #d97706; }
.toontours-status-inquiry { background: #0b2545; }
.toontours-status-paused { background: #6b7280; }

.toontours-status-note {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border: 1px solid #e5e7eb;
	background: #f8fafc;
}
.toontours-status-note strong {
	white-space: nowrap;
	font-size: .85rem;
	padding: .2rem .7rem;
	border-radius: 999px;
	color: #fff;
	margin-top: .1rem;
}
.toontours-status-note p {
	margin: 0;
	color: #4b5563;
	font-size: .92rem;
}
.toontours-status-note.toontours-status-ready strong { background: #059669; }
.toontours-status-note.toontours-status-seasonal strong { background: #d97706; }
.toontours-status-note.toontours-status-inquiry strong { background: #0b2545; }
.toontours-status-note.toontours-status-paused strong { background: #6b7280; }
