/**
 * 국내선 항공 검색 페이지 - Figma 디자인 기반 스타일
 */

* {
    box-sizing: border-box;
}

/* CSS 변수 */
:root {
    --primary-color: #e81057;
    --primary-hover: #d00e4f;
    --text-dark: #2a2a2a;
    --text-gray: #555555;
    --text-light: #777777;
    --text-placeholder: #bbbbbb;
    --border-color: #e5e5e5;
    --bg-white: #ffffff;
    --bg-light: #f3f3f3;
    --bg-gray: #eeeeee;
}

/* 컨테이너 */
.air-search-container {
    width: 100%;
    max-width: 100%;
    background-color: #f8f8f8;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 50px;
}

/* ==================== 히어로 섹션 ==================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 80px 0px 40px;
}

.hero-text {
    margin-bottom: 40px;
    color: var(--bg-white);
}

.hero-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 33.6px;
    letter-spacing: -0.56px;
    margin: 0 0 8px 87px;
    color: var(--bg-white);
}

.hero-subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 20.4px;
    letter-spacing: -0.68px;
    margin: 0 0 0 87px;
    color: var(--bg-white);
}

/* 검색 폼 박스 - 피그마 Group 16 디자인 */
.search-form-box {
    background: #ffffff;
    border-radius: 5px;
    width: 1200px;
    max-width: 100%;
    height: 150px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    padding: 0;
}

/* 다구간일 때 높이 자동 조정 */
#airSearchForm.multi-city-mode {
    height: 470px;
    min-height: 190px;
    padding-bottom: 20px;
}

/* 여정 선택 - 피그마 디자인 */
.trip-type-selector {
    display: flex;
    gap: 0;
    margin: 0;
    background: transparent;
    padding: 0;
    align-items: center;
    position: absolute;
    top: 27px;
    left: 30px;
    height: 18px;
    z-index: 10;
}

.trip-type-btn {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #000000;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 18px;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    height: 18px;
}

.trip-type-btn input[type="radio"] {
    display: none;
}

.trip-type-btn span {
    display: inline-block;
}

.trip-type-btn:hover {
    color: #e81057;
}

.trip-type-btn.active {
    color: #e81057;
    font-weight: 700;
}

.trip-type-btn:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
    color: #000000;
}

/* 검색 필드 한 줄 배치 */
.search-fields-row {
    display: flex;
    align-items: center;
    padding: 0 25px;
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
    box-sizing: border-box;
    z-index: 11;
    gap: 10px;
}

/* 다구간일 때 세로 배치 */
#airSearchForm.multi-city-mode .search-fields-row {
    flex-direction: column;
    align-items: stretch;
}

/* 다구간일 때 passenger-item과 btn-search width 50% */
#airSearchForm.multi-city-mode .passenger-item,
#airSearchForm.multi-city-mode .btn-search {
    width: 49.4%;
}

/* 출발지/도착지 - 피그마 디자인 (한 블록) */
.route-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    height: 70px;
}

.route-item {
    position: relative;
    flex-shrink: 0;
}

.route-item:first-child {
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
}

.route-item:last-child {
    width: 340px;
    min-width: 340px;
    flex-shrink: 0;
}

.input-wrapper {
    width: 100%;
    display: flex;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.input-wrapper input[type="text"] {
    width: 100%;
    max-width: 100%;
    height: 70px;
    padding: 0 16px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-wrapper input[type="text"]:hover,
.input-wrapper input[type="text"]:focus {
    outline: none;
}

.selected-name {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: #000000;
    pointer-events: auto;
    cursor: pointer;
    z-index: 2;
    white-space: nowrap;
}

#arrAirportName{
    left: 210px;
} 
.input-wrapper input[type="text"]::placeholder {
    color: var(--text-placeholder);
}

/* 교환 버튼 - 피그마 디자인 */
.swap-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #eeeeee;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    align-self: center;
    padding: 0;
}

.swap-btn:hover {
    background: #e5e5e5;
}

.swap-icon {
    width: 13px;
    height: 12px;
    display: block;
    object-fit: contain;
}

/* 날짜 및 인원 행 - 피그마 디자인 */
.date-passenger-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    height: 70px;
    flex: 1;
    min-width: 0;
    z-index: 12;
}

.inline-datepicker-container .ui-widget.ui-widget-content{
    border: none;
}

/* 편도 선택 시 레이아웃 (01_05메인 편도) */
.date-passenger-row.one-way .return-date {
    display: none !important;
}

/* 다구간 선택 시 레이아웃 (01_06메인_다구간) */
.date-passenger-row.multi-city {
    flex-wrap: wrap;
}

/* 다구간일 때 일반 날짜 선택 필드 숨김 */
.date-passenger-row.multi-city .date-item.combined-date-item {
    display: none !important;
}

#airSearchForm.multi-city-mode .date-item.combined-date-item {
    display: none !important;
}



/* 다구간 컨테이너 */
.multi-city-container {
    width: 100%;
    margin-bottom: 12px;
}

