/* ============================================
   히어로 섹션
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(16, 185, 129, 0.05));
    border-bottom: 1px solid var(--color-border-light);
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 32px 40px;
    gap: 20px;
}

.hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    transition: all 0.2s;
    align-self: flex-start;
}

.hero-back-link:hover {
    background: var(--color-surface-elevated);
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--gradient-primary);
    color: #fff;
}

.hero-badge.agency {
    background: var(--color-surface-elevated);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.hero-badge.sample {
    margin-left: auto;
    background: #ff4d4f;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.45);
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.3;
}

.hero-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 640px;
}

/* When thumbnail image is present */
.hero-section.has-image {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-section.has-image .hero-content {
    justify-content: flex-end;
    padding-top: 60px;
    padding-bottom: 48px;
}

.hero-section.has-image .hero-title {
    color: #fff;
}

.hero-section.has-image .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(4px);
}

.hero-section.has-image .hero-badge.agency {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-section.has-image .hero-description {
    color: rgba(255, 255, 255, 0.85);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.hero-meta-item svg {
    color: var(--color-text-tertiary);
}

/* ============================================
   티켓 아코디언
   ============================================ */
.ticket-accordion-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface);
}

.ticket-accordion-item {
    border-bottom: 1px solid var(--color-border-light);
}

.ticket-accordion-item:last-child {
    border-bottom: none;
}

.ticket-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}

.ticket-accordion-header::-webkit-details-marker {
    display: none;
}

.ticket-accordion-header:hover {
    background: var(--color-surface-elevated);
}

.ticket-accordion-chevron {
    flex-shrink: 0;
    color: var(--color-text-tertiary);
    transition: transform 0.2s ease;
}

.ticket-accordion-item[open] .ticket-accordion-chevron {
    transform: rotate(180deg);
}

.ticket-accordion-body {
    padding: 4px 24px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    white-space: pre-line;
}

/* ============================================
   메인 레이아웃
   ============================================ */
.sale-detail-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 32px 48px;
}

.sale-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.sale-detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================
   핵심 정보 카드
   ============================================ */
.info-highlight-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 28px 32px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.info-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.info-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(16, 185, 129, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.info-highlight-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-highlight-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    letter-spacing: 0.02em;
}

.info-highlight-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.info-highlight-value.inquiry {
    color: var(--color-accent);
    font-size: 13px;
}

.info-highlight-desc {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.info-highlight-desc:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.info-highlight-desc p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
    white-space: pre-line;
}

/* Ticket template — title + badges inside card */
.info-highlight-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.info-highlight-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.info-highlight-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0;
}


/* ============================================
   콘텐츠 섹션 공통
   ============================================ */
.sale-section {
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.sale-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--color-border-light);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03), rgba(16, 185, 129, 0.02));
}

.sale-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.sale-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.sale-section-body {
    padding: 24px 28px;
}

/* 상품 설명 */
.sale-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    white-space: pre-line;
}

/* ============================================
   이미지 갤러리
   ============================================ */
.sale-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.sale-gallery-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.sale-gallery-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ============================================
   상세이미지 세로 나열
   ============================================ */
.detail-image-body {
    padding: 0 !important;
}

.detail-image-vertical {
    display: flex;
    flex-direction: column;
}

.detail-vertical-image {
    width: 100%;
    display: block;
    object-fit: contain;
}

/* ============================================
   일정
   ============================================ */
.sale-itinerary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.sale-itinerary-list::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(20, 184, 166, 0.15));
    border-radius: 1px;
}

.sale-itinerary-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.sale-itinerary-item + .sale-itinerary-item {
    border-top: 1px solid var(--color-border-light);
}

.itinerary-day-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.itinerary-content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.itinerary-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.itinerary-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
    white-space: pre-line;
}

.itinerary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.itinerary-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: var(--color-surface-elevated);
    border-radius: 6px;
    border: 1px solid var(--color-border-light);
    font-size: 12px;
    color: var(--color-text-secondary);
}

.itinerary-tag svg {
    color: var(--color-accent);
}

