﻿/* 상품 상세 */
main.hg-pd-site-main,
.hg-pd-page {
    --hg-pd-accent: #8b6914;
    --hg-pd-accent-strong: #6e5210;
    --hg-pd-accent-soft: #f7f1e3;
    --hg-pd-accent-muted: #d4c19a;
    --hg-pd-page-bg: #fff;
    --hg-pd-cta: #c62828;
    --hg-pd-cta-hover: #a61f1f;
}
main.hg-pd-site-main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--hg-pd-page-bg);
    display: flow-root;
}
.hg-pd-page {
    background-color: var(--hg-pd-page-bg);
    padding-top: 32px;
}

/* 상품 상세 — 브레드크럼 우측 정렬 (style.css 보강) */
.hg-breadcrumb-bar {
    width: 100%;
}
.hg-breadcrumb-inner {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}
.hg-breadcrumb {
    display: inline-flex;
    justify-content: flex-end;
    margin-left: auto;
    text-align: right;
}

.hg-pd-notice {
    max-width: 1280px;
    margin: 12px auto 0;
    padding: 12px 16px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    color: #6d4c00;
    font-size: 14px;
}

.hg-pd-page { box-sizing: border-box; }

/* hg-container — 이미지 갤러리 전용 (가로 1280 풀폭, GNB 대분류와 간격 32px) */
.hg-pd-page > .hg-container,
main.hg-pd-site-main .hg-pd-page > .hg-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* gd-container — 상품명·선택·탭 본문 */
.hg-pd-page > .gd-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 64px;
    box-sizing: border-box;
}
#gdContainer {
    scroll-margin-top: 120px;
}

/* 상단 이미지 — master/60169 비율 */
.hg-pd-page > .hg-container .hg-pd-master-image { margin-bottom: 24px; width: 100%; }

/* 상품 동영상 — 세로형 격자 (스크롤 없음) */
.hg-pd-videos {
	width: 100%;
	margin: 0 0 28px;
}
.hg-pd-videos-divider {
	display: block;
	width: 100%;
	height: 0;
	margin: 0 0 28px;
	border: 0;
	border-top: 1px solid #e5e5e5;
}
.hg-pd-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hg-pd-video-grid.is-n-1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: calc((100% - 32px) / 3);
}
.hg-pd-video-grid.is-n-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: calc((100% - 16px) * 2 / 3 + 16px);
}
.hg-pd-video-grid.is-n-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* 4개: 2×2 — 한 줄에 억지로 넣지 않고 균형 배치 */
.hg-pd-video-grid.is-quad {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: calc((100% - 16px) * 2 / 3 + 16px);
}
/* 5개 이상: 3열 고정, 다음 줄로 이어짐 */
.hg-pd-video-grid.is-wrap {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hg-pd-video-item {
	min-width: 0;
}
.hg-pd-video-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #111;
	aspect-ratio: 9 / 16;
	text-decoration: none;
	color: inherit;
}
.hg-pd-video-media {
	position: absolute;
	inset: 0;
	display: block;
}
.hg-pd-video-media img,
.hg-pd-video-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hg-pd-video-placeholder {
	background: linear-gradient(160deg, #2a2a2a, #111);
}
.hg-pd-video-shade {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}
.hg-pd-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	border: 2px solid rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}
.hg-pd-video-play .bi {
	font-family: bootstrap-icons !important;
	font-size: 28px;
	font-style: normal;
	line-height: 1;
	color: #fff;
	margin-left: 3px;
}
.hg-pd-video-card:hover .hg-pd-video-play {
	background: rgba(0, 0, 0, 0.58);
	transform: scale(1.04);
}
.hg-pd-video-caption {
	position: absolute;
	left: 0;
	right: 0;
	top: auto;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 16px 22px;
	box-sizing: border-box;
	text-align: left;
	pointer-events: none;
}
.hg-pd-video-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hg-pd-video-sub {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
	.hg-pd-video-grid {
		gap: 8px;
	}
	.hg-pd-video-play {
		width: 44px;
		height: 44px;
		margin: -22px 0 0 -22px;
	}
	.hg-pd-video-play .bi {
		font-size: 22px;
	}
	.hg-pd-video-caption {
		padding: 12px 12px 16px;
		gap: 6px;
	}
	.hg-pd-video-title {
		font-size: 17px;
	}
	.hg-pd-video-sub {
		font-size: 12px;
	}
}
.hg-pd-page > .hg-container .hg-pd-banner-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}
.hg-pd-page > .hg-container .hg-pd-banner-col-left {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.hg-pd-page > .hg-container .hg-pd-banner-col-right {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    position: relative;
    min-height: 546px;
    min-width: 0;
}
.hg-pd-page > .hg-container .hg-pd-banner-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 0 0 178px;
    height: 178px;
    min-width: 0;
}
.hg-pd-page > .hg-container .hg-pd-banner {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
    cursor: pointer;
    border-radius: 4px;
}
.hg-pd-page > .hg-container .hg-pd-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .2s;
    z-index: 1;
    pointer-events: none;
}
.hg-pd-page > .hg-container .hg-pd-banner:hover .hg-pd-banner-overlay { background: rgba(0, 0, 0, .08); }
.hg-pd-page > .hg-container .hg-pd-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hg-pd-page > .hg-container .hg-pd-banner-0 { flex: 0 0 360px; height: 360px; }
.hg-pd-page > .hg-container .hg-pd-banner-1 { height: 100%; min-height: 546px; }
.hg-pd-page > .hg-container .hg-pd-banner-2,
.hg-pd-page > .hg-container .hg-pd-banner-3 { flex: 1 1 50%; height: 178px; min-width: 0; }

.hg-pd-page > .hg-container .hg-pd-gallery-all-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: rgba(255, 255, 255, .95);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    cursor: pointer;
}
.hg-pd-page > .hg-container .hg-pd-gallery-all-btn:hover { background: #fff; }
.hg-pd-page > .hg-container .hg-pd-gallery-all-icon { display: flex; align-items: center; }

.hg-pd-gallery-modal[hidden] { display: none; }
.hg-pd-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.hg-pd-gallery-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}
.hg-pd-gallery-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px 24px;
    box-sizing: border-box;
}
.hg-pd-gallery-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}
.hg-pd-gallery-modal-title { margin: 0 0 16px; font-size: 18px; font-weight: 700; }

/* 사진 갤러리 클릭 시 — GolfBook gh_detail hero swiper (2장 나란히, 높이 525) */
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .gh-detail-hero-swiper {
    width: 100%;
    overflow: hidden;
    height: 525px;
    min-height: 525px;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-wrapper {
    align-items: stretch;
    height: 100%;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-slide {
    flex-shrink: 0;
    height: 100%;
    box-sizing: border-box;
}
.hg-pd-gallery-modal .gh-detail-hero-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f1f3f5;
}
.hg-pd-gallery-modal .gh-detail-hero-slide-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f1f3f5;
    padding: 0;
    box-sizing: border-box;
}
.hg-pd-gallery-modal .gh-detail-hero-slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-prev,
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-prev:after,
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-next:after {
    font-size: 20px;
    font-weight: 700;
}
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-prev:hover,
.hg-pd-gallery-modal .hg-pd-gallery-swiper-wrap .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .hg-pd-page > .hg-container .hg-pd-banner-grid { flex-direction: column; }
    .hg-pd-page > .hg-container .hg-pd-banner-col-left,
    .hg-pd-page > .hg-container .hg-pd-banner-col-right { flex: 1 1 auto; width: 100%; min-height: 0; }
    .hg-pd-page > .hg-container .hg-pd-banner-0 { height: 220px; flex: none; }
    .hg-pd-page > .hg-container .hg-pd-banner-1 { height: 280px; min-height: 280px; }
    .hg-pd-page > .hg-container .hg-pd-banner-row { height: 120px; flex: none; }
    .hg-pd-page > .hg-container .hg-pd-banner-2,
    .hg-pd-page > .hg-container .hg-pd-banner-3 { height: 120px; }
    .hg-pd-page > .hg-container .hg-pd-gallery-all-btn { right: 10px; bottom: 10px; padding: 8px 10px; font-size: 12px; }
}