.multi-city-segments {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.multi-city-segment {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
}

.segment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.segment-number {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.segment-route-wrapper {
    display: flex;
    gap: 12px;
    flex: 1;
    height: 70px;
}

.segment-airport-input {
    position: relative;
    flex: 1;
    min-width: 0;
}

.segment-airport-input input[type="text"] {
    width: 100%;
    height: 70px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.segment-airport-input input[type="text"]:hover {
    border-color: var(--primary-color);
}

.segment-airport-input .selected-name {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    pointer-events: none;
    z-index: 2;
}

/* 다구간 교환 버튼 */
.segment-swap-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
    background: #e5e5e5;
    border-radius: 30px;
}


.segment-date-wrapper {
    position: relative;
    width: 340px;
    min-width: 340px;
    flex-shrink: 0;
    height: 70px;
    cursor: pointer;
}

.segment-date-wrapper input[type="date"] {
    width: 100%;
    height: 70px;
    padding: 0 50px 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-sizing: border-box;
    margin: 0;
}

.segment-date-wrapper input[type="date"]:hover {
    border-color: var(--primary-color);
}

.segment-date-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    z-index: 3;
    width: 14px;
    height: 15px;
}

.segment-date-wrapper input[type="date"]::-webkit-datetime-edit {
    display: none;
}

.segment-date-wrapper input[type="date"]::-webkit-inner-spin-button,
.segment-date-wrapper input[type="date"]::-webkit-clear-button {
    display: none;
}

.segment-date-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 10;
}

.segment-date-display {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    pointer-events: none;
    z-index: 1000;
}

.segment-date-display:empty:before {
    content: '날짜 선택';
    color: var(--text-placeholder);
}

.btn-remove-segment {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.btn-remove-segment:hover {
    color: var(--primary-color);
}

/* 구간 추가 버튼 제거 (국내 항공권은 2구간만 가능) */
.btn-add-segment {
    display: none !important;
}

.date-item {
    position: relative;
    flex-shrink: 0;
}

.date-item:first-child {
    flex-shrink: 0;
}

.date-item.combined-date-item {
    width: 340px;
    min-width: 340px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.date-item.return-date {
    width: 340px;
    min-width: 340px;
    flex-shrink: 0;
}

/* 다구간 선택 시 날짜 필드 하나만 표시 */
.date-passenger-row.multi-city .date-item:first-child {
    width: 340px;
    min-width: 340px;
    flex-shrink: 0;
}

.date-passenger-row.multi-city .date-item.return-date {
    display: none !important;
}

.date-input-wrapper {
    position: relative;
    width: 100%;
    height: 70px;
    cursor: pointer;
    align-content: center;    
}

.date-input-wrapper input[type="date"] {
    width: 100%;
    height: 70px;
    padding: 0 50px 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-sizing: border-box;
    margin: 0;
}

.date-input-wrapper:hover input[type="date"],
.date-input-wrapper:focus-within input[type="date"] {
    border-color: var(--primary-color);
}

.date-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    width: 14px;
    height: 15px;
    object-fit: contain;
}

.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    z-index: 3;
    width: 14px;
    height: 15px;
}

.date-input-wrapper input[type="date"]::-webkit-datetime-edit {
    display: none;
}

.date-input-wrapper input[type="date"]::-webkit-inner-spin-button,
.date-input-wrapper input[type="date"]::-webkit-clear-button {
    display: none;
}

.date-input-wrapper input[type="date"]:hover,
.date-input-wrapper input[type="date"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.date-display {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50px;
    display: flex;
    align-items: center;
    padding-left: 40px;
    z-index: 1000;
    font-size: 17px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    width: 100%;
}

.date-display:empty:before {
    content: '날짜 선택';
    color: var(--text-placeholder);
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
}

.date-display .date-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.date-display .date-separator {
    margin: 0 8px;
    color: #000000;
}

.passenger-item {
    width: 320px;
    min-width: 320px;
    flex-shrink: 0;
    position: relative;
}

.passenger-input-wrapper {
    width: 100%;
    height: 70px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.passenger-input-wrapper:hover {
    border-color: var(--primary-color);
}

.passenger-input-wrapper.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 16, 87, 0.1);
}

.passenger-icon {
    width: 14px;
    height: 19px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.passenger-display {
    flex: 1;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: #000000;
    line-height: 20.4px;
}

.passenger-option {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: #000000;
    flex-shrink: 0;
    line-height: 20.4px;
}

/* 인원/좌석 모달 배경 오버레이 (모바일 전용) */
#passengerOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9000; /* 헤더/푸터 포함 전체 덮기 */
}
#passengerOverlay.active {
    display: block;
}

/* 인원 선택 드롭다운 (01_04메인 인원선택) */
.passenger-dropdown {
    width: 650px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.passenger-dropdown .dropdown-menu.active,
.passenger-input-wrapper.active + .passenger-dropdown,
.passenger-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    width: 100%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.dropdown-menu.active {
    max-height: 800px;
    padding: 0;
    display: block;
    animation: dropdownSlideIn 0.2s ease;
}

/* 드롭다운 헤더 */
.passenger-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.passenger-dropdown-header h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.passenger-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.passenger-close-btn:hover {
    color: var(--text-dark);
}

/* 드롭다운 컨텐츠 */
.passenger-dropdown-content {
    display: flex;
    padding: 24px;
    gap: 40px;
}

/* 인원 선택 섹션 */
.passenger-selection-section {
    flex: 1;
}

.passenger-selection-section h4,
.seat-class-selection-section h4 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

/* 좌석등급 선택 섹션 */
.seat-class-selection-section {
    flex: 1;
}

.seat-class-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seat-class-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--bg-white);
}

.seat-class-option:hover {
    border-color: var(--primary-color);
    background-color: #fff5f8;
}

.seat-class-option input[type="radio"] {
    display: none;
}

.seat-class-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.seat-class-option input[type="radio"]:checked ~ .seat-class-option,
.seat-class-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: #f0f0f0;
}