/* ============================================
   영상
   ============================================ */
.sale-video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sale-video-item {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-md);
}

.sale-video-item video {
    width: 100%;
    display: block;
    max-height: 540px;
}

/* ============================================
   추가 정보
   ============================================ */
.sale-extra-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sale-extra-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sale-extra-item + .sale-extra-item {
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.sale-extra-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.sale-extra-label svg {
    color: var(--color-accent);
}

.sale-extra-value {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    white-space: pre-line;
    padding-left: 20px;
}

/* ============================================
   우측 사이드바
   ============================================ */
.sale-sidebar {
    position: sticky;
    top: 90px;
    z-index: 10;
}

.sale-sidebar-inner {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 110px);
}

.sale-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 4px;
    padding-bottom: 8px;
    mask-image: linear-gradient(to bottom, black calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 24px), transparent 100%);
}

.sale-sidebar-footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
    margin-top: 16px;
}

.sidebar-price-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-price-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(16, 185, 129, 0.12));
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.sidebar-sample-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.45);
}

.sidebar-main-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.sidebar-main-price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.sidebar-main-price-label {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* 커스텀 셀렉트 */
.sidebar-selects {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 출발일 Flatpickr 필드 */
.departure-date-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-tertiary);
}

.departure-date-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-kr);
    color: var(--color-text-primary);
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.departure-date-input:hover,
.departure-date-input:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* ── HOTEL 인라인 달력 ─────────────────────────────────── */
.pd-hotel-cal-field {
    gap: 0;
}

.pd-hotel-inline-cal {
    width: 100%;
    margin-top: 4px;
}

.pd-hotel-inline-cal .flatpickr-calendar.inline {
    width: 100% !important;
    max-width: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.pd-hotel-nights {
    font-size: .8rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 6px;
    text-align: center;
    min-height: 1.1em;
}

/* 재고 표시 시 날짜 셀 높이 확장 */
.pd-hotel-inline-cal .fp-showing-inv .flatpickr-day,
.fp-showing-inv .flatpickr-day {
    height: 44px !important;
    line-height: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
}

.pd-hotel-inline-cal .fp-showing-inv .flatpickr-days .dayContainer,
.fp-showing-inv .flatpickr-days .dayContainer {
    max-height: calc(44px * 6) !important;
}

/* 재고 배지 (product-detail 공통) */
.fp-inv-badge {
    font-size: 9px;
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1;
}

.flatpickr-day.inRange .fp-inv-badge,
.flatpickr-day.selected .fp-inv-badge,
.flatpickr-day.startRange .fp-inv-badge,
.flatpickr-day.endRange .fp-inv-badge {
    color: rgba(255,255,255,0.9);
}

/* ── Flatpickr 커스텀 테마 ─────────────────────────────── */
.flatpickr-calendar {
    font-family: var(--font-kr), sans-serif;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(20, 184, 166, 0.15), 0 2px 12px rgba(0,0,0,0.08);
    padding: 12px;
    background: #fff;
    box-sizing: border-box;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    display: none;
}

/* 월/연도 헤더 */
.flatpickr-month {
    background: transparent;
    height: 40px;
    padding: 0 4px;
    display: flex;
    align-items: center;
}

.flatpickr-current-month {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e2c;
    padding-top: 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700;
    color: #1a2e2c;
    background: transparent;
    appearance: none;
}

.flatpickr-current-month input.cur-year {
    font-weight: 700;
    color: #1a2e2c;
}

/* 이전/다음 화살표 */
.flatpickr-prev-month,
.flatpickr-next-month {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    color: #14B8A6 !important;
    fill: #14B8A6 !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #059669 !important;
}

/* 요일 헤더 */
.flatpickr-weekdays {
    background: transparent;
    margin-top: 8px;
}

.flatpickr-weekday {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
}

/* 날짜 셀 */
.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-weekdays,
.flatpickr-weekdaycontainer,
.flatpickr-days,
.flatpickr-days .dayContainer {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
}

.flatpickr-days .dayContainer {
    max-height: calc(34px * 6);
    overflow: hidden;
}


.flatpickr-day {
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    color: #334155;
    border: none;
    transition: all 0.15s ease;
}

/* 선택 불가 날짜 (disable) */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.notAllowed {
    color: #cbd5e1 !important;
    background: transparent !important;
    cursor: default;
    text-decoration: line-through;
}

/* 선택 가능한 날짜 - 강조 */
.flatpickr-day:not(.flatpickr-disabled):not(.notAllowed):not(.prevMonthDay):not(.nextMonthDay) {
    color: #0d7a73;
    font-weight: 600;
}

.flatpickr-day:not(.flatpickr-disabled):not(.notAllowed):not(.prevMonthDay):not(.nextMonthDay):hover {
    background: rgba(20, 184, 166, 0.2);
    color: #065f5a;
}

/* 선택된 날짜 */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #14B8A6, #059669) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4);
    font-weight: 700;
}

