/* ============================================================
   Tour Product Grid  (.pse-tpg-*)
   ============================================================ */

/* ── 래퍼 ── */
.pse-tpg-wrap {
	width: 100%;
}

/* ── 그리드: 1행 4열 ── */
.pse-tpg-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ── 카드 아이템 ── */
.pse-tpg-item {
	min-width: 0;
}

.pse-tpg-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pse-tpg-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* ── 썸네일 ── */
.pse-tpg-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f4f6;
	flex-shrink: 0;
}

.pse-tpg-thumb .pse-tpg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.pse-tpg-card:hover .pse-tpg-img {
	transform: scale(1.04);
}

/* ── 본문 ── */
.pse-tpg-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	flex: 1;
}

/* ── 상품명 ── */
.pse-tpg-title {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	/* 2줄 말줄임 */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── 가격 + 출발일 동일 행 ── */
.pse-tpg-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid #f0f0f0;
}

/* ── 가격 ── */
.pse-tpg-price {
	font-size: 0.95rem;
	font-weight: 700;
	color: #111;
	white-space: nowrap;
}

.pse-tpg-price .woocommerce-Price-amount {
	font-size: inherit;
}

/* ── 출발일 ── */
.pse-tpg-dep {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	white-space: nowrap;
}

.pse-tpg-dep-label {
	font-size: 0.72rem;
	color: #6b7280;
}

.pse-tpg-dep-date {
	font-size: 0.78rem;
	font-weight: 600;
	color: #374151;
}

.pse-tpg-dep-none {
	font-size: 0.78rem;
	color: #9ca3af;
}

/* ── 안내 메시지 ── */
.pse-tpg-notice {
	color: #6b7280;
	font-size: 0.9rem;
}

/* ============================================================
   반응형
   ============================================================ */

/* 태블릿: 2열 */
@media (max-width: 1024px) {
	.pse-tpg-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* 모바일: 1열 */
@media (max-width: 600px) {
	.pse-tpg-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}