.seat-class-option span {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.seat-class-option:has(input[type="radio"]:checked) {
    background-color: #f0f0f0;
    border-color: #e5e5e5;
}

.seat-class-option:has(input[type="radio"]:checked) span {
    color: var(--text-dark);
    font-weight: 500;
}

/* 안내 문구 */
.passenger-info-text {
    padding: 20px 24px;
    border-top: 1px solid var(--bg-light);
    background-color: #fafafa;
}

.passenger-info-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.passenger-info-text li {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}

.passenger-info-text li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.passenger-info-text li:last-child {
    margin-bottom: 0;
}

/* 적용 버튼 */
.dropdown-menu .btn-confirm {
    margin: 0;
    border-radius: 0;
    background-color: #555555;
    font-size: 16px;
    font-weight: 600;
    padding: 16px;
}

.dropdown-menu .btn-confirm:hover {
    background-color: #444444;
}

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

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bg-light);
    transition: background-color 0.2s ease;
}

.passenger-row:last-of-type {
    border-bottom: none;
}

.passenger-info strong {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.passenger-info small {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: var(--text-light);
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-white);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter input[type="number"] {
    width: 36px;
    text-align: center;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: none;
}

.btn-confirm {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm:hover {
    background-color: var(--primary-hover);
}

/* 검색 버튼 - 피그마 디자인 */
.btn-search {
    width: 120px;
    min-width: 120px;
    height: 70px;
    background-color: #e81057;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 20.4px;
    letter-spacing: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background-color: #d00e4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 16, 87, 0.3);
}

/* ==================== 프로모션 섹션 ==================== */
.promotion-section {
    padding: 40px 20px;
    background-color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.6px;
    color: var(--text-dark);
    margin: 0;
}
.hotel-recommend-section .section-title{
    margin-bottom: 24px;
}

.view-all-link {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: -0.14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary-color);
}

.promotion-slider {
    position: relative;
    overflow: hidden;
}

.promotion-track {
    display: flex;
    gap: 16px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 12%;
    box-sizing: border-box;
    scroll-padding: 0 12%;
}

.promotion-track::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#promoPrevBtn { left: 8px; }
#promoNextBtn { right: 8px; }

.promotion-card {
    flex: 0 0 76%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.promotion-card:hover {
    transform: translateY(-4px);
}

.promo-image {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #d9d9d9;
    background-size: cover;
    background-position: center;
    position: relative;
}

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

.promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.promo-content {
    position: static;
    padding: 14px 16px;
    background: #fff;
}

.promo-subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0 0 6px 0;
    color: var(--text-light);
}

.promo-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.promo-price {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.promo-price small {
    font-size: 12px;
    font-weight: 400;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

/* ==================== 인기 숙소 추천 섹션 ==================== */
.hotel-recommend-section {
    padding: 40px 20px;
    background-color: var(--bg-white);
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hotel-card {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: var(--bg-white);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hotel-image {
    width: 100%;
    height: 189px;
    overflow: hidden;
    background-color: #d9d9d9;
    background-size: cover;
    background-position: center;
}

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

.hotel-info {
    padding: 16px;
}

.hotel-tag {
    display: inline-block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #e81057;
    background: rgba(232, 16, 87, 0.08);
    border: 1px solid rgba(232, 16, 87, 0.25);
    border-radius: 5px;
    padding: 3px 10px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.hotel-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    letter-spacing: -0.16px;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.hotel-price {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.8px;
    letter-spacing: -0.14px;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hotel-sale {
    display: inline-block;
    background: #e81057;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1.4;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

/* 날짜 선택 모달 (01_03메인_날짜선택) */
.date-modal-content {
    max-width: 400px;
}

/* 날짜 선택 모달 - 1200px 이하에서 밑에서 위로 올라오는 스타일 */
@media (max-width: 768px) {
    #dateModal {
        display: none;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom);
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        -webkit-overflow-scrolling: touch;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100vh;
        height: -webkit-fill-available;
        z-index: 99999 !important;
        margin: 0;
    }
    
    #dateModal.active {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
    
    #dateModal .date-modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
        max-height: 90vh;
        max-height: calc(90vh - env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        background: #ffffff;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }
    
    #dateModal.active .date-modal-content {
        transform: translateY(0) !important;
        -webkit-transform: translateY(0) !important;
    }
    
    /* 모달이 닫힐 때 transform 초기화 */
    #dateModal:not(.active) .date-modal-content {
        transform: translateY(100%) !important;
        -webkit-transform: translateY(100%) !important;
        transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    }
    
    /* 인라인 datepicker 숨기기 (모달 사용 시) */
    .inline-datepicker-container {
        left: unset!important;
        right: 0;
    }
    
    #datepickerContainer .ui-datepicker {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* 인라인 캘린더 컨테이너 */
.inline-datepicker-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    margin-top: 8px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    width: 680px;
    overflow: visible;
}

/* 769px 이상에서 인라인 캘린더 표시 */
@media (min-width: 769px) {
    .inline-datepicker-container.show {
        display: block !important;
    }
}

/* 다구간 구간별 날짜 달력 컨테이너 */
.multi-city-segment .inline-datepicker-container {
    left: 520px;
}

.inline-datepicker-container .ui-datepicker-multi {
    width: 100%;
    overflow: visible;
    position: relative;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker {
    width: 50%;
    float: left;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
    border: none;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child {
    border-right: none;
    padding-right: 24px;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child {
    padding-left: 24px;
    padding-right: 0;
    position: relative;
    overflow: visible;
}

.inline-datepicker-container .ui-datepicker-multi::after {
    content: "";
    display: table;
    clear: both;
}

.inline-datepicker-container .ui-datepicker {
    width: 100% !important;
    border: none;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    background: transparent;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker {
    width: 50% !important;
}

.inline-datepicker-container .ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.ui-datepicker td span{
    text-align: center!important;
}

.inline-datepicker-container .ui-datepicker-calendar {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.inline-datepicker-container .ui-datepicker-calendar td,
.inline-datepicker-container .ui-datepicker-calendar th {
    padding: 4px;
    border: none;
}

.inline-datepicker-container .ui-datepicker-header {
    background: transparent;
    border: none;
    border-bottom: none;
    color: var(--text-dark);
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inline-datepicker-container .ui-datepicker-multi {
    position: relative;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker-header {
    margin-bottom: 20px;
    justify-content: center;
}

.inline-datepicker-container .ui-datepicker-title,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    line-height: 1.2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
}

/* 두 달력 모두 셀렉트 박스 표시 보장 */
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 두 달 캘린더의 전체 헤더 레이아웃 */
.inline-datepicker-container .ui-datepicker-multi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-header {
    padding-right: 0;
    border-right: none;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-header {
    padding-left: 0;
    padding-right: 30px;
    position: relative;
    overflow: visible;
}

/* 첫 번째 달의 이전 버튼을 왼쪽 끝으로 */
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* 두 번째 달의 다음 버튼을 오른쪽 끝으로 */
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-next {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 24px !important;
    height: 24px !important;
}

/* 첫 번째 달의 다음 버튼과 두 번째 달의 이전 버튼 숨기기 */
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-next,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-prev {
    display: none;
}

/* 드롭다운 스타일 개선 - 두 달력 모두 적용 */
.inline-datepicker-container .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%232a2a2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
    min-width: 100px;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.3px;
}

.inline-datepicker-container .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select:hover,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select:hover {
    border-color: var(--primary-color);
    background-color: #fff5f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23e81057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    box-shadow: 0 4px 12px rgba(232, 16, 87, 0.2);
    transform: translateY(-2px);
}

.inline-datepicker-container .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select:focus,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(232, 16, 87, 0.12), 0 4px 12px rgba(232, 16, 87, 0.2);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23e81057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 월 셀렉트 박스 */
.inline-datepicker-container .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select.ui-datepicker-month,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select.ui-datepicker-month {
    margin-right: 8px;
    min-width: 100px;
}

/* 년도 셀렉트 박스 - 더 예쁘게 커스텀 */
.inline-datepicker-container .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-group .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-group-first .ui-datepicker-title select.ui-datepicker-year,
.inline-datepicker-container .ui-datepicker-group-last .ui-datepicker-title select.ui-datepicker-year {
    margin-left: 8px;
    min-width: 110px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* 년월 텍스트 스타일 - 두 달력 모두 적용 */
.inline-datepicker-container .ui-datepicker-title,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.inline-datepicker-container .ui-datepicker-title .custom-month-year,
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker .ui-datepicker-title .custom-month-year {
    display: none; /* 드롭다운을 사용하므로 숨김 */
}

.inline-datepicker-container .ui-datepicker-multi {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title {
    text-align: center;
    justify-content: center;
}

.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child .ui-datepicker-title {
    text-align: center;
    justify-content: center;
}

/* 두 달 텍스트 사이 간격 */
.inline-datepicker-container .ui-datepicker-multi .ui-datepicker:first-child .ui-datepicker-title .custom-month-year::after {
    content: '';
    display: inline-block;
    width: 8px;
}

.inline-datepicker-container .ui-datepicker-prev,
.inline-datepicker-container .ui-datepicker-next {
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    transition: all 0.2s ease;
    position: relative;
    order: 1;
    padding: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    align-self: center;
    vertical-align: middle;
}

.inline-datepicker-container .ui-datepicker-prev {
    margin-right: auto;
}

.inline-datepicker-container .ui-datepicker-next {
    margin-left: auto;
    order: 3;
}

.inline-datepicker-container .ui-datepicker-prev:hover,
.inline-datepicker-container .ui-datepicker-next:hover {
    background: transparent;
    border: none;
    color: var(--primary-color);
}

.inline-datepicker-container .ui-datepicker-prev .ui-icon,
.inline-datepicker-container .ui-datepicker-next .ui-icon {
    width: 24px !important;
    height: 24px !important;
    background: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

/* 화살표 아이콘 스타일 */
.inline-datepicker-container .ui-datepicker-prev .ui-icon-circle-triangle-w,
.inline-datepicker-container .ui-datepicker-next .ui-icon-circle-triangle-e {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    text-indent: 0 !important;
    overflow: visible !important;
    background: none !important;
}

/* 커스텀 화살표 아이콘 */
.inline-datepicker-container .ui-datepicker-prev .ui-icon:before {
    content: '‹';
    font-size: 28px;
    line-height: 1;
    color: inherit;
    font-weight: 300;
    display: block;
    position: relative;
    top: 13px;
    left: 0;
    transform: none;
}

.inline-datepicker-container .ui-datepicker-next .ui-icon:before {
    content: '›';
    font-size: 28px;
    line-height: 1;
    color: inherit;
    font-weight: 300;
    display: block;
    position: relative;
    top: 13px;
    left: 0;
    transform: none;
}

/* 이전 월 버튼 비활성화 */
.inline-datepicker-container .ui-datepicker-prev.ui-state-disabled,
.inline-datepicker-container .ui-datepicker-prev.ui-state-disabled:hover {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
    border-color: #e5e5e5;
    color: #ccc;
}

.inline-datepicker-container .ui-datepicker-calendar th {
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 4px;
    font-size: 13px;
    border: none;
    text-align: center;
    width: 14.28%;
}

/* 일요일 빨간색 */
.inline-datepicker-container .ui-datepicker-calendar th:first-child {
    color: #ff0000;
}

.inline-datepicker-container .ui-datepicker-calendar td:first-child.ui-state-disabled a {
    color: #ff9999;
}

.inline-datepicker-container .ui-datepicker-calendar td:last-child.ui-state-disabled a {
    color: #99ccff;
}

.inline-datepicker-container .ui-datepicker-calendar td {
    padding: 4px;
    text-align: center;
    width: 14.28%;
    vertical-align: middle;
}

.inline-datepicker-container .ui-datepicker-calendar td a {
    text-align: center;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #000;
    background: transparent;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
}

.inline-datepicker-container .ui-datepicker-calendar td a:hover {
    background: #f0f0f0;
    color: #000;
}

/* 선택 가능한 날짜는 검은색 */
.inline-datepicker-container .ui-datepicker-calendar td:not(.ui-state-disabled):not(.past-date):not(.before-departure) a {
    color: #000;
}

/* 선택된 출발일 */
.inline-datepicker-container .ui-datepicker-calendar .selected-dep-date a,
.inline-datepicker-container .ui-datepicker-calendar td.selected-dep-date a {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 600;
}

/* 선택된 귀국일 */
.inline-datepicker-container .ui-datepicker-calendar .selected-ret-date a,
.inline-datepicker-container .ui-datepicker-calendar td.selected-ret-date a {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 600;
}

/* 출발일과 도착일 사이 날짜 배경색 제거 (디자인 변경) */
.inline-datepicker-container .ui-datepicker-calendar .date-range-between a,
.inline-datepicker-container .ui-datepicker-calendar td.date-range-between a {
    background: transparent !important;
    color: var(--text-dark) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
}

/* 출발일과 도착일 사이 날짜가 일요일인 경우 */
.inline-datepicker-container .ui-datepicker-calendar td.date-range-between.sunday a {
    color: #ff0000 !important;
    background: transparent !important;
}

/* 출발일과 도착일 사이 날짜 호버 효과 */
.inline-datepicker-container .ui-datepicker-calendar td.date-range-between a:hover {
    background: #f0f0f0 !important;
    color: var(--text-dark) !important;
}

/* 선택된 일요일 - 흰색 글자 */
.inline-datepicker-container .ui-datepicker-calendar .selected-sunday a,
.inline-datepicker-container .ui-datepicker-calendar td.selected-sunday a {
    color: white !important;
}

/* 선택된 출발일이 일요일인 경우 */
.inline-datepicker-container .ui-datepicker-calendar td.selected-dep-date.selected-sunday a,
.inline-datepicker-container .ui-datepicker-calendar td.selected-dep-date.sunday a,
.inline-datepicker-container .ui-datepicker-calendar .selected-dep-date.selected-sunday a,
.inline-datepicker-container .ui-datepicker-calendar .selected-dep-date.sunday a {
    color: white !important;
}

/* 선택된 귀국일이 일요일인 경우 */
.inline-datepicker-container .ui-datepicker-calendar td.selected-ret-date.selected-sunday a,
.inline-datepicker-container .ui-datepicker-calendar td.selected-ret-date.sunday a,
.inline-datepicker-container .ui-datepicker-calendar .selected-ret-date.selected-sunday a,
.inline-datepicker-container .ui-datepicker-calendar .selected-ret-date.sunday a {
    color: white !important;
}

/* 일요일 열의 선택된 날짜도 흰색 */
.inline-datepicker-container .ui-datepicker-calendar td:first-child.selected-dep-date a,
.inline-datepicker-container .ui-datepicker-calendar td:first-child.selected-ret-date a {
    color: white !important;
}

/* 일요일 클래스 추가 */
.inline-datepicker-container .ui-datepicker-calendar td.sunday a {
    color: #ff0000;
}

.inline-datepicker-container .ui-datepicker-calendar td.sunday.ui-state-disabled a {
    color: #ff9999;
}

.inline-datepicker-container .ui-datepicker-calendar .ui-state-active {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    border-radius: 50%;
    font-weight: 600;
}

.inline-datepicker-container .ui-datepicker-calendar .ui-state-disabled {
    opacity: 1;
    cursor: not-allowed;
}

.inline-datepicker-container .ui-datepicker-calendar .ui-state-disabled a {
    color: #999;
    background: transparent;
}

.inline-datepicker-container .ui-datepicker-calendar .past-date {
    color: #999;
    background-color: transparent;
    cursor: not-allowed;
}

.inline-datepicker-container .ui-datepicker-calendar .before-departure {
    color: #999;
    background-color: transparent;
    cursor: not-allowed;
}

/* ui-state-highlight 제거 (오늘 날짜 하이라이트) */
.inline-datepicker-container .ui-datepicker-calendar .ui-state-highlight,
.inline-datepicker-container .ui-datepicker-calendar td.ui-state-highlight a {
    background: transparent;
    border: none;
    color: inherit;
}
.ui-state-default {
    height: 30px;
    text-align: center;
    align-content: center;
}

/* 선택된 날짜 범위 표시 (왕복일 때) */
.inline-datepicker-container .ui-datepicker-calendar td.ui-datepicker-range-start a,
.inline-datepicker-container .ui-datepicker-calendar td.ui-datepicker-range-end a {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 600;
}

/* 날짜 선택 범위 배경 제거 (디자인 변경) */
.inline-datepicker-container .ui-datepicker-calendar td.ui-datepicker-range-between a {
    background: transparent !important;
    color: var(--text-dark) !important;
    border-radius: 50% !important;
}

#datepickerContainer .ui-datepicker {
    width: 100% !important;
    border: none;
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
}

#datepickerContainer .ui-datepicker-header {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#datepickerContainer .ui-datepicker-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
}

#datepickerContainer .ui-datepicker-prev,
#datepickerContainer .ui-datepicker-next {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

#datepickerContainer .ui-datepicker-prev:hover,
#datepickerContainer .ui-datepicker-next:hover {
    background: transparent;
    color: var(--primary-color);
}

#datepickerContainer .ui-datepicker-calendar th {
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 4px;
    font-size: 13px;
    border: none;
    text-align: center;
}

/* 일요일 빨간색 */
#datepickerContainer .ui-datepicker-calendar th:first-child {
    color: #ff0000;
}

#datepickerContainer .ui-datepicker-calendar td a {
    text-align: center;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #000;
    background: transparent;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
}

#datepickerContainer .ui-datepicker-calendar td a:hover {
    background: #f0f0f0;
    color: #000;
}

/* 선택 가능한 날짜는 검은색 */
#datepickerContainer .ui-datepicker-calendar td:not(.ui-state-disabled):not(.past-date):not(.before-departure) a {
    color: #000;
}

#datepickerContainer .ui-datepicker-calendar .ui-state-active {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    border-radius: 50% !important;
    font-weight: 600;
}

#datepickerContainer .ui-datepicker-calendar .ui-state-disabled {
    opacity: 1;
    cursor: not-allowed;
}

#datepickerContainer .ui-datepicker-calendar .ui-state-disabled a {
    color: #999;
    background: transparent;
}

#datepickerContainer .ui-datepicker-calendar .past-date {
    color: #999;
    background-color: transparent;
    cursor: not-allowed;
}

#datepickerContainer .ui-datepicker-calendar .before-departure {
    color: #999;
    background-color: transparent;
    cursor: not-allowed;
}

/* 일요일 빨간색 */
#datepickerContainer .ui-datepicker-calendar td:first-child a {
    color: #ff0000;
}