/* 오늘 날짜 */
.flatpickr-day.today:not(.selected) {
    border: 2px solid #14B8A6;
    color: #14B8A6;
    font-weight: 700;
    background: transparent;
}

/* 이전/다음 달 날짜 */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #e2e8f0;
}


.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:hover {
    border-color: var(--color-accent);
    background: var(--color-surface);
}

.custom-select-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    white-space: nowrap;
    min-width: 42px;
}

.custom-select-value {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.custom-select-value.selected {
    color: var(--color-text-primary);
}

.custom-select-arrow {
    flex-shrink: 0;
    color: var(--color-text-tertiary);
    transition: transform 0.2s;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow: hidden;
    animation: selectFadeIn 0.15s ease;
}

.custom-select.open .custom-select-dropdown {
    display: block;
}

@keyframes selectFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.custom-select-option:hover {
    background: var(--color-surface-elevated);
    color: var(--color-text-primary);
}

.custom-select-option.active {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(16, 185, 129, 0.08));
    color: var(--color-accent);
    font-weight: 600;
}

.custom-select-option + .custom-select-option {
    border-top: 1px solid var(--color-border-light);
}

.sidebar-divider {
    height: 1px;
    background: var(--color-border-light);
}

.sale-sidebar-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-price-label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.sidebar-price-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* 인원 선택 */
.sale-sidebar-people, .modal-people {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.sale-sidebar-people.no-options-below,
.modal-people.no-options-below {
    border-bottom: none;
}

.people-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.people-row:last-child {
    border-bottom: none;
}

.people-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.people-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.people-prices {
    display: flex;
    align-items: center;
    gap: 6px;
}

.people-original-price {
    font-size: 12px;
    color: var(--color-text-tertiary, #94a3b8);
    text-decoration: line-through;
}

.people-discount-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary, #64748b);
}

/* ── 컴팩트 스테퍼 ───────────────────────────────────────────────────────────── */
.people-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    width: auto;
    background: transparent;
}

.counter-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text-secondary);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.counter-btn:hover {
    border-color: var(--color-accent, #14b8a6);
    color: var(--color-accent, #14b8a6);
    background: #f0fdfa;
}

.counter-btn:active {
    transform: scale(0.92);
}

.counter-input {
    width: 28px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
    padding: 0;
}

.counter-input::-webkit-inner-spin-button,
.counter-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 합계 */
.sale-sidebar-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
    align-items: flex-end;
}

.total-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary, #666);
}

.sidebar-price-big {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.sidebar-price-logs {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 100px;
    overflow-y: auto;
    width: 100%;
}

.sidebar-price-logs li {
    font-size: 12px;
    color: #666;
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
}

/* 결제 버튼 */
.sale-pay-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sale-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
}

.sale-pay-btn:active {
    transform: translateY(0);
}

/* 신뢰 정보 */
.sidebar-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.trust-item svg {
    color: var(--color-accent);
}

/* ============================================
   모바일 하단 바
   ============================================ */
.sale-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
    padding: 12px 20px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}