.hg-pd-page .gd-container > .header,
.hg-pd-page .hg-container > .header {
    background: #fff;
    border-radius: 12px;
    padding: 28px 10px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    box-sizing: border-box;
}
.hg-pd-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 12px;
}
.hg-pd-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}
.hg-pd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}
.hg-pd-actions > span { display: inline-flex; }
.hg-pd-act-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 52px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.hg-pd-act-btn:hover {
    background: #f5f5f5;
    border-color: #bdbdbd;
}
.hg-pd-act-btn.is-active {
    color: #c62828;
    border-color: #c62828;
    background: #fff5f5;
}
.hg-pd-act-inquiry:hover { border-color: var(--hg-pd-accent); color: var(--hg-pd-accent-strong); }
.hg-pd-act-print:hover { border-color: #555; }
.hg-pd-act-wish:hover { border-color: #c62828; color: #c62828; }
.hg-pd-act-share:hover { border-color: #2e7d32; color: #2e7d32; }
@media (max-width: 640px) {
    .hg-pd-badges-row { flex-direction: column; align-items: stretch; }
    .hg-pd-actions { justify-content: flex-start; }
}
/* GDICO 뱃지 — 기본 22px 슬림 / 인기(.hg-pd-badge-popular)만 26px 강제 */
.hg-pd-page .hg-pd-badges .label,
.hg-pd-page .hg-pd-badges span.label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1 !important;
    border-radius: 3px;
}
.hg-pd-page .hg-pd-badges .label:not(.hg-pd-badge-popular),
.hg-pd-page .hg-pd-badges span.label:not(.hg-pd-badge-popular) {
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}
.hg-pd-page .hg-pd-badges .hg-pd-badge-popular,
.hg-pd-page .hg-pd-badges span.hg-pd-badge-popular,
#hgProductDetail .hg-pd-badges .hg-pd-badge-popular {
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    background: #fff3e0 !important;
    color: #e65100 !important;
}
.hg-pd-page .hg-pd-badges .label:not(.hg-pd-badge-popular) .bi,
.hg-pd-page .hg-pd-badges .label:not(.hg-pd-badge-popular) i.bi {
    font-size: 12px !important;
    line-height: 1 !important;
    width: 12px !important;
    height: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}
.hg-pd-page .hg-pd-badges .hg-pd-badge-popular .bi,
.hg-pd-page .hg-pd-badges .hg-pd-badge-popular i.bi,
#hgProductDetail .hg-pd-badges .hg-pd-badge-popular .bi {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}
.hg-pd-badges .label i:not(.bi) {
    display: none !important;
}
.hg-pd-act-btn .bi {
    font-family: bootstrap-icons !important;
    font-size: 15px;
    font-style: normal;
    line-height: 1;
    flex-shrink: 0;
}
.hg-pd-badges .label-info { background: var(--hg-pd-accent-soft); color: var(--hg-pd-accent-strong); }
.hg-pd-badges .label-success { background: #e8f5e9; color: #2e7d32; }
.hg-pd-badges .label-primary { background: var(--hg-pd-accent-soft); color: var(--hg-pd-accent-strong); }
.hg-pd-badges .label-danger { background: #ffebee; color: #c62828; }
.hg-pd-badges .label-purple { background: #f3e5f5; color: #7b1fa2; }
.hg-pd-badges .label-brown { background: #efebe9; color: #5d4037; }
.hg-pd-title { font-size: 26px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: #111; }
.hg-pd-summary { margin: 0 0 16px; }
.hg-pd-summary--text { font-size: 15px; color: #666; }
.hg-pd-hash-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}
.hg-pd-hash-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #444;
    background: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    white-space: nowrap;
}
.hg-pd-price-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px 20px;
    width: 100%;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    text-align: left;
}
.hg-pd-price-depart {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}
.hg-pd-price-rep {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px 8px;
    font-size: 15px;
    color: #444;
    white-space: nowrap;
}
.hg-pd-price-rep-label {
    font-weight: 600;
    color: #333;
}
.hg-pd-price-rep-type {
    font-weight: 500;
    color: #444;
}
.hg-pd-price-rep-amt {
    font-size: 20px;
    font-weight: 700;
    color: #c62828;
}
@media (max-width: 640px) {
    .hg-pd-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.hg-pd-page .gd-container .hg-pd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 12px;
    align-items: start;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.hg-pd-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.hg-pd-main > .hg-pd-panel {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .hg-pd-page .gd-container .hg-pd-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: none;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }
    /* 캘린더 바로 아래 → 선택한 상품/예약 → 주요정보/상세 */
    .hg-pd-main {
        display: contents;
    }
    .hg-pd-calendar,
    .hg-pd-sidebar,
    .hg-pd-event,
    .hg-pd-inc-exc,
    .gd_detail {
        order: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hg-pd-calendar { order: 1; }
    .hg-pd-sidebar { order: 2; }
    .hg-pd-event { order: 3; }
    .hg-pd-inc-exc { order: 4; }
    .gd_detail { order: 5; }
    .hg-pd-side-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hg-pd-cal-card.calendar,
    .hg-pd-detail-section,
    .hg-pd-inc-exc-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    /* 아래 상세 영역도 모바일 기본 폭·패딩에 맞춤 */
    .hg-pd-detail-section-title,
    .hg-pd-plan-sec-head {
        padding-left: 14px;
        padding-right: 14px;
    }
    .hg-pd-detail-section-body {
        padding: 16px 14px;
    }
    .hg-pd-detail-section-body--plan {
        padding-top: 16px;
    }
    .hg-pd-plan-day-tabs {
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .hg-pd-plan-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
.gd_detail {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hg-pd-detail-section {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    overflow: hidden;
}
.hg-pd-detail-section-title {
    margin: 0;
    padding: 18px 28px 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    background: #fff;
    border-bottom: none;
}
.hg-pd-detail-section-body {
    padding: 24px 28px;
}
.hg-pd-detail-section-body > p:first-child {
    margin-top: 0;
}
.hg-pd-detail-section-body--plan {
    padding-top: 20px;
    overflow: visible;
}
#hgSecPlan.hg-pd-detail-section {
    overflow: visible !important;
}
#hgSecPlan .hg-pd-detail-section-body,
#hgSecPlan .hg-pd-plan-wrap {
    overflow: visible;
}
.hg-pd-plan-tabs-anchor {
    height: 0;
    margin: 0;
    padding: 0;
}
.hg-pd-plan-tabs-spacer {
    display: none;
    height: 0;
}
.hg-pd-comp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hg-pd-comp-card {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    scroll-margin-top: 84px;
}
.hg-pd-comp-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.hg-pd-comp-head {
    margin-bottom: 10px;
}
.hg-pd-comp-name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
}
.hg-pd-comp-name-ko {
    color: #222;
    font-weight: 700;
}
.hg-pd-comp-name-en,
.hg-pd-comp-name-loc {
    color: #888;
    font-weight: 500;
}
.hg-pd-comp-days {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
}
.hg-pd-comp-day-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 54px;
    height: 52px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #8b6914;
    color: #fff;
    flex: none;
    line-height: 1;
    overflow: hidden;
}
.hg-pd-comp-day-num {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.hg-pd-comp-day-unit {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.hg-pd-comp-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.hg-pd-comp-images img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}
/* 세로형 이미지 — 가로(히어로) 아래 */
.hg-pd-comp-images-v {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.hg-pd-comp-images-v li {
    flex: 0 0 auto;
    width: calc((100% - 20px) / 3);
    max-width: 220px;
}
.hg-pd-comp-v-zoom {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 6px;
    overflow: hidden;
}
.hg-pd-comp-v-zoom img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 17.5;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    background: #f1f3f5;
}
.hg-pd-comp-v-zoom-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}
.hg-pd-comp-v-zoom-badge .bi {
    font-size: 12px;
}
.hg-pd-comp-v-zoom:hover .hg-pd-comp-v-zoom-badge,
.hg-pd-comp-v-zoom:focus-visible .hg-pd-comp-v-zoom-badge {
    background: rgba(0, 0, 0, 0.82);
}
.hg-pd-comp-v-zoom:focus-visible {
    outline: 2px solid #2f6fed;
    outline-offset: 2px;
}
@media (max-width: 768px) {
    /* 세로형 — 1열 1개 */
    .hg-pd-comp-images-v {
        flex-direction: column;
        gap: 12px;
    }
    .hg-pd-comp-images-v li {
        width: 100%;
        max-width: none;
    }
    .hg-pd-comp-v-zoom img {
        aspect-ratio: 9 / 16;
    }
}

/* 세로 이미지 확대 모달 */
.hg-pd-vimg-modal[hidden] { display: none; }
.hg-pd-vimg-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.hg-pd-vimg-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}
.hg-pd-vimg-modal-box {
    position: relative;
    z-index: 1;
    width: min(480px, 94vw);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hg-pd-vimg-modal-figure {
    margin: 0;
    width: 100%;
    max-height: calc(94vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hg-pd-vimg-modal-figure img {
    display: block;
    max-width: 100%;
    max-height: calc(94vh - 48px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #111;
}
.hg-pd-vimg-modal.is-landscape .hg-pd-vimg-modal-box {
    width: min(960px, 96vw);
}
.hg-pd-vimg-modal.is-landscape .hg-pd-vimg-modal-figure img {
    max-width: 100%;
    max-height: min(72vh, calc(96vw * 9 / 16));
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}
.hg-pd-vimg-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.hg-pd-vimg-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.hg-pd-vimg-modal-prev { left: -48px; }
.hg-pd-vimg-modal-next { right: -48px; }
.hg-pd-vimg-modal-nav[hidden],
.hg-pd-vimg-modal-counter[hidden] { display: none; }
.hg-pd-vimg-modal-counter {
    margin: 10px 0 0;
    color: #fff;
    font-size: 13px;
}
@media (max-width: 640px) {
    .hg-pd-vimg-modal-prev { left: 4px; }
    .hg-pd-vimg-modal-next { right: 4px; }
    .hg-pd-vimg-modal-close { top: -36px; right: 4px; }
}
/* 골프장 — GolfBook course-hero 슬라이드 */
.hg-pd-comp-hero-wrap.course-hero-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    box-sizing: border-box;
}
.hg-pd-comp-hero-wrap .course-hero.hg-pd-comp-hero {
    width: 100%;
    max-width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f3f5;
    box-sizing: border-box;
}
.hg-pd-comp-hero-wrap .course-hero-image.hg-pd-comp-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hg-pd-comp-hero-wrap .hero-gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;
    justify-content: center;
}
.hg-pd-comp-hero-wrap .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.hg-pd-comp-hero-wrap .gallery-dot.active {
    width: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
}
.hg-pd-comp-hero-wrap .gallery-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.hg-pd-comp-h-zoom {
    display: none;
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: auto;
    z-index: 3;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.hg-pd-comp-h-zoom .hg-pd-comp-v-zoom-badge {
    position: static;
}
@media (max-width: 768px) {
    /* 가로형 히어로 — 모바일 16:9 */
    .hg-pd-comp-hero-wrap .course-hero.hg-pd-comp-hero {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .hg-pd-comp-hero-wrap .hero-gallery-dots {
        bottom: 10px;
    }
    /* 모바일 — 가로형 확대 돋보기 표시 */
    .hg-pd-comp-h-zoom {
        display: block;
    }
}
.hg-pd-comp-meta {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
}
.hg-pd-comp-meta li + li {
    margin-top: 4px;
}
.hg-pd-comp-meta-label {
    display: inline-block;
    min-width: 52px;
    margin-right: 8px;
    color: #888;
}
.hg-pd-comp-meta-val {
    display: inline;
    word-break: break-all;
}
.hg-pd-comp-meta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    color: var(--hg-pd-accent-strong);
    text-decoration: none;
    vertical-align: middle;
    line-height: 1;
    border-radius: 4px;
}
.hg-pd-comp-meta-link:hover {
    color: var(--hg-pd-accent);
    background: var(--hg-pd-accent-soft);
}
.hg-pd-comp-meta-link .bi {
    font-family: bootstrap-icons !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hg-pd-comp-map-actions {
    margin: 0 0 12px;
    padding-left: 60px;
}
.hg-pd-comp-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #8b6914;
    border-radius: 6px;
    background: #fff;
    color: var(--hg-pd-accent-strong);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hg-pd-comp-map-btn:hover,
.hg-pd-comp-map-btn.is-active {
    background: var(--hg-pd-accent-soft);
    border-color: var(--hg-pd-accent);
    color: #0d7a80;
}
.hg-pd-comp-map-btn .bi {
    font-size: 15px;
    line-height: 1;
}
.hg-pd-comp-map-panel {
    margin: 0 0 14px;
}
.hg-pd-comp-map-panel[hidden] {
    display: none !important;
}
.hg-pd-comp-map-container.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #f1f3f5;
}
.hg-pd-comp-map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (min-width: 769px) {
    .hg-pd-comp-map-container.map-container {
        height: 420px;
    }
}
@media (max-width: 768px) {
    /* 지도 — 모바일 16:9 */
    .hg-pd-comp-map-container.map-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
.hg-pd-comp-desc-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.hg-pd-comp-desc {
    margin: 0;
}
.hg-pd-comp-intro {
    padding-bottom: 0;
}
.hg-pd-comp-intro-divider {
    margin: 14px 0 0;
    border: none;
    border-top: 1px dotted #d0d0d0;
    height: 0;
}
/* 소개 아래 구분선 다음에 콘텐츠가 없으면(카드 끝) 숨김 — 카드 border 와 이중선 방지 */
.hg-pd-comp-intro-divider:last-child {
    display: none;
}
/* 숙소/관광지 1건이면 하단 라인 없음 (last-child border 제거 유지) */
.hg-pd-comp-list > .hg-pd-comp-card:only-child {
    padding-bottom: 0;
    border-bottom: none;
}
.hg-pd-comp-intro-divider + .hg-pd-comp-desc {
    margin-top: 14px;
}
.hg-pd-comp-desc + .hg-pd-comp-desc {
    margin-top: 12px;
}
.hg-pd-comp-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hg-pd-comp-blog-item + .hg-pd-comp-blog-item {
    margin-top: 8px;
}
.hg-pd-comp-blog-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: #222;
    text-decoration: none;
    line-height: 1.5;
}
.hg-pd-comp-blog-link:hover .hg-pd-comp-blog-title {
    color: #0d8f97;
    text-decoration: underline;
}
.hg-pd-comp-blog-date {
    flex: 0 0 auto;
    font-size: 12px;
    color: #888;
}
.hg-pd-comp-blog-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
}
.hg-pd-comp-blog-name {
    flex: 0 0 auto;
    font-size: 12px;
    color: #666;
}
.hg-pd-comp-blog-name::before {
    content: '·';
    margin-right: 4px;
    color: #bbb;
}
.hg-pd-panel { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.hg-pd-panel h2 { font-size: 18px; font-weight: 700; margin: 0 0 16px; color: #222; }
.hg-pd-panel h3 { font-size: 15px; font-weight: 600; margin: 20px 0 10px; color: #333; }

.hg-pd-calendar.hg-pd-panel {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.hg-pd-cal-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
    padding: 0 2px;
}
.hg-pd-calendar.hg-pd-panel > h3 {
    margin-top: 8px;
    padding: 0 2px;
}
.hg-pd-cal-section-head h2 {
    margin: 0;
}
.hg-pd-cal-status-legend {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hg-pd-cal-status-legend li {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.43;
    color: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}
.hg-pd-state-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    vertical-align: middle;
    cursor: default;
}
.hg-pd-state-dot.state01 {
    background: #8b6914;
}
.hg-pd-state-dot.state02 {
    background: #ff9800;
}
.hg-pd-state-dot.state03 {
    background: #9e9e9e;
}
.hg-pd-state-dot:disabled {
    opacity: 1;
}

.hg-pd-cal-card.calendar {
    --hg-cal-nav-w: 28px;
    --hg-cal-col-gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 0 16px 16px;
    margin-bottom: 20px;
    overflow: hidden;
}
.hg-pd-cal-toolbar {
    display: grid;
    grid-template-columns: var(--hg-cal-nav-w) minmax(0, 1fr) minmax(0, 1fr) var(--hg-cal-nav-w);
    column-gap: var(--hg-cal-col-gap);
    align-items: center;
    margin: 0 -16px 12px;
    padding: 14px 16px 12px;
    background: var(--hg-pd-accent-soft);
    border-bottom: 1px solid rgba(61, 223, 230, 0.22);
}
.hg-pd-cal-toolbar-months {
    display: contents;
}
.hg-pd-cal-toolbar .hg-pd-cal-prev {
    grid-column: 1;
}
.hg-pd-cal-toolbar .hg-pd-cal-ym-label {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.235;
    letter-spacing: 0.00735em;
    color: rgba(0, 0, 0, 0.87);
    text-align: center;
}
.hg-pd-cal-toolbar .hg-pd-cal-ym-label[data-cal-ym-slot="0"] {
    grid-column: 2;
}
.hg-pd-cal-toolbar .hg-pd-cal-ym-label[data-cal-ym-slot="1"] {
    grid-column: 3;
}
.hg-pd-cal-toolbar .hg-pd-cal-next {
    grid-column: 4;
}
.hg-pd-cal-nav-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
    transition: background 0.15s ease;
}
.hg-pd-cal-nav-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.04);
}
.hg-pd-cal-nav-btn:disabled {
    opacity: 0.38;
    cursor: default;
}
.hg-pd-cal-nav-btn .bi {
    font-family: bootstrap-icons !important;
    font-size: 18px;
    font-style: normal;
    line-height: 1;
}
.hg-pd-cal-months {
    display: grid;
    grid-template-columns: var(--hg-cal-nav-w) minmax(0, 1fr) minmax(0, 1fr) var(--hg-cal-nav-w);
    column-gap: var(--hg-cal-col-gap);
    align-items: start;
}
.hg-pd-cal-month-col {
    min-width: 0;
}
.hg-pd-cal-month-col[hidden] {
    display: none !important;
}
.hg-pd-cal-month-title {
    display: none;
    margin: 0 0 10px;
    padding: 0 2px;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.87);
    text-align: center;
}
@media (max-width: 768px) {
    .hg-pd-cal-card.calendar {
        --hg-cal-nav-w: 36px;
        --hg-cal-col-gap: 0;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-toolbar {
        grid-template-columns: var(--hg-cal-nav-w) minmax(0, 1fr) var(--hg-cal-nav-w);
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-toolbar .hg-pd-cal-ym-label[data-cal-ym-slot="0"] {
        grid-column: 2;
        font-size: 1.35rem;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-toolbar .hg-pd-cal-ym-label[data-cal-ym-slot="1"] {
        display: none;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-toolbar .hg-pd-cal-next {
        grid-column: 3;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-months {
        display: block;
        width: 100%;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-month-col {
        width: 100%;
        max-width: 100%;
        grid-column: auto !important;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-month-title {
        display: none; /* 툴바 연월과 중복 방지 */
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-table tbody td {
        height: 58px;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-num {
        font-size: 0.95rem;
    }
    .hg-pd-cal-card.calendar.is-cal-vertical .hg-pd-cal-price {
        font-size: 0.7rem;
    }
}
.hg-pd-cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.hg-pd-cal-table thead th {
    padding: 10px 2px 8px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.43;
    color: #555;
    border-bottom: 1px solid #ececec;
    background: #fff;
}
.hg-pd-cal-table thead th.is-sun-col {
    color: #d32f2f;
}
.hg-pd-cal-table thead th.is-sat-col {
    color: var(--hg-pd-accent-strong);
}
.hg-pd-cal-table tbody td {
    width: 14.285%;
    height: 54px;
    padding: 0;
    vertical-align: top;
    text-align: center;
    border: none;
    border-bottom: 1px solid #f2f2f2;
    background: #fff;
}
.hg-pd-cal-table tbody tr:last-child td {
    border-bottom: none;
}
/* 전·익월 숫자 — 연한 회색 */
.hg-pd-cal-table tbody td.is-other-month .hg-pd-cal-num {
    color: rgba(0, 0, 0, 0.26);
    font-weight: 500;
}
/* 행사 없음(당월·평일) — 회색 숫자 */
.hg-pd-cal-table tbody td.is-no-tour:not(.is-other-month):not(.is-sun):not(.is-sat):not(.is-selected) .hg-pd-cal-num {
    color: rgba(0, 0, 0, 0.38);
    font-weight: 500;
}
/* 일요일 숫자 — 빨강 (배경 없음) */
.hg-pd-cal-table tbody td.is-sun:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    color: #d32f2f;
    font-weight: 500;
}
.hg-pd-cal-table tbody td.is-sun.is-has-tour:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    font-weight: 600;
}
/* 토요일 숫자 — 시안 */
.hg-pd-cal-table tbody td.is-sat:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    color: var(--hg-pd-accent-strong);
    font-weight: 500;
}
.hg-pd-cal-table tbody td.is-sat.is-has-tour:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    font-weight: 600;
}
/* 행사 없는 일·토 — 연한 주말색 */
.hg-pd-cal-table tbody td.is-sun.is-no-tour:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    color: #ef9a9a;
}
.hg-pd-cal-table tbody td.is-sat.is-no-tour:not(.is-other-month):not(.is-selected) .hg-pd-cal-num {
    color: var(--hg-pd-accent-muted);
}
/* 행사 있는 평일 */
.hg-pd-cal-table tbody td.is-has-tour:not(.is-sun):not(.is-sat):not(.is-selected):not(.is-other-month) .hg-pd-cal-num {
    color: rgba(0, 0, 0, 0.87);
    font-weight: 600;
}
.hg-pd-cal-cell-stack,
.hg-pd-cal-cell-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    min-height: 50px;
    width: 100%;
    padding: 5px 3px 3px;
    box-sizing: border-box;
}
.hg-pd-cal-cell-stack.is-muted {
    pointer-events: none;
}
.hg-pd-cal-cell-link {
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    cursor: pointer;
}
.hg-pd-cal-table tbody td.is-has-tour .hg-pd-cal-cell-link:hover:not(.is-closed):not(:focus) .hg-pd-cal-num {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hg-pd-cal-day-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 1.25rem;
}
.hg-pd-cal-sta-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hg-pd-cal-sta-dot.is-sale {
    background: #8b6914;
}
.hg-pd-cal-sta-dot.is-confirmed {
    background: #ff9800;
}
.hg-pd-cal-sta-dot.is-closed {
    background: #9e9e9e;
}
.hg-pd-cal-num {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.57;
    letter-spacing: 0.00714em;
    color: rgba(0, 0, 0, 0.87);
}
.hg-pd-cal-price {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.66;
    letter-spacing: 0.03333em;
    color: #e53935;
    margin-top: 0;
    word-break: keep-all;
}
.hg-pd-cal-table tbody td.is-selected {
    background: #e3f2fd;
}
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-cell-link,
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-day-link,
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-cell-stack {
    background: #e3f2fd;
    border-radius: 4px;
}
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-num {
    color: rgba(0, 0, 0, 0.87);
    font-weight: 700;
}
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-price {
    color: #e53935;
    font-weight: 600;
}
.hg-pd-cal-table tbody td.is-selected .hg-pd-cal-sta-dot {
    box-shadow: none;
}
.hg-pd-cal-day-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    min-height: 50px;
    width: 100%;
    padding: 5px 3px 3px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    cursor: pointer;
}
.hg-pd-cal-cell-link.is-closed {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}
.hg-pd-cal-cell-link.is-closed .hg-pd-cal-num,
.hg-pd-cal-cell-link.is-closed .hg-pd-cal-price {
    color: rgba(0, 0, 0, 0.38);
}
.hg-pd-cal-holidays {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.hg-pd-cal-holidays-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.hg-pd-cal-holidays-list span {
    font-size: 0.8125rem;
    color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 720px) {
    .hg-pd-cal-card.calendar {
        --hg-cal-nav-w: 24px;
        --hg-cal-col-gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .hg-pd-cal-toolbar {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .hg-pd-cal-toolbar .hg-pd-cal-ym-label {
        font-size: 1.25rem;
    }
    .hg-pd-cal-table tbody td {
        height: 50px;
    }
}

.hg-pd-event {
    margin-top: 16px;
    padding: 18px 20px 20px;
    background: #f4fdfd;
    border: 1px solid var(--hg-pd-accent);
    border-radius: 8px;
}
.hg-pd-event-title {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(61, 223, 230, 0.4);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    color: #222;
}
.hg-pd-event-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
    background: #fff;
    border: 1px solid rgba(61, 223, 230, 0.28);
    border-radius: 6px;
    overflow: hidden;
}
.hg-pd-event-table th,
.hg-pd-event-table td {
    border: 1px solid rgba(61, 223, 230, 0.22);
    padding: 9px 12px;
    vertical-align: middle;
    line-height: 1.45;
}
.hg-pd-event-table th.hg-pd-event-label {
    width: 180px;
    background: rgba(244, 253, 253, 0.9);
    color: #555;
    font-weight: 600;
    text-align: left;
}
.hg-pd-event-table td.hg-pd-event-val {
    color: #222;
    background: #fff;
    font-weight: 400;
}
.hg-pd-event-table tr.hg-pd-event-row--fare th.hg-pd-event-label--fare {
    vertical-align: middle;
}
.hg-pd-event-table tr.hg-pd-event-row--fare td.hg-pd-event-val--fare {
    padding: 10px 12px;
    vertical-align: middle;
}
.hg-pd-event-label h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
    white-space: nowrap;
}
.hg-pd-event-label .bi {
    flex-shrink: 0;
    font-family: bootstrap-icons !important;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: #888;
}
.hg-pd-event-sta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hg-pd-event-sta .hg-pd-cal-sta-dot {
    width: 8px;
    height: 8px;
}
.hg-pd-cal-sta-dot.is-likely {
    background: #ff9800;
}
.hg-pd-event .hg-pd-sta {
    padding: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
}
.hg-pd-event .hg-pd-sta.hg-sta-sale {
    color: #8b6914;
}
.hg-pd-event .hg-pd-sta.hg-sta-confirmed {
    color: #ff9800;
}
.hg-pd-event .hg-pd-sta.hg-sta-likely {
    color: #ff9800;
}
.hg-pd-event .hg-pd-sta.hg-sta-closed {
    color: #9e9e9e;
}
.hg-pd-event-fare-table {
    width: 100%;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 4px;
    overflow: hidden;
}
.hg-pd-event-fare-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    background: #fff;
}
.hg-pd-event-fare-table col.hg-pd-event-fare-col-type {
    width: 42%;
}
.hg-pd-event-fare-table col.hg-pd-event-fare-col-amt {
    width: 58%;
}
.hg-pd-event-fare-table th,
.hg-pd-event-fare-table td {
    border: 1px solid #e8ebef;
    padding: 8px 10px;
    vertical-align: middle;
    text-align: center;
    line-height: 1.35;
}
.hg-pd-event-fare-table thead th {
    background: #eef3f7;
    color: #444;
    font-size: 13px;
    font-weight: 600;
}
.hg-pd-event-fare-table thead th.hg-pd-event-fare-head-amt {
    color: #888;
    font-weight: 500;
}
.hg-pd-event-fare-table tbody th {
    color: var(--hg-pd-accent-strong);
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}
.hg-pd-event-fare-table tbody td {
    background: #fff;
}
.hg-pd-event-fare-amt {
    margin: 0;
    color: #111;
}
.hg-pd-event-fare-amt em {
    font-style: normal;
}
.hg-pd-event-fare-amt strong {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* 주요정보 — 모바일: 항목 타이틀 아래 내용 */
@media (max-width: 768px) {
    .hg-pd-event {
        padding: 14px 12px 16px;
    }
    .hg-pd-event-table,
    .hg-pd-event-table tbody,
    .hg-pd-event-table tr,
    .hg-pd-event-table th,
    .hg-pd-event-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .hg-pd-event-table {
        border: none;
        background: transparent;
    }
    .hg-pd-event-table tbody tr {
        margin-bottom: 0;
        border: 1px solid rgba(61, 223, 230, 0.28);
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }
    .hg-pd-event-table tbody tr + tr {
        margin-top: 10px;
    }
    .hg-pd-event-table th.hg-pd-event-label,
    .hg-pd-event-table td.hg-pd-event-val {
        border: none;
        border-radius: 0;
    }
    .hg-pd-event-table th.hg-pd-event-label {
        width: 100%;
        padding: 10px 12px 6px;
        background: rgba(244, 253, 253, 0.95);
        border-bottom: 1px solid rgba(61, 223, 230, 0.18);
    }
    .hg-pd-event-table td.hg-pd-event-val {
        padding: 8px 12px 12px;
        background: #fff;
    }
    .hg-pd-event-table tr.hg-pd-event-row--fare td.hg-pd-event-val--fare {
        padding: 8px 10px 12px;
    }
    .hg-pd-event-label h3 {
        white-space: normal;
    }
    /* 상품금액 내부 테이블도 타이틀-내용 세로 */
    .hg-pd-event-fare-table table,
    .hg-pd-event-fare-table thead,
    .hg-pd-event-fare-table tbody,
    .hg-pd-event-fare-table tr,
    .hg-pd-event-fare-table th,
    .hg-pd-event-fare-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .hg-pd-event-fare-table thead {
        display: none;
    }
    .hg-pd-event-fare-table tbody tr {
        border: 1px solid #e8ebef;
        border-radius: 4px;
        margin-bottom: 8px;
        overflow: hidden;
    }
    .hg-pd-event-fare-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .hg-pd-event-fare-table tbody th {
        padding: 8px 10px 4px;
        text-align: left;
        background: #eef3f7;
        border-bottom: 1px solid #e8ebef;
    }
    .hg-pd-event-fare-table tbody td {
        padding: 8px 10px 10px;
        text-align: left;
    }
}

.hg-pd-inc-exc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.hg-pd-inc-exc-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    background: #fff;
}
.hg-pd-inc-exc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.hg-pd-inc-exc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.hg-pd-inc-exc-box.is-include .hg-pd-inc-exc-icon {
    background: var(--hg-pd-accent-strong);
}
.hg-pd-inc-exc-box.is-include .hg-pd-inc-exc-icon::before {
    content: "✓";
}
.hg-pd-inc-exc-box.is-exclude .hg-pd-inc-exc-icon {
    background: #e53935;
}
.hg-pd-inc-exc-box.is-exclude .hg-pd-inc-exc-icon::before {
    content: "✕";
}
.hg-pd-inc-exc-body {
    padding-left: 12px;
}

.hg-pd-inc-exc-golf {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    background: #fff;
}

.hg-pd-inc-exc-golf-body {
    padding-left: 0;
}

.hg-pd-inc-exc-golf .hg-pd-comp-list {
    margin-top: 0;
}

.hg-pd-pax { margin-top: 16px; }
.hg-pd-pax-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.hg-pd-pax-row:last-child { border-bottom: none; }
.hg-pd-pax-label { font-size: 14px; }
.hg-pd-pax-label small { display: block; color: #999; font-size: 12px; margin-top: 2px; }
.hg-pd-pax-price { font-size: 14px; color: #333; margin-right: 12px; }
.hg-pd-qty { display: flex; align-items: center; gap: 8px; }
.hg-pd-qty button { width: 32px; height: 32px; border: 1px solid #ddd; background: #fff; border-radius: 4px; font-size: 18px; cursor: pointer; line-height: 1; }
.hg-pd-qty button:disabled { opacity: .4; cursor: not-allowed; }
.hg-pd-qty input { width: 40px; text-align: center; border: 1px solid #ddd; border-radius: 4px; height: 32px; font-size: 14px; }

.hg-pd-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 0; background: #fff; border-radius: 12px 12px 0 0; padding: 0 8px; }
.hg-pd-tab { padding: 14px 18px; font-size: 14px; font-weight: 600; color: #666; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.hg-pd-tab.is-active { color: var(--hg-pd-accent-strong); border-bottom-color: var(--hg-pd-accent); }
.hg-pd-tab-panels { background: #fff; border-radius: 0 0 12px 12px; padding: 24px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.hg-pd-tab-panel { display: none; }
.hg-pd-tab-panel.is-active { display: block; }
.hg-pd-tab-panel h3 { font-size: 16px; font-weight: 700; margin: 24px 0 12px; padding-top: 8px; border-top: 1px solid #eee; }
.hg-pd-tab-panel h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }
/* 리치 HTML 본문 — 여행일정(.hg-pd-plan-html) 기준 통일 */
.hg-pd-rich {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    word-break: break-word;
}
.hg-pd-rich ul,
.hg-pd-rich ol {
    margin: 0;
    padding-left: 1.2em;
}
.hg-pd-rich ul {
    list-style: disc;
}
.hg-pd-rich li {
    margin-bottom: 2px;
}
.hg-pd-rich li:last-child {
    margin-bottom: 0;
}
.hg-pd-rich p {
    margin: 0 0 8px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.hg-pd-rich p:last-child {
    margin-bottom: 0;
}
.hg-pd-rich :where(h1, h2, h3, h4, h5, h6) {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    color: #333;
}
.hg-pd-rich img {
    max-width: 100%;
    height: auto;
}
.hg-pd-detail-section .hg-pd-rich :where(p, li, td, th, span, font, div) {
    font-family: inherit;
}
.hg-pd-detail-section .hg-pd-rich :where(p, li, td, th, span, font) {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
}
.hg-pd-rich + .hg-pd-rich,
.hg-pd-rich + .hg-pd-sub-h {
    margin-top: 16px;
}

.hg-pd-flight-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hg-pd-flight-table th, .hg-pd-flight-table td { border: 1px solid #e8e8e8; padding: 10px 12px; text-align: left; vertical-align: top; }
.hg-pd-flight-table th { width: 100px; background: #f7f8fb; font-weight: 600; color: #555; }

.hg-pd-plan-day { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.hg-pd-plan-day:last-child { border-bottom: none; }
.hg-pd-plan-head { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--hg-pd-accent-strong); }
.hg-pd-meals { font-size: 13px; color: #666; margin-top: 10px; }
.hg-pd-meals span { margin-right: 14px; }

/* 여행일정 — 노랑풍선 스타일 */
.hg-pd-plan-wrap { font-size: 14px; color: #333; }
.hg-pd-plan-notice {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: #f7f8fb;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
}
.hg-pd-plan-notice h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}
.hg-pd-plan-notice h4 .bi {
    flex-shrink: 0;
    font-family: bootstrap-icons !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: #8b6914;
}
.hg-pd-plan-notice p {
    margin: 0;
    padding-left: 26px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}
.hg-pd-plan-day-tabs {
    position: sticky;
    top: 16px;
    z-index: 150;
    margin: 0 -28px 0;
    padding: 0 28px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    box-sizing: border-box;
}
.hg-pd-plan-day-tabs.is-pinned {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.hg-pd-plan-day-tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hg-pd-plan-day-tab {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
}
.hg-pd-plan-day-tab.is-active {
    color: var(--hg-pd-accent-strong);
    border-bottom-color: var(--hg-pd-accent);
}
.hg-pd-plan-day-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.hg-pd-plan-day-panel {
    display: block;
    padding-top: 24px;
    scroll-margin-top: 132px;
}
.hg-pd-plan-wrap.is-collapsed .hg-pd-plan-day-panel {
    display: none;
}
.hg-pd-plan-wrap.is-collapsed .hg-pd-plan-day-panel.is-first {
    display: block;
}
.hg-pd-plan-wrap.is-expanded .hg-pd-plan-day-panel {
    display: block;
}
.hg-pd-plan-day-panel + .hg-pd-plan-day-panel {
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid #eee;
}
.hg-pd-plan-day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(61, 223, 230, 0.45);
}
.hg-pd-plan-day-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}
.hg-pd-plan-day-meta {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
.hg-pd-plan-day-date {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}
.hg-pd-plan-day-route {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}
.hg-pd-plan-day-dow.is-sat {
    color: #1976d2;
}
.hg-pd-plan-day-dow.is-sun {
    color: #d32f2f;
}
.hg-pd-plan-flight {
    display: grid;
    grid-template-columns: 1fr 88px 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 16px;
    align-items: center;
    margin-bottom: 20px;
    padding: 22px 40px;
    background: #e9f7fc;
    border: 1px solid #c8e8f2;
    border-radius: 10px;
}
.hg-pd-plan-flight.is-return {
    margin-top: 20px;
    margin-bottom: 0;
}
.hg-pd-plan-flight-cell.is-spacer {
    min-height: 0;
}
.hg-pd-plan-flight-airport.is-dep {
    grid-column: 1;
    grid-row: 1;
    padding-left: 4px;
}
.hg-pd-plan-flight-airport.is-arr {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    padding-right: 4px;
}
.hg-pd-plan-flight-mid {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}
.hg-pd-plan-flight-summary.is-dep {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding-left: 4px;
}
.hg-pd-plan-flight-summary.is-arr {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
}
.hg-pd-plan-flight-date-row.is-dep {
    grid-column: 1;
    grid-row: 3;
    padding-left: 4px;
}
.hg-pd-plan-flight-date-row.is-arr {
    grid-column: 3;
    grid-row: 3;
    text-align: right;
    padding-right: 4px;
}
.hg-pd-plan-flight-label {
    font-size: 16px;
    font-weight: 700;
    color: #1f3d4d;
    line-height: 1.4;
}
.hg-pd-plan-flight-time {
    font-size: 24px;
    font-weight: 700;
    color: var(--hg-pd-accent-strong);
    line-height: 1.2;
}
.hg-pd-plan-flight-date {
    font-size: 13px;
    color: #5a7a88;
    line-height: 1.4;
}
.hg-pd-plan-flight-arrow {
    width: 48px;
    height: 2px;
    background: #9cc8d8;
    position: relative;
}
.hg-pd-plan-flight-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #9cc8d8;
}
.hg-pd-plan-flight-via {
    font-size: 13px;
    font-weight: 600;
    color: #2d6b82;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}
.hg-pd-plan-flight-duration {
    font-size: 13px;
    color: #4d7282;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}
.hg-pd-plan-flight-airline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.hg-pd-plan-flight-airline-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 34px;
}
.hg-pd-plan-flight-airline-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f3d4d;
}
.hg-pd-plan-flight-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--hg-pd-accent-strong);
}
.hg-pd-plan-meeting {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
}
.hg-pd-plan-meeting h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.hg-pd-plan-meeting-body img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 4px;
}
.hg-pd-plan-timeline {
    margin-bottom: 8px;
    overflow: visible;
}
.hg-pd-plan-steps {
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.hg-pd-plan-step {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: visible;
}
.hg-pd-plan-step-rail {
    position: relative;
    flex: 0 0 36px;
    display: flex;
    justify-content: center;
    overflow: visible;
}
.hg-pd-plan-step-line {
    position: absolute;
    left: 50%;
    margin-left: -2.5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #9e9e9e;
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
}
.hg-pd-plan-step:first-child .hg-pd-plan-step-line {
    top: 14px;
}
.hg-pd-plan-step:last-child .hg-pd-plan-step-line {
    bottom: 14px;
}
.hg-pd-plan-step:only-child .hg-pd-plan-step-line {
    top: 14px;
    bottom: 14px;
}
.hg-pd-plan-step-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 0;
    border-radius: 50%;
    background: #fff;
}
.hg-pd-plan-step.is-spot .hg-pd-plan-step-icon .bi-geo-alt {
    font-family: bootstrap-icons !important;
    font-size: 20px;
    font-style: normal;
    line-height: 1;
    color: var(--hg-pd-accent-strong);
}
.hg-pd-plan-step.is-dot .hg-pd-plan-step-icon .bi-record2 {
    font-family: bootstrap-icons !important;
    font-size: 20px;
    font-style: normal;
    line-height: 1;
    color: #9e9e9e;
    margin-top: 0;
}
.hg-pd-plan-step-body {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0 18px 10px;
}
.hg-pd-plan-step:last-child .hg-pd-plan-step-body {
    padding-bottom: 0;
}
.hg-pd-plan-loc {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}
.hg-pd-plan-item-line {
    margin: 0 0 4px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.hg-pd-plan-item-time {
    font-weight: 700;
    color: var(--hg-pd-accent-strong);
    margin-right: 6px;
}
.hg-pd-plan-item-traffic {
    color: #666;
}
.hg-pd-plan-item-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}
.hg-pd-plan-poi {
    margin-top: 10px;
    padding-left: 0;
}
.hg-pd-plan-poi-images {
    --hg-poi-gap: 8px;
    --hg-poi-ratio: 330 / 230;
    display: flex;
    flex-wrap: wrap;
    gap: var(--hg-poi-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.hg-pd-plan-poi-images li {
    flex: 0 0 auto;
    max-width: 100%;
}
.hg-pd-plan-poi-images img {
    display: block;
    width: 330px;
    height: 230px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}
/* 2장 — 330×230 고정 */
.hg-pd-plan-poi-images.is-n-2 img {
    width: 330px;
    height: 230px;
}
/* 3장 — 1열, 영역에 맞게 축소 (330:230 비율 유지) */
.hg-pd-plan-poi-images.is-n-3 {
    flex-wrap: nowrap;
}
.hg-pd-plan-poi-images.is-n-3 li {
    flex: 1 1 0;
    min-width: 0;
}
.hg-pd-plan-poi-images.is-n-3 img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--hg-poi-ratio);
}
/* 4장 이상 — 2열 */
.hg-pd-plan-poi-images.is-n-many li {
    flex: 0 0 calc((100% - var(--hg-poi-gap)) / 2);
    min-width: 0;
}
.hg-pd-plan-poi-images.is-n-many img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--hg-poi-ratio);
}
.hg-pd-plan-html {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.hg-pd-plan-comp-link {
    color: var(--hg-pd-accent-strong);
    font-weight: 600;
    text-decoration: none;
}
.hg-pd-plan-comp-link:hover {
    text-decoration: underline;
}
.hg-pd-plan-day-foot {
    margin-top: 24px;
    padding-top: 4px;
    background: #fff;
}
.hg-pd-plan-day-foot-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 2px 0;
    font-size: 14px;
    line-height: 1.3;
}
.hg-pd-plan-foot-tag {
    flex: 0 0 52px;
    display: inline-block;
    margin-left: 12px;
    margin-right: 20px;
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    text-align: center;
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    line-height: 1.3;
    box-sizing: border-box;
}
.hg-pd-plan-foot-val {
    flex: 1;
    min-width: 0;
    color: #333;
    line-height: 1.3;
    padding-top: 0;
    word-break: break-word;
}
.hg-pd-plan-meals-inline {
    display: block;
    line-height: 1.3;
}
.hg-pd-plan-meal-item {
    display: inline;
    margin-right: 28px;
    white-space: nowrap;
}
.hg-pd-plan-meal-item:last-child {
    margin-right: 0;
}
.hg-pd-plan-meal-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--hg-pd-accent-strong);
}
.hg-pd-plan-common-label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hg-pd-accent-strong);
}

.hg-pd-sidebar { position: sticky; top: 16px; scroll-margin-top: 72px; }
.hg-pd-side-card { background: #fff; border-radius: 12px; padding: 14px 14px 16px; box-shadow: 0 2px 12px rgba(0,0,0,.08); border: 1px solid #e8e8e8; }
.hg-pd-side-card.is-flash {
    animation: hg-pd-side-flash 0.85s ease 2;
}
@keyframes hg-pd-side-flash {
    0%, 100% {
        background: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
    40% {
        background: #fff8e8;
        box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.55);
    }
}
.hg-pd-side-card > h2.hg-pd-side-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    padding: 0;
    line-height: 1.35;
    border: none;
}
.hg-pd-side-event-name { font-size: 12px; font-weight: 500; color: #333; margin: 0 0 4px; line-height: 1.4; }
.hg-pd-side-dep { font-size: 12px; color: #666; margin: 0 0 6px; }
.hg-pd-side-sta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}
.hg-pd-side-sta-key {
    color: #666;
    font-weight: 500;
}
.hg-pd-side-sta-val {
    color: #333;
    font-weight: 600;
}
.hg-pd-side-pax {
    margin: 0 0 8px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.hg-pd-side-fare-table {
    display: block;
    font-size: 13px;
}
.hg-pd-side-fare-head,
.hg-pd-side-fare-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 8px;
    align-items: center;
    text-align: center;
}
.hg-pd-side-fare-head {
    margin-bottom: 6px;
    color: #888;
    font-weight: 500;
    font-size: 11px;
}
.hg-pd-side-fare-row + .hg-pd-side-fare-row {
    margin-top: 8px;
}
.hg-pd-side-fare-col-type,
.hg-pd-side-fare-col-amt,
.hg-pd-side-fare-col-qty {
    text-align: center;
    justify-self: center;
    width: 100%;
}
.hg-pd-side-fare-col-type {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.35;
    word-break: keep-all;
    color: #19cdbf;
}
.hg-pd-side-fare-head .hg-pd-side-fare-col-type,
.hg-pd-side-fare-head .hg-pd-side-fare-col-amt,
.hg-pd-side-fare-head .hg-pd-side-fare-col-qty {
    color: #888;
    font-weight: 500;
}
.hg-pd-side-fare-col-amt {
    color: #000;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}
.hg-pd-side-fare-col-qty {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hg-pd-side-pax-select {
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: 30px;
    padding: 0 4px 0 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #222;
    background: #fff;
}
.hg-pd-side-pax .hg-pd-pax-total {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 14px;
}
.hg-pd-side-amt { font-size: 20px; font-weight: 700; color: #c62828; }
.hg-pd-side-pax + .hg-pd-btn-book,
.hg-pd-side-pax + .hg-pd-btn-book.is-disabled {
    margin-top: 8px;
}
.hg-pd-side-card .hg-pd-btn-book {
    padding: 12px;
    font-size: 15px;
}
.hg-pd-btn-book { display: block; width: 100%; padding: 14px; font-size: 16px; font-weight: 700; color: #fff; background: #c62828; border: none; border-radius: 8px; cursor: pointer; text-align: center; text-decoration: none; }
.hg-pd-btn-book:hover { background: #b71c1c; color: #fff; }
.hg-pd-btn-book.is-disabled { background: #bdbdbd; cursor: not-allowed; }
.hg-pd-sta { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.hg-sta-confirmed { background: #e8f5e9; color: #2e7d32; }
.hg-sta-likely { background: #fff8e1; color: #f57f17; }
.hg-sta-sale { background: var(--hg-pd-accent-soft); color: var(--hg-pd-accent-strong); }
.hg-sta-closed { background: #f5f5f5; color: #757575; }

.hg-pd-pax-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 8px; margin-top: 8px; border-top: 2px solid #333; font-size: 15px; }
.hg-pd-pax-total strong { font-size: 20px; color: #c62828; }
.hg-pd-pax-hint {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: #fff8e8;
    border: 1px solid #e8d4a8;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #6e5210;
    text-align: center;
}
.hg-pd-pax-hint[hidden] { display: none !important; }
.hg-pd-btn-inline { margin-top: 12px; }
.hg-pd-sub-h { font-size: 14px; font-weight: 700; color: #333; margin: 0 0 10px; }
.hg-flight-line { margin-top: 6px; font-size: 13px; color: var(--hg-pd-accent-strong); }
.hg-pd-empty { color: #888; font-size: 14px; }

.hg-plan-table, .plan_table.hg-plan-table { width: 100%; border: 1px solid #e5e5e5; border-collapse: collapse; margin-bottom: 20px; }
.hg-plan-table thead th, .plan_table.hg-plan-table thead th { padding: 0 20px; line-height: 46px; height: 46px; font-size: 16px; font-weight: 700; color: #333; background: #f4f4f4; text-align: left; }
.hg-plan-table tbody td { font-size: 14px; line-height: 24px; vertical-align: top; padding-bottom: 10px; }
.hg-plan-table tbody .title { padding-left: 30px; width: 100px; color: #333; font-weight: 700; }
.hg-plan-table tbody .line { border-right: 1px solid #e5e5e5; width: 5px; padding-right: 1px; }
.hg-plan-table tbody .time { padding-left: 30px; width: 100px; color: var(--hg-pd-accent-strong); font-weight: 700; }
.hg-plan-table tbody .text { padding-left: 30px; color: #555; font-weight: 400; padding-right: 15px; }
.hg-plan-spacer { height: 16px; border: none; padding: 0; }
.hg-plan-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hg-pd-accent); position: relative; left: -4px; }
.hg-plan-images { margin-top: 10px; }
.hg-plan-images img { max-width: 100%; height: auto; margin-right: 8px; margin-bottom: 8px; }
.hg-plan-html { padding: 12px 20px; font-weight: 400; }
.hg-plan-traffic { display: block; font-size: 12px; color: #888; margin-bottom: 4px; }

.hg-pd-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    align-items: center;
    gap: 12px;
}
.hg-pd-mobile-bar[hidden] { display: none !important; }
.hg-pd-mobile-amt { font-size: 18px; font-weight: 700; color: #c62828; flex: 1; }
.hg-pd-mobile-bar .hg-pd-btn-book { flex: 1; max-width: 200px; margin: 0; }
@media (max-width: 960px) {
    .hg-pd-mobile-bar:not([hidden]) { display: flex; }
    .hg-pd-page > .gd-container,
    .hg-pd-page > .hg-container { padding-bottom: 24px; }
    body.is-pax-ready .hg-pd-page > .gd-container,
    body.is-pax-ready .hg-pd-page > .hg-container { padding-bottom: 88px; }
    .hg-pd-sidebar .hg-pd-btn-book { display: none; }
}

/* 모바일 상품상세 — 사이트 헤더/하단바 고정 해제, 상품명만 sticky */
@media (max-width: 960px) {
    .page-product .tc2c-header__bar {
        position: relative;
        z-index: 100;
    }
    .page-product .tc2c-subhead {
        display: none;
        margin-top: 0;
    }
    .page-product .tc2c-gnb {
        top: 0;
        padding-top: calc(var(--tc2c-header-h) + 16px);
    }

    .page-product .hg-pd-page {
        padding-top: 0;
    }
    .page-product .hg-pd-page .hg-container > .header.hg-pd-top-header,
    .page-product .hg-pd-page .gd-container > .header.hg-pd-top-header {
        position: sticky;
        top: 0;
        z-index: 190;
        margin: 0 0 16px;
        padding: 12px 14px;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    .page-product .hg-pd-top-header .hg-pd-badges-row,
    .page-product .hg-pd-top-header .hg-pd-summary,
    .page-product .hg-pd-top-header .hg-pd-price-row {
        display: none;
    }
    .page-product .hg-pd-top-header .hg-pd-title {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        color: #222;
    }

    .page-product .hg-pd-mobile-bar:not([hidden]) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 220;
        display: flex;
        margin: 0;
        padding: 10px 16px;
        border-top: 1px solid #e0e0e0;
        border-radius: 0;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        background: #fff;
        overflow: visible;
    }
    .page-product .hg-pd-mobile-bar[hidden] {
        display: none !important;
    }
    .page-product .hg-pd-page > .gd-container,
    .page-product .hg-pd-page > .hg-container {
        padding-bottom: 24px;
    }
    .page-product.body.is-pax-ready .hg-pd-page > .gd-container,
    body.page-product.is-pax-ready .hg-pd-page > .gd-container,
    body.page-product.is-pax-ready .hg-pd-page > .hg-container {
        padding-bottom: 88px;
    }

    .page-product .hg-pd-plan-day-tabs {
        position: static;
        top: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    .page-product .hg-pd-sidebar {
        position: static;
        top: auto;
    }

    /* 모바일 — 선택한 상품/예약 본문 글자 키움 (금액 제외) */
    .page-product .hg-pd-side-card > h2.hg-pd-side-title {
        font-size: 20px;
    }
    .page-product .hg-pd-side-event-name {
        font-size: 15px;
    }
    .page-product .hg-pd-side-dep,
    .page-product .hg-pd-side-sta {
        font-size: 14px;
    }
    .page-product .hg-pd-side-fare-table {
        font-size: 14px;
    }
    .page-product .hg-pd-side-fare-head {
        font-size: 13px;
    }
    .page-product .hg-pd-side-fare-col-type {
        font-size: 14px;
    }
    .page-product .hg-pd-side-pax-select {
        font-size: 14px;
        height: 34px;
    }
    .page-product .hg-pd-side-pax .hg-pd-pax-total {
        font-size: 15px;
    }
}

/* tcno2c 상품 상세 보강 — 일정 접기/펼치기 */
.hg-pd-plan-sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 28px 0;
	background: #fff;
}
.hg-pd-plan-sec-head .hg-pd-detail-section-title {
	margin: 0;
	padding: 0;
}
.hg-pd-plan-fold-btn {
	flex: 0 0 auto;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hg-pd-accent-strong, #0d9488);
	background: #fff;
	border: 1px solid rgba(13, 148, 136, 0.35);
	border-radius: 6px;
	cursor: pointer;
	line-height: 1.3;
}
.hg-pd-plan-fold-btn:hover {
	background: rgba(13, 148, 136, 0.06);
}
.hg-pd-plan-day-body {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}
.hg-pd-plan-foot-val {
	color: var(--hg-pd-accent-strong, #0d9488);
}
.hg-pd-comp-hero {
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	background: #eee;
}
.hg-pd-comp-hero img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}
@media (max-width: 768px) {
	.hg-pd-comp-hero img {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}
.hg-pd-comp-body h3 {
	margin: 0 0 8px;
	font-size: 17px;
}
.hg-pd-comp-body p {
	margin: 0;
	color: #555;
	line-height: 1.6;
}
.hg-pd-note {
	margin-top: 12px;
	font-size: 13px;
	color: #888;
}
.hg-pd-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.hg-pd-gallery-item {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #eee;
}
.hg-pd-gallery-item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}
.hg-pd-inc-exc-body ul {
	margin: 0;
	padding-left: 18px;
	list-style: disc;
}
.hg-pd-inc-exc-body li { margin: 4px 0; }
.hg-pd-detail-section-body.hg-pd-rich ul {
	margin: 0;
	padding-left: 18px;
	list-style: disc;
}
.hg-pd-price-rep-amt { color: #c62828; font-weight: 700; }
.hg-pd-page { padding-top: 8px; }
@media (max-width: 768px) {
	.hg-pd-gallery-grid { grid-template-columns: 1fr; }
	.hg-pd-page > .hg-container .hg-pd-banner-grid { flex-direction: column; }
	.hg-pd-page > .hg-container .hg-pd-banner-col-left,
	.hg-pd-page > .hg-container .hg-pd-banner-col-right {
		flex: 1 1 auto;
		width: 100%;
		min-height: 0;
	}
	.hg-pd-page > .hg-container .hg-pd-banner-0 { height: 220px; flex-basis: auto; }
	.hg-pd-page > .hg-container .hg-pd-banner-1 { min-height: 240px; }
}