#datepickerContainer .ui-datepicker-calendar td:first-child.ui-state-disabled a {
    color: #ff9999;
}

/* 선택된 일요일 - 흰색 글자 */
#datepickerContainer .ui-datepicker-calendar td:first-child.ui-state-active a {
    color: white !important;
}

/* 모달용 selectbox 스타일 */
#datepickerContainer .ui-datepicker-title select {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%232a2a2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 9px;
    min-width: 100px;
    height: 42px;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.3px;
}

#datepickerContainer .ui-datepicker-title select:hover {
    border-color: var(--primary-color);
    background-color: #fff5f8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23e81057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    box-shadow: 0 4px 12px rgba(232, 16, 87, 0.2);
    transform: translateY(-2px);
}

#datepickerContainer .ui-datepicker-title select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(232, 16, 87, 0.12), 0 4px 12px rgba(232, 16, 87, 0.2);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23e81057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#datepickerContainer .ui-datepicker-title select.ui-datepicker-month {
    margin-right: 8px;
    min-width: 100px;
        line-height: 19px;
}

#datepickerContainer .ui-datepicker-title select.ui-datepicker-year {
    margin-left: 8px;
    min-width: 110px;
    font-weight: 700;
    letter-spacing: -0.3px;
        line-height: 19px;
}
.date-modal-content .modal-body{
    padding: 0px 20px 24px !important;

}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
    top: 0px !important;
}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{
    top : 80% !important;
}
/* ui-state-highlight 제거 (오늘 날짜 하이라이트) */
#datepickerContainer .ui-datepicker-calendar .ui-state-highlight,
#datepickerContainer .ui-datepicker-calendar td.ui-state-highlight a {
    background: transparent;
    border: none;
    color: inherit;
}

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