.mobile-bar-btn {
    width: 100%;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.mobile-bar-btn:active {
    transform: scale(0.97);
}

/* ============================================
   모바일 결제 모달
   ============================================ */
.sale-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    align-items: flex-end;
    justify-content: center;
}

.sale-modal-overlay.active {
    display: flex;
}

.sale-modal {
    background: var(--color-surface);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s var(--ease-smooth);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sale-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--color-border-light);
}

.sale-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.sale-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-tertiary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.sale-modal-close:hover {
    background: var(--color-surface-elevated);
}

.sale-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-price-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sale-modal-footer {
    padding: 16px 24px 28px;
    flex-shrink: 0;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 960px) {
    .sale-detail-layout {
        display: block;
    }

    .sale-sidebar {
        display: none;
    }

    .sale-mobile-bar {
        display: flex;
    }

    .sale-detail-section {
        padding-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 24px 16px 32px;
    }

    .hero-section.has-image {
        min-height: 280px;
    }


    .info-highlight-title {
        font-size: 20px;
    }

    .hero-section.has-image .hero-content {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-meta {
        gap: 12px;
    }

    .hero-meta-item {
        font-size: 13px;
    }

    .sale-detail-section {
        padding: 24px 16px 100px;
        overflow-x: hidden;
    }

    .info-highlight-card {
        padding: 20px;
        margin-top: -40px;
    }

    .info-highlight-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sale-section-header {
        padding: 16px 20px;
    }

    .sale-section-body {
        padding: 20px;
    }

    .sale-image-gallery {
        grid-template-columns: 1fr;
    }

    .sale-itinerary-list::before {
        left: 18px;
    }

    .itinerary-day-badge {
        width: 36px;
        height: 36px;
        font-size: 9px;
    }

    .sale-extra-value {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }

    .info-highlight-grid {
        grid-template-columns: 1fr;
    }

    .info-highlight-item {
        padding: 8px 0;
    }
}

/* ============================================
   옵션 카드 (pd-opt-*)
   ============================================ */
.pd-option-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.pd-opt-card {
    border: 1.5px solid var(--color-border-light, #e5e7eb);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    transition: border-color 0.15s;
}

.pd-opt-card.pd-opt-selected {
    border-color: var(--color-primary, #14b8a6);
    background: rgba(20, 184, 166, 0.04);
}

.pd-opt-card.pd-opt-auto {
    border-color: var(--color-border-light, #e5e7eb);
    background: rgba(0, 0, 0, 0.02);
}

.pd-opt-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.pd-opt-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary, #111827);
    flex: 1;
}

.pd-opt-badge-auto {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.pd-opt-select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-text-primary, #111827);
    background: #fff;
    cursor: pointer;
}

.pd-opt-select:disabled {
    background: #f9fafb;
    color: var(--color-text-tertiary, #9ca3af);
    cursor: default;
}

/* GROUP → 자식 옵션 컨테이너 */

.pd-group-children {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-group-child {
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 6px;
    padding: 7px 9px;
    background: #f9fafb;
}

.pd-group-child-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.pd-group-child-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary, #374151);
    flex: 1;
}

.pd-group-empty {
    font-size: 12px;
    color: var(--color-text-tertiary, #9ca3af);
}

.pd-multi-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-multi-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text-secondary, #374151);
    transition: background 0.1s;
}

.pd-multi-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.pd-multi-item.pd-multi-checked {
    color: var(--color-primary, #14b8a6);
}

.pd-multi-name {
    flex: 1;
}

.pd-multi-price {
    font-size: 12px;
    color: var(--color-text-tertiary, #6b7280);
}

.pd-multi-item.pd-multi-checked .pd-multi-price {
    color: var(--color-primary, #14b8a6);
}

/* ── TICKET/HOTEL 레이어 선택 (pd-layer-*) ──────────────────────────────── */
.pd-layer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-layer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border-light, #e5e7eb);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    background: var(--color-surface-elevated, #f9fafb);
}

.pd-layer-item:hover {
    border-color: var(--color-accent, #14b8a6);
    background: rgba(20, 184, 166, 0.04);
}

.pd-layer-item.pd-layer-selected {
    border-color: var(--color-accent, #14b8a6);
    background: rgba(20, 184, 166, 0.08);
}

.pd-layer-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary, #111827);
}

.pd-layer-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-tertiary, #6b7280);
}

.pd-layer-item.pd-layer-selected .pd-layer-name {
    color: var(--color-accent, #14b8a6);
    font-weight: 600;
}

.pd-layer-item.pd-layer-selected .pd-layer-price {
    color: var(--color-accent, #14b8a6);
}

.pd-layer-item.pd-layer-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f5f5f5;
}

.pd-layer-item.pd-layer-disabled:hover {
    border-color: #e0e0e0;
    background: #f5f5f5;
}

/* ── QUANTITY 옵션 (si-qty-*) ────────────────────────────────────────────── */
.si-qty-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.si-qty-unit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
}

.si-qty-label { font-weight: 500; }

.si-qty-unit-price {
    font-weight: 700;
    color: var(--color-accent, #6366f1);
}

.si-qty-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.si-qty-text {
    font-size: 13px;
    color: #888;
    min-width: 28px;
    flex: 1;
}

.si-qty-btn {
    width: 32px;
    height: 32px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .12s, border-color .12s;
    flex-shrink: 0;
}

.si-qty-btn:hover {
    background: #e2e8f0;
    border-color: var(--color-accent, #6366f1);
}

.si-qty-num {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #1e293b;
}

.si-qty-num:focus {
    outline: none;
    border-color: var(--color-accent, #6366f1);
}

.si-qty-subtotal {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent, #6366f1);
    text-align: right;
    min-height: 18px;
}

/* ── 호텔 숙박 일정 ──────────────────────────────────────────────────────────── */
.hotel-stay-section {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light, #e5e7eb);
}

.hotel-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.hotel-date-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotel-date-label {
    font-size: 11px;
    color: var(--color-text-secondary, #6b7280);
    font-weight: 500;
}

.hotel-date-input {
    width: 100%;
    padding: 7px 8px;
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 7px;
    font-size: 13px;
    color: var(--color-text-primary, #111827);
    background: #fff;
    cursor: pointer;
}

.hotel-date-input:focus {
    outline: none;
    border-color: var(--color-accent, #14b8a6);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.12);
}

/* ── 호텔 예약 캘린더 ────────────────────────────────────────────────────────── */
.hotel-cal-section {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light, #e5e7eb);
}

.hotel-room-sel {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 7px;
    font-size: 13px;
    color: var(--color-text-primary, #111827);
    background: #fff;
    margin: 8px 0 10px;
    cursor: pointer;
}

.hotel-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hotel-cal-btn {
    background: none;
    border: 1px solid var(--color-border-light, #e5e7eb);
    cursor: pointer;
    font-size: 12px;
    color: var(--color-accent, #14b8a6);
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.6;
}

.hotel-cal-btn:hover {
    background: rgba(20, 184, 166, 0.08);
}

.hotel-cal-month {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary, #111827);
}

.hotel-cal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-bottom: 8px;
}

.hotel-cal-table th {
    text-align: center;
    color: var(--color-text-secondary, #9ca3af);
    padding: 3px 0;
    font-weight: 500;
}

.hotel-cal-day {
    text-align: center;
    padding: 3px 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.1s;
}

.hotel-cal-day.past  { color: #d1d5db; cursor: default; }
.hotel-cal-day.full  { color: #d1d5db; cursor: not-allowed; }
.hotel-cal-day.low   { color: #e65100; cursor: pointer; font-weight: 600; }
.hotel-cal-day.ok    { color: #2e7d32; cursor: pointer; font-weight: 600; }

.hotel-cal-day.ok:hover,
.hotel-cal-day.low:hover { background: rgba(20, 184, 166, 0.1); }

.hotel-cal-day.sel-in,
.hotel-cal-day.sel-out {
    background: var(--color-accent, #14b8a6) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
}

.hotel-cal-day.in-range {
    background: rgba(20, 184, 166, 0.12);
    border-radius: 0;
    color: var(--color-accent, #14b8a6);
}

.hotel-cal-day-n {
    display: block;
    font-weight: 500;
    font-size: 12px;
}

.hotel-cal-day-s {
    display: block;
    font-size: 9px;
    opacity: 0.75;
    line-height: 1.2;
}

.hotel-cal-legend {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: var(--color-text-secondary, #6b7280);
    flex-wrap: wrap;
}

.hotel-cal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
    vertical-align: middle;
}

/* ── 호텔 flatpickr 인라인 캘린더 섹션 ──────────────────────────────────────── */
.pd-hotel-fp-section {
    /*padding: 14px 16px 10px;*/
}

.pd-hotel-fp-section .sidebar-field-label {
    margin-bottom: 8px;
}

.pd-hotel-cal-inline {
    width: 100%;
}

/* ── flatpickr 글로벌 테마 (호텔 인라인 캘린더) ─────────────────────────────── */
.pd-hotel-cal-inline .flatpickr-calendar {
    width: 100% !important;
    font-family: inherit;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.pd-hotel-cal-inline .flatpickr-calendar.arrowTop::before,
.pd-hotel-cal-inline .flatpickr-calendar.arrowTop::after,
.pd-hotel-cal-inline .flatpickr-calendar.arrowBottom::before,
.pd-hotel-cal-inline .flatpickr-calendar.arrowBottom::after {
    display: none;
}

.pd-hotel-cal-inline .flatpickr-month {
    background: transparent;
    height: 40px;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.pd-hotel-cal-inline .flatpickr-current-month {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e2c;
    padding: 0;
    position: static !important;
    left: auto !important;
    width: auto !important;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
}

.pd-hotel-cal-inline .flatpickr-current-month .numInputWrapper {
    order: 1;
    display: inline-flex;
    align-items: center;
    width: auto !important;
    overflow: visible;
}

.pd-hotel-cal-inline .flatpickr-current-month .numInputWrapper::after {
    content: '년';
    font-size: 14px;
    font-weight: 700;
    color: #1a2e2c;
    margin: 0 6px 0 1px;
}

.pd-hotel-cal-inline .flatpickr-current-month .flatpickr-monthDropdown-months {
    order: 2;
    font-weight: 700;
    color: #1a2e2c;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: default;
    font-size: 14px;
    font-family: inherit;
}

.pd-hotel-cal-inline .flatpickr-current-month input.cur-year {
    font-weight: 700;
    color: #1a2e2c;
    width: 38px !important;
}

.pd-hotel-cal-inline .flatpickr-current-month .numInputWrapper .arrowUp,
.pd-hotel-cal-inline .flatpickr-current-month .numInputWrapper .arrowDown {
    display: none;
}

.pd-hotel-cal-inline .flatpickr-prev-month,
.pd-hotel-cal-inline .flatpickr-next-month {
    position: static !important;
    top: auto !important;
    width: 36px;
    height: 40px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #14b8a6 !important;
    fill: #14b8a6 !important;
}

/* 이전 달 버튼이 비활성화되어도 공간 유지 */
.pd-hotel-cal-inline .flatpickr-prev-month.flatpickr-disabled,
.pd-hotel-cal-inline .flatpickr-next-month.flatpickr-disabled {
    visibility: hidden;
}

.pd-hotel-cal-inline .flatpickr-weekdays {
    background: transparent;
    margin-top: 6px;
}

.pd-hotel-cal-inline .flatpickr-weekday {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: transparent;
}

.pd-hotel-cal-inline .flatpickr-innerContainer,
.pd-hotel-cal-inline .flatpickr-rContainer,
.pd-hotel-cal-inline .flatpickr-weekdays,
.pd-hotel-cal-inline .flatpickr-weekdaycontainer,
.pd-hotel-cal-inline .flatpickr-days,
.pd-hotel-cal-inline .flatpickr-days .dayContainer {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
}

.pd-hotel-cal-inline .flatpickr-days .dayContainer {
    overflow: hidden;
}

.pd-hotel-cal-inline .flatpickr-day {
    width: calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    color: #334155;
    border: none;
}

.pd-hotel-cal-inline .flatpickr-day.flatpickr-disabled,
.pd-hotel-cal-inline .flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    background: transparent !important;
    cursor: not-allowed;
}

.pd-hotel-cal-inline .flatpickr-day:not(.flatpickr-disabled):hover {
    background: rgba(20, 184, 166, 0.15);
    color: #065f5a;
}

.pd-hotel-cal-inline .flatpickr-day.selected,
.pd-hotel-cal-inline .flatpickr-day.selected:hover,
.pd-hotel-cal-inline .flatpickr-day.startRange,
.pd-hotel-cal-inline .flatpickr-day.endRange,
.pd-hotel-cal-inline .flatpickr-day.startRange:hover,
.pd-hotel-cal-inline .flatpickr-day.endRange:hover {
    background: linear-gradient(135deg, #14b8a6, #059669) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 700;
}

.pd-hotel-cal-inline .flatpickr-day.today:not(.selected):not(.startRange):not(.endRange) {
    border: 2px solid #14b8a6;
    color: #14b8a6;
    font-weight: 700;
    background: transparent;
}

.pd-hotel-cal-inline .flatpickr-day.prevMonthDay,
.pd-hotel-cal-inline .flatpickr-day.nextMonthDay {
    color: #e2e8f0;
}

.pd-hotel-cal-inline .flatpickr-day.inRange {
    background: rgba(20, 184, 166, 0.15) !important;
    border: none !important;
    color: #065f5a !important;
    border-radius: 0 !important;
    box-shadow: -5px 0 0 rgba(20, 184, 166, 0.15), 5px 0 0 rgba(20, 184, 166, 0.15) !important;
}

/* 체크인/체크아웃 표시 */
.pd-hotel-date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0 4px;
    flex-wrap: wrap;
}

.pd-hotel-date-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 80px;
}

.pd-hotel-date-label {
    font-size: 11px;
    color: var(--color-text-secondary, #6b7280);
    font-weight: 500;
}

.pd-hotel-date-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary, #111827);
}

.pd-hotel-date-sep {
    font-size: 14px;
    color: var(--color-text-secondary, #9ca3af);
    flex-shrink: 0;
    padding-top: 14px;
}

.pd-hotel-nights-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent, #14b8a6);
    background: rgba(20, 184, 166, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    align-self: flex-end;
    margin-bottom: 2px;
}

/* 모바일 모달 체크인/체크아웃 표시 */
.pd-hotel-modal-date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--color-surface, #f9fafb);
    border-radius: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* ── 방타입 카드 (pd-room-*) ──────────────────────────────────────────────── */
.pd-room-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pd-room-card {
    border: 1.5px solid var(--color-border-light, #e5e7eb);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.pd-room-card:hover {
    border-color: var(--color-accent, #14b8a6);
}

.pd-room-card.pd-room-selected {
    border-color: var(--color-accent, #14b8a6);
    background: rgba(20, 184, 166, 0.05);
}

.pd-room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.pd-room-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary, #111827);
    flex: 1;
}

.pd-room-card.pd-room-selected .pd-room-name {
    color: var(--color-accent, #14b8a6);
}

.pd-room-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent, #14b8a6);
    white-space: nowrap;
}

.pd-room-desc {
    font-size: 12px;
    color: var(--color-text-secondary, #6b7280);
    margin-top: 4px;
    line-height: 1.5;
}

.pd-room-count-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border-light, #e5e7eb);
}

.pd-room-count-label {
    font-size: 13px;
    color: var(--color-text-secondary, #6b7280);
    flex: 1;
}

.pd-room-count-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-room-count-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: border-color 0.15s, background 0.15s;
}

.pd-room-count-btn:hover {
    background: var(--color-surface, #f9fafb);
    border-color: var(--color-accent, #14b8a6);
}

.pd-room-count-val {
    font-size: 15px;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
    color: var(--color-text-primary, #111827);
}

/* ── 방타입 카운터 행 active 강조 ────────────────────────────────────────────── */
.people-row.pd-room-type-active .people-label {
    color: var(--color-accent, #14b8a6);
    font-weight: 600;
}

/* description 서브 텍스트 */
.people-sub {
    font-size: 12px;
    color: var(--color-text-secondary, #6b7280);
    line-height: 1.4;
    margin-top: 1px;
}

/* 객실 타입 재고 표시 */
.pd-inv-ok  { font-size: 12px; color: #16a34a; }
.pd-inv-low { font-size: 12px; color: #d97706; font-weight: 500; }
.pd-inv-full { font-size: 12px; color: #dc2626; font-weight: 600; }

/* 호텔 갤러리 페이지에서는 info-highlight-card가 갤러리 아래에 자연스럽게 위치 */
.hotel-gallery ~ .sale-detail-layout .info-highlight-card {
    margin-top: 0;
}

/* ============================================
   호텔 갤러리 히어로
   ============================================ */
.hotel-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6px;
    height: 360px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 32px;
}

.hotel-gallery-main {
    overflow: hidden;
}

.hotel-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.hotel-gallery-main-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-surface, #f9fafb);
}

.hotel-gallery-main:hover .hotel-gallery-main-img {
    transform: scale(1.03);
}

.hotel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
}

.hotel-gallery-cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hotel-gallery-cell-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.hotel-gallery-cell:hover .hotel-gallery-cell-img {
    transform: scale(1.05);
}

.hotel-gallery-cell-empty {
    background: var(--color-surface, #f3f4f6);
    cursor: default;
}

.hotel-gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    pointer-events: none;
}

/* ============================================
   호텔 갤러리 라이트박스
   ============================================ */
.hotel-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.hotel-lightbox-overlay.hotel-lightbox-open {
    display: flex;
}

.hotel-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.hotel-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    z-index: 9001;
}

.hotel-lightbox-close:hover { opacity: 1; }

.hotel-lightbox-prev,
.hotel-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9001;
    line-height: 1;
    transition: background 0.15s;
}

.hotel-lightbox-prev { left: 16px; }
.hotel-lightbox-next { right: 16px; }

.hotel-lightbox-prev:hover,
.hotel-lightbox-next:hover { background: rgba(255, 255, 255, 0.3); }

.hotel-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

/* 캐러셀 버튼 — 데스크탑에서 숨김 */
.hotel-carousel-prev,
.hotel-carousel-next {
    display: none;
}

.hotel-carousel-counter {
    display: none;
}

@media (max-width: 768px) {
    /* 갤러리 full-bleed: 섹션 패딩 밖으로 확장 */
    .hotel-gallery {
        grid-template-columns: 1fr;
        height: 300px;
        margin: -24px -16px 16px;
        border-radius: 0;
        position: relative;
        border: none;
        box-shadow: none;
    }

    /* 그리드 숨김 — 캐러셀로 대체 */
    .hotel-gallery-grid {
        display: none;
    }

    /* 캐러셀 화살표 */
    .hotel-carousel-prev,
    .hotel-carousel-next {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.3);
        border: none;
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 10;
        line-height: 1;
    }

    .hotel-carousel-prev { left: 12px; }
    .hotel-carousel-next { right: 12px; }

    /* 이미지 카운터 */
    .hotel-carousel-counter {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.4);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        padding: 2px 10px;
        border-radius: 10px;
        pointer-events: none;
    }

    .hotel-lightbox-prev { left: 8px; }
    .hotel-lightbox-next { right: 8px; }
}

/* ============================================
   재고 상태 표시 (TICKET / PACKAGE)
   ============================================ */
.inventory-status {
    font-size: 13px;
    color: #2e7d32;
    margin-top: 6px;
    font-weight: 500;
}

.inventory-status.insufficient {
    color: #c62828;
}


