.destination-page {
	background: #ffffff;
	padding: 56px 0 88px;
}

.destination-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.destination-title {
	margin: 0 0 24px;
	font-size: 40px;
	line-height: 1.3;
	font-weight: 700;
	text-align: center;
	color: #111827;
}

.destination-search-form {
	width: 939px;
	max-width: 100%;
	height: 72px;
	margin: 0 auto;
	border-radius: 20px;
	box-sizing: border-box;
}

.destination-search-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.destination-search-input {
	width: 100%;
	height: 100%;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	outline: 0;
	padding: 0 84px 0 20px;
	font-size: 18px;
	color: #0d1b2a;
	background: #ffffff;
	box-sizing: border-box;
}

.destination-search-input::placeholder {
	color: #9aa4b2;
}

.destination-search-button {
	width: 72px;
	height: 54px;
	border: 0;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	background: #01488c;
	color: #ffffff;
	cursor: pointer;
}

.destination-filter-buttons {
	margin: 20px auto 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.destination-filter-btn {
	min-width: 96px;
	height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: #f3f4f6;
	color: #01488c;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.destination-filter-btn.is-active {
	background: #01488c;
	color: #ffffff;
}

.destination-card-section {
	margin-top: 44px;
	padding: 0;
}

.destination-card-section .destination-total-count {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto 20px;
    font-size: 19px;
    line-height: 1.4;
    color: #4A5565;
    text-align: left;
    font-weight: 600;
}

.destination-card-section .home-dest-grid-inner {
	width: 1320px;
	max-width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(5, 240px);
	justify-content: center;
	gap: 20px;
}

.destination-card-section .dest-card {
	display: block;
	width: 240px;
	height: 339px;
	border-radius: 16px;
	border: 1px solid #eeeeee;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}

.destination-card-section .dest-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.destination-card-section .dest-card-img {
	width: 240px;
	height: 240px;
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.destination-card-section .dest-card-info {
	padding: 16px 18px 18px;
}

.destination-card-section .dest-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.destination-card-section .dest-card-price {
	font-size: 15px;
	color: #01488C;
	margin: 0;
}

.destination-empty-state {
	width: 675px;
	max-width: 100%;
	height: 358px;
	margin: 52px auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.destination-empty-icon-circle {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.destination-empty-icon {
	width: 72px;
	height: 72px;
	color: #9ca3af;
}

.destination-empty-title {
	margin: 28px 0 10px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.25;
	color: #111827;
}

.destination-empty-desc {
	margin: 0;
	font-size: 26px;
	line-height: 1.5;
	color: #6b7280;
}

.destination-hot-recommend {
	width: 1320px;
	max-width: 100%;
	margin: 44px auto 0;
}

.destination-hot-recommend-title {
	margin: 0;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
	text-align: center;
}

.destination-hot-grid {
	margin-top: 38px;
}

@media (max-width: 1360px) {
	.destination-card-section .home-dest-grid-inner {
		grid-template-columns: repeat(4, 240px);
	}
}

@media (max-width: 1120px) {
	.destination-page {
		padding-top: 40px;
	}

	.destination-title {
		font-size: 32px;
	}

	.destination-card-section .home-dest-grid-inner {
		grid-template-columns: repeat(3, 240px);
	}

	.destination-card-section .destination-total-count {
		font-size: 22px;
	}

	.destination-empty-state {
		height: auto;
		padding: 24px 0;
	}

	.destination-empty-title {
		font-size: 34px;
	}

	.destination-empty-desc {
		font-size: 22px;
	}

	.destination-hot-recommend-title {
		font-size: 34px;
	}
}

@media (max-width: 820px) {
	.destination-title {
		font-size: 28px;
	}

	.destination-search-form {
		height: 64px;
	}

	.destination-search-input {
		border-radius: 16px;
	}

	.destination-search-button {
		width: 48px;
		height: 48px;
		border-radius: 12px;
	}

	.destination-filter-btn {
		height: 42px;
		padding: 0 16px;
		font-size: 15px;
	}

	.destination-card-section .home-dest-grid-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.destination-card-section .destination-total-count {
		margin-bottom: 16px;
		font-size: 20px;
	}

	.destination-card-section .dest-card,
	.destination-card-section .dest-card-img {
		width: 100%;
	}

	.destination-empty-icon-circle {
		width: 150px;
		height: 150px;
	}

	.destination-empty-title {
		font-size: 26px;
	}

	.destination-empty-desc {
		font-size: 18px;
	}

	.destination-hot-recommend-title {
		font-size: 30px;
	}
}

@media (max-width: 520px) {
	.destination-page {
		padding: 30px 0 56px;
	}

	.destination-container {
		padding: 0 12px;
	}

	.destination-title {
		font-size: 24px;
	}

	.destination-search-input {
		padding: 0 12px;
		font-size: 16px;
	}

	.destination-filter-buttons {
		gap: 8px;
	}

	.destination-filter-btn {
		min-width: 88px;
		height: 40px;
		padding: 0 12px;
		font-size: 14px;
	}

	.destination-hot-recommend-title {
		font-size: 24px;
	}

	.destination-card-section .destination-total-count {
		font-size: 18px;
	}

	.destination-empty-state {
		margin-top: 36px;
	}

	.destination-empty-icon-circle {
		width: 120px;
		height: 120px;
	}

	.destination-empty-icon {
		width: 56px;
		height: 56px;
	}

	.destination-empty-title {
		margin-top: 20px;
		font-size: 20px;
	}

	.destination-empty-desc {
		font-size: 14px;
	}
}

/* ========================================
   加載更多樣式
   ======================================== */
.destination-load-more,
.destination-no-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 30px 0;
	color: rgba(107, 114, 128, 1);
	font-size: 15px;
}

.destination-load-more {
	cursor: pointer;
}

.load-more-spinner {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(107, 114, 128, 0.3);
	border-top-color: rgba(107, 114, 128, 1);
	border-radius: 50%;
	animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
	to {
		transform: rotate(360deg);
	}
}

.load-more-text {
	color: rgba(107, 114, 128, 1);
}

.destination-no-more {
	color: rgba(107, 114, 128, 0.8);
	font-size: 14px;
}

@media (max-width: 768px) {
	.destination-load-more,
	.destination-no-more {
		padding: 24px 0;
		font-size: 14px;
	}
	
	.load-more-spinner {
		width: 18px;
		height: 18px;
	}
}