.modal-header h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 0px 20px 24px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* 모달 스크롤바 스타일 */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox 스크롤바 스타일 */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* 공항 선택 모달 (01_02메인_지역선택) */
.airport-modal-content {
    max-width: 600px;
}

.airport-search-wrapper {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.airport-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.airport-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 16, 87, 0.1);
}

.airport-search-input::placeholder {
    color: var(--text-placeholder);
}

.airport-list {
    display: grid;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

/* 공항 목록 스크롤바 스타일 */
.airport-list::-webkit-scrollbar {
    width: 6px;
}

.airport-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
    margin: 8px 0;
}

.airport-list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.airport-list::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

/* Firefox 스크롤바 스타일 */
.airport-list {
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 #f5f5f5;
}

.airport-item {
    position: relative;
    padding: 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
    transform: translateX(0);
}

.airport-item:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.airport-item.selected {
    background-color: #f0f4ff;
    border-color: var(--primary-color);
    border-width: 2px;
}

.airport-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    pointer-events: none;
}

.airport-item.disabled:hover {
    background-color: #f5f5f5;
    border-color: var(--border-color);
    transform: translateX(0);
}

.airport-item.disabled .airport-code,
.airport-item.disabled .airport-name {
    color: #999;
}

.airport-disabled-text {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.airport-item.matched {
    animation: highlightMatch 0.3s ease;
}

@keyframes highlightMatch {
    0% {
        background-color: rgba(232, 16, 87, 0.1);
    }
    100% {
        background-color: var(--bg-white);
    }
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
}

.airport-item .airport-code {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.airport-item .airport-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: var(--text-gray);
}

.airport-check {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* ==================== 반응형 - PC ==================== */
@media (min-width: 1025px) {
    .promotion-track {
        padding: 0 4%;
        scroll-padding: 0 4%;
    }

    .promotion-card {
        flex: 0 0 calc(33.333% - 12px);
    }

    .promotion-card .promo-image {
        height: 200px;
    }

    .promotion-card .promo-content {
        padding: 16px 18px;
    }

    .promotion-card .promo-title {
        font-size: 17px;
    }
}

/* ==================== 반응형 - 태블릿 ==================== */
@media (max-width: 1024px) {
    .hero-content {
        padding: 60px 20px 30px;
    }
    
    .hero-title {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: 0;
        text-align: center;
    }
    
    .search-form-box {
        width: 100%;
        max-width: 100%;
    }
    
    .hotel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .promotion-card {
        flex: 0 0 76%;
    }
}

/* ==================== 반응형 - 모바일 ==================== */
@media (max-width: 1220px) {
    .air-search-container {
        background-color: #ffffff;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-background {
        background-position: center center;
    }
    
    .hero-content {
        padding: 30px 16px 20px;
    }
    
    .hero-text {
        margin-bottom: 24px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 28px;
        letter-spacing: -0.44px;
        margin: 0 0 8px 0;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.28px;
        margin: 0;
        text-align: center;
    }
    
    /* 검색 폼 박스 모바일 */
    .search-form-box {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .passenger-item,.btn-search {
        width: 100%;
        min-width: 100%;
    }

    /* 여정 선택 버튼 */
    .trip-type-selector {
        position: static;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        justify-content: center;
        padding: 0;
    }
    
    .trip-type-btn {
        font-size: 14px;
        margin-right: 16px;
        height: auto;
    }
    
    /* 검색 필드 행 */
    .search-fields-row {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }
    
    /* 출발지/도착지 선택 */
    .route-selector {
        flex-direction: column;
        gap: 12px;
        height: auto;
        width: 100%;
    }
    
    .route-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1 !important;
        box-sizing: border-box !important;
    }
    
    .route-item:first-child,
    .route-item:last-child {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .input-wrapper input[type="text"] {
        height: 50px;
        font-size: 15px;
        margin: 1px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 16px !important;
    }
    
    .selected-name {
        font-size: 15px;
        left: 16px;
        max-width: calc(100% - 32px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    #arrAirportName {
        left: 50vw;
    }
    
    /* 추가 스타일 강화 - 아이폰 대응 */
    .route-item,
    .input-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    
    .date-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 교환 버튼 */
    .swap-btn {
        width: 32px;
        height: 32px;
        position: relative;
        left: 0;
    }
    .multi-city-container .swap-btn{
        top : 0px;
    }
    
    /* 날짜 및 인원 행 */
    .date-passenger-row {
        flex-direction: column;
        gap: 12px;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .date-item,
    .date-item.combined-date-item,
    .date-item.return-date {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .date-item.combined-date-item{
        width: 100%;
    }
    
    .date-input-wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    .multi-city-segment .inline-datepicker-container{
        right: 0;
        left: unset!important;
    }
}

/* ==================== 아이폰 Safari 전용 스타일 ==================== */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 1220px) {
        .date-item.combined-date-item {
            width: 100% !important;
            min-width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        .date-item.combined-date-item .date-input-wrapper {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
        
        .input-wrapper {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
        
        .input-wrapper input[type="text"] {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            appearance: none !important;
        }
        
        .route-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
        
        .date-input-wrapper {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
        
        .route-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
        
        .date-input-wrapper {
            width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
        
        .date-passenger-row {
            width: 100% !important;
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
        }
    }
    
    .date-input-wrapper input[type="date"] {
        height: 50px;
        font-size: 15px;
    }
    
    .date-display {
        font-size: 15px;
    }
    
    
    
    .passenger-input-wrapper {
        height: 50px;
        font-size: 15px;
    }
    
    .passenger-display,
    .passenger-option {
        font-size: 15px;
    }
    
    /* 검색 버튼 */
    .btn-search {
        width: 100%;
        min-width: 100%;
        height: 50px;
        font-size: 16px;
        font-weight: 700;
    }
    
    /* 다구간 모드 */
    #airSearchForm.multi-city-mode {
        height: auto;
        min-height: auto;
        padding-bottom: 20px;
    }
    
    #airSearchForm.multi-city-mode .search-fields-row {
        flex-direction: column;
    }
    
    #airSearchForm.multi-city-mode .passenger-item,
    #airSearchForm.multi-city-mode .btn-search {
        width: 100%;
    }
    
    .multi-city-segment {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .segment-header {
        margin-bottom: 8px;
    }
    
    .segment-number {
        font-size: 14px;
    }
    
    .segment-route-wrapper {
        flex-direction: column;
        gap: 12px;
        height: auto;
    }
    
    .segment-airport-input {
        width: 100%;
    }
    
    .segment-airport-input input[type="text"] {
        height: 50px;
        font-size: 15px;
    }
    
    .segment-swap-btn {
        transform: rotate(90deg);
        margin: 8px auto;
    }
    
    .segment-date-wrapper {
        width: 100%;
        min-width: 100%;
    }
    
    .segment-date-wrapper input[type="date"] {
        height: 50px;
        font-size: 15px;
    }
    
    /* 프로모션 섹션 */
    .promotion-section,
    .hotel-recommend-section {
        padding: 30px 16px;
    }
    
    .section-inner {
        max-width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .view-all-link {
        font-size: 13px;
    }
    
    .promotion-slider {
        position: relative;
    }
    
    .promotion-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 8px;
    }
    
    .promotion-card {
        flex: 0 0 76%;
        scroll-snap-align: center;
    }
    
    .slider-btn {
        display: none;
    }
    
    /* 인기 숙소 섹션 */
    .hotel-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hotel-card {
        width: 100%;
    }
    
    .hotel-image {
        height: 200px;
    }
    
    .hotel-info {
        padding: 16px;
    }
    
    .hotel-tag {
        font-size: 12px;
        line-height: 16px;
    }
    
    .hotel-name {
        font-size: 15px;
        line-height: 20px;
    }
    
    .hotel-price {
        font-size: 13px;
    }
    
    /* 인라인 캘린더 모바일 */
    .inline-datepicker-container {
        max-width: 100%;
        right:  0 !important;
        padding: 16px;
    }
    
    .inline-datepicker-container .ui-datepicker-multi {
        flex-direction: column;
    }
    
    .inline-datepicker-container .ui-datepicker-multi .ui-datepicker {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .inline-datepicker-container .ui-datepicker-multi .ui-datepicker:last-child {
        margin-bottom: 0;
    }
    
    /* 다구간 날짜 달력 */
    .multi-city-segment .inline-datepicker-container {
        width: 100%;
        left: 0;
        top: 100%;
    }
}

/* ==================== 반응형 - 다구간 2줄 레이아웃 (780px 이하) ==================== */
@media (max-width: 780px) {
    .segment-route-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
    }

    .segment-date-wrapper {
        width: 100%;
        min-width: 100%;
        flex-basis: 100%;
    }
    .multi-city-container .swap-btn {
        align-self: center;
        transform: none;
    }
    .segment-airport-input input[type="text"],.segment-date-wrapper input[type="date"],.segment-date-wrapper{
        height : 45px;
    }
    .ui-datepicker td {
        text-align: center;
    }
}

/* ==================== 반응형 - 태블릿 및 모바일 (768px 이하) ==================== */
@media (max-width: 768px) {
    /* 검색 폼 전체 컨테이너 */
    .search-form-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }
    
    /* 공항 입력 영역 */
    .route-item {
        width: 100% !important;
        flex-shrink: 1 !important;
        box-sizing: border-box !important;
    }
    
    .route-item:first-child,
    .route-item:last-child {
        width: 100% !important;
    }
    
    .input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .input-wrapper input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 16px !important;
    }
    
    /* 모든 flex 컨테이너 강화 */
    .date-passenger-row,
    .route-item,
    .input-wrapper,
    .date-item {
        max-width: 100% !important;
    }
    
    /* 인원 선택 → 모달 방식 (모바일) */
    .passenger-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -55%);
        width: 90%;
        max-width: 380px;
        max-height: calc(100vh - 40px); /* 상하 여백만 */
        overflow-y: auto;
        right: auto;
        margin: 0;
        z-index: 10000; /* 오버레이(9999) 위 */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        -webkit-overflow-scrolling: touch;
    }

    .passenger-input-wrapper.active + .passenger-dropdown,
    .passenger-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
    }

    .passenger-dropdown-content {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }
    
    /* 공항 선택 모달 모바일 */
    .airport-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 90vh;
    }
    
    /* 날짜 선택 항목 모바일 */
    .date-item.combined-date-item,
    .date-item.return-date {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .date-passenger-row {
        flex-direction: column;
        gap: 12px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .inline-datepicker-container{
        display: none!important;
    }
   
}

/* ==================== 반응형 - 작은 모바일 ==================== */
@media (max-width: 480px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-content {
        padding: 24px 12px 16px;
    }
    
    .hero-title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 6px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 18px;
    }
    
    .hero-text {
        margin-bottom: 20px;
    }
    
    .search-form-box {
        padding: 12px;
        border-radius: 8px;
    }
    .date-input-wrapper {
        height: 48px;
    }
    
    /* 날짜 선택 항목 작은 모바일 */
    .date-item.combined-date-item,
    .date-item.return-date {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-shrink: 1 !important;
    }
    
    .date-passenger-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .trip-type-selector {
        margin-bottom: 12px;
    }
    
    .trip-type-btn {
        font-size: 13px;
        margin-right: 12px;
    }
    
    .search-fields-row {
        gap: 10px;
    }
    
    .input-wrapper input[type="text"],
    .date-input-wrapper input[type="date"],
    .passenger-input-wrapper,
    .segment-airport-input input[type="text"],
    .segment-date-wrapper input[type="date"] {
        height: 48px;
        font-size: 14px;
    }
    
    .selected-name,
    .date-display,
    .passenger-display,
    .passenger-option,
    .segment-airport-input .selected-name,
    .segment-date-display {
        font-size: 14px;
    }
    
    .btn-search {
        height: 48px;
        font-size: 15px;
    }
    
    .promotion-section,
    .hotel-recommend-section {
        padding: 24px 12px;
    }
    
    .section-title {
        font-size: 17px;
        line-height: 21px;
    }
    
    .promotion-card {
        flex: 0 0 76%;
    }
    
    .promo-image {
        height: 160px;
    }
    
    .promo-content {
        padding: 16px;
    }
    
    .promo-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .promo-subtitle {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 6px;
    }
    
    .hotel-image {
        height: 180px;
    }
    
    .hotel-info {
        padding: 12px;
    }
    
    .hotel-tag {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .hotel-name {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 6px;
    }
    
    .hotel-price {
        font-size: 12px;
    }
}

/* ==================== 반응형 - 매우 작은 모바일 ==================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        line-height: 16px;
    }
    
    .search-form-box {
        padding: 10px;
    }
    
    .trip-type-btn {
        font-size: 12px;
        margin-right: 10px;
    }
    
    .input-wrapper input[type="text"],
    .date-input-wrapper input[type="date"],
    .passenger-input-wrapper,
    .segment-airport-input input[type="text"],
    .segment-date-wrapper input[type="date"] {
        height: 46px;
        font-size: 13px;
        padding: 0 12px;
    }
    
    .selected-name,
    .date-display,
    .passenger-display,
    .passenger-option {
        font-size: 13px;
        left: 12px;
    }
    
    .btn-search {
        height: 46px;
        font-size: 14px;
    }
    
    .promotion-card {
        flex: 0 0 76%;
    }
}

select {
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;
    border-radius: 0;
    box-sizing: border-box;
}

input[type="button"], 
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"], 
input[type="date"], 
input[type="month"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-sizing: border-box;
}
html {
    height: -webkit-fill-available;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}