/* 검색영역 전용 (gh_list / gh_detail). gh_list.css 사용 안 함. */

/* 검색 바 컨테이너 (max-width 1280, margin 30px auto 0) */
.gh-list-search-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    max-width: var(--gh-list-max, 1280px);
    margin: 30px auto 0;
    padding: 0 24px;
    box-sizing: border-box;
}
.gh-list-search-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 1280px;
    min-height: 56px;
    padding: 0 12px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-sizing: border-box;
}
.gh-list-search-row1-left { display: contents; }
.gh-list-search-bar,
.gh-list-search-inner,
.gh-list-search-field,
.gh-list-search-field label,
.gh-list-search-field input,
.gh-list-search-field select,
.gh-list-search-btn {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}
.gh-list-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 140px;
    min-height: 44px;
}
.gh-list-search-field:focus-within {
    border-color: #00AD55;
    box-shadow: 0 0 0 3px rgba(0, 173, 85, 0.12);
}
.gh-list-search-field label {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
    white-space: nowrap;
}
.gh-list-search-field input,
.gh-list-search-field select {
    border: none;
    background: none;
    font-size: 15px;
    line-height: 1.4;
    color: #212529;
    min-width: 0;
    outline: none;
}
.gh-list-search-field .gh-list-calendar-display,
.gh-list-search-field .gh-list-member-display,
.gh-list-search-field .gh-list-destination-display {
    border: none;
    background: transparent;
    height: 30px;
    padding-left: 10px;
}
.gh-list-search-field .gh-list-member-display,
.gh-list-search-field .gh-list-calendar-display {
    color: #212529;
}
.gh-list-search-field .gh-list-destination-display {
    color: #00AD55;
}
.gh-list-golf-chk-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    margin-right: 8px;
    flex-shrink: 0;
    font-size: 14px;
    color: #212529;
}
.gh-list-golf-chk-wrap input { cursor: pointer; accent-color: #2fca61; }

/* destination wrap / field / balloon (데스크톱 한 줄) */
.gh-list-destination-wrap {
    position: relative;
    overflow: visible;
    width: 100%;
    min-width: 260px;
    max-width: 500px;
    flex: 1 1 300px;
    margin-right: 0;
}
.gh-list-destination-balloon {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    padding: 12px 16px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    z-index: 9999;
    max-width: 280px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.gh-list-destination-balloon.is-visible {
    opacity: 1;
    visibility: visible;
}
.gh-list-search-field.gh-list-destination-field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 0;
    position: relative;
}
.gh-list-search-field.gh-list-destination-field label {
    display: none;
}
.gh-list-destination-icon {
    display: none; /* 박스 안 돋보기 제거 */
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #848c94;
    pointer-events: none;
    flex-shrink: 0;
}
.gh-list-destination-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.gh-list-search-field.gh-list-destination-field .gh-list-destination-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    line-height: 1.4;
    color: #212529;
    outline: none;
    padding: 10px 44px 10px 12px; /* 돋보기 제거로 왼쪽 여백 축소 */
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.gh-list-search-field.gh-list-destination-field .gh-list-destination-input::placeholder {
    color: #999;
}
.gh-list-destination-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #848c94;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 20;
    transition: color 0.2s ease, background 0.2s ease;
}
.gh-list-destination-clear svg { pointer-events: none; }
.gh-list-destination-clear:hover {
    color: #212529;
    background: rgba(0, 0, 0, 0.08);
}
.gh-list-destination-field.has-value .gh-list-destination-clear { opacity: 1; }
.gh-list-destination-field:not(.has-value) .gh-list-destination-clear { opacity: 0.4; }
.gh-list-search-field.gh-list-destination-field label,
.gh-list-search-field.gh-list-destination-field .gh-list-destination-display {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}
.gh-list-search-field.gh-list-destination-field .gh-list-destination-display {
    height: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.gh-list-search-field input::placeholder {
    color: #999;
}
.gh-list-search-field select {
    cursor: pointer;
}

/* search button */
.gh-list-search-btn {
    padding: 0 20px;
    min-height: 44px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    background: #00AD55;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.gh-list-search-btn:hover { background: #009948; }
.gh-list-search-btn:active { background: #00803d; }

/* date field / calendar (데스크톱 한 줄) */
.gh-list-search-field.gh-list-date-field {
    padding: 0;
    border: none;
    min-height: 40px;
    height: 40px;
    background: transparent;
    width: 260px;
    min-width: 260px;
    flex: 0 0 260px;
    display: flex;
    align-items: center;
}
.gh-list-date-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    box-sizing: border-box;
}
.gh-list-date-section:focus-within { outline: none; }
.gh-list-date-section .gh-list-date-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gh-list-date-section .gh-list-date-label {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
}
.gh-list-date-section .gh-list-date-value {
    font-size: 14px;
    color: #141719;
}
.gh-list-date-section .gh-list-date-value.gh-list-date-placeholder {
    color: #848c94;
}
.gh-list-date-section .gh-list-date-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    padding-right: 20px;
    border: none;
    background: none;
    cursor: pointer;
    color: #848c94;
    opacity: 0.5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gh-list-date-section .gh-list-date-close:hover {
    opacity: 1;
    background: #f1f3f5;
}
.gh-list-date-section .gh-list-date-close svg {
    width: 20px;
    height: 20px;
}
.gh-list-date-wrap {
    position: relative;
    width: 100%;
}
.gh-list-date-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 10001;
    width: 340px;
    overflow: hidden;
}
.gh-list-date-dropdown.is-open { display: block; }
.gh-list-calendar-dropdown-inner {
    padding: 15px 13px 12px;
    overflow: visible;
}
.gh-list-calendar-nav-wrap {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.gh-list-calendar-nav-btn {
    flex-shrink: 0;
    width: 100%;
    height: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f1f3f5;
    color: #495057;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: background .15s;
}
.gh-list-calendar-nav-btn:hover {
    background: #e9ecef;
}
.gh-list-calendar-nav-btn:focus { outline: none; }
.gh-list-calendar-nav-btn svg { width: 20px; height: 20px; display: block; }
.gh-list-calendar-nav-prev,
.gh-list-calendar-nav-next { display: none !important; }
#gh-list-calendar-pop {
    max-height: 360px;
    min-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    outline: none;
}
#gh-list-calendar-pop:focus { outline: none; }
#gh-list-calendar-pop::-webkit-scrollbar { display: none; }
.gh-list-calendar-week-header {
    padding: 0;
    margin-bottom: 4px;
    width: 100%;
}
.gh-list-calendar-week-header ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.gh-list-calendar-week-header li {
    flex: 1;
    min-width: 0;
    width: 14.2857%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
}
.gh-list-calendar-week-header li:first-child { color: #dc3545; }
.gh-list-calendar-week-header li:last-child { color: #0d6efd; }
.gh-list-calendar-month { padding: 0 0 12px; }
.gh-list-calendar-month-caption {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    margin-bottom: 8px;
}
.gh-list-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.gh-list-calendar-table td {
    width: 14.2857%;
    height: 38px;
    padding: 0;
    vertical-align: middle;
    text-align: center;
}
.gh-list-calendar-day {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    font-size: 14px;
    color: #212529;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0;
}
.gh-list-calendar-day:hover:not(.gh-list-calendar-day-disabled):not(.gh-list-calendar-day-other) {
    background: #f1f3f5;
}
.gh-list-calendar-day.gh-list-calendar-day-disabled {
    color: #adb5bd;
    cursor: not-allowed;
}
.gh-list-calendar-day.gh-list-calendar-day-other {
    color: #dee2e6;
}
.gh-list-calendar-day.gh-list-calendar-day-range {
    background: rgba(0, 173, 85, 0.12);
}
.gh-list-calendar-day.gh-list-calendar-day-today {
    font-weight: 600;
    color: #00AD55;
}
.gh-list-calendar-day.gh-list-calendar-day-checkin,
.gh-list-calendar-day.gh-list-calendar-day-checkout {
    background: #00AD55;
    color: #fff;
    font-weight: 600;
}
.gh-list-calendar-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 13px;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.gh-list-calendar-footer-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
}
.gh-list-calendar-footer-btn:hover { background: #f1f3f5; }
.gh-list-calendar-footer-btn-apply {
    background: #00AD55;
    border-color: #00AD55;
    color: #fff;
}
.gh-list-calendar-footer-btn-apply:hover { background: #009948; }
.gh-list-calendar-link-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee; }
.gh-list-calendar-external-link { font-size: 13px; color: #0d6efd; text-decoration: none; }
.gh-list-calendar-external-link:hover { text-decoration: underline; }

/* member field / dropdown (데스크톱 한 줄) */
.gh-list-search-field.gh-list-member-field {
    padding: 0;
    border: none;
    min-height: 30px;
    height: 30px;
    background: transparent;
    margin-left: 0;
    display: flex;
    align-items: center;
    width: 260px;
    min-width: 260px;
    flex: 0 0 260px;
    flex-shrink: 0;
}
.gh-list-search-field.gh-list-member-field .gh-list-member-display {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gh-list-member-wrap {
    position: relative;
    width: 100%;
    min-width: 180px;
}
.gh-list-member-display {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #212529;
}
.gh-list-member-wrap:focus-within .gh-list-member-display {
    border-color: #00AD55;
    box-shadow: 0 0 0 3px rgba(0, 173, 85, 0.12);
}
.gh-list-member-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 1000;
    min-width: 200px;
}
.gh-list-member-dropdown.is-open { display: block; width: 220px; min-width: 220px; }
.gh-list-member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.gh-list-member-row:last-child { border-bottom: none; }
.gh-list-member-row-label { display: flex; flex-direction: column; gap: 2px; }
.gh-list-member-row-label .label-main { font-size: 14px; color: #343a40; font-weight: 500; }
.gh-list-member-row-label .label-sub { font-size: 12px; color: #848c94; }
.gh-list-member-stepper { display: flex; align-items: center; gap: 0; }
.gh-list-member-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #343a40;
}
.gh-list-member-btn:hover:not(:disabled) { background: #f1f3f5; border-color: #adb5bd; }
.gh-list-member-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.gh-list-member-btn svg { width: 20px; height: 20px; }
.gh-list-member-value-wrap { min-width: 40px; text-align: center; font-size: 15px; font-weight: 500; color: #212529; }

/* destination search dropdown (autocomplete) */
.gh-list-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 10002;
}
.gh-list-search-dropdown.is-open { display: block; }
.gh-list-search-dropdown-section { padding: 8px 0; }
.gh-list-search-dropdown-section-title {
    padding: 6px 14px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.gh-list-search-dropdown-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0 10px;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    color: #212529;
    background: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}
.gh-list-search-dropdown-item:hover,
.gh-list-search-dropdown-item:focus {
    background: rgba(0, 173, 85, 0.08);
    outline: none;
}
.gh-list-search-dropdown-item-icon { color: #00AD55; }
.gh-list-search-dropdown-item-label { grid-column: 2; }
.gh-list-search-dropdown-item-sub { grid-column: 2; font-size: 12px; color: #6c757d; margin-top: 2px; }
.gh-list-search-dropdown-item-count { font-weight: 600; color: #00AD55; }
.gh-list-search-dropdown-match { font-weight: 700; color: #00AD55; }
.gh-list-search-dropdown-recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 6px;
    border-bottom: 1px solid #eee;
}
.gh-list-search-dropdown-recent-title { font-size: 13px; font-weight: 500; color: #495057; }
.gh-list-search-dropdown-recent-clear {
    font-size: 12px;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}
.gh-list-search-dropdown-recent-clear:hover { color: #00AD55; }
.gh-list-search-dropdown-item-recent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.gh-list-search-dropdown-item-recent .gh-list-search-dropdown-item-remove {
    flex-shrink: 0;
    padding: 4px;
    color: #848c94;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
.gh-list-search-dropdown-item-recent .gh-list-search-dropdown-item-remove:hover { color: #dc3545; }
.gh-list-search-dropdown-empty,
.gh-list-search-dropdown-loading {
    padding: 12px 14px;
    font-size: 14px;
    color: #6c757d;
}

/* ========== @media (max-width: 1024px) 태블릿 2행 8:2 ========== */
/* 1행: [체크+인풋] | 검색버튼, 2행: [일정(1열) | 객실인원(2열)] | 검색버튼 — 열비율 8fr:2fr */
@media (max-width: 1024px) {
    .gh-list-search-bar { margin-top: 20px; padding: 0; }
    .gh-list-search-bar .gh-list-search-inner {
        display: grid !important;
        grid-template-columns: 3fr 4fr 2fr !important;
        grid-template-rows: auto auto !important;
        flex-wrap: nowrap !important;
        gap: 10px 16px;
        min-height: 0;
        padding: 12px 14px;
        align-items: center;
    }
    .gh-list-search-bar .gh-list-search-row1-left {
        display: flex !important;
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }
    .gh-list-search-bar .gh-list-search-row1-left .gh-list-golf-chk-wrap { flex-shrink: 0; margin-right: 0; }
    .gh-list-search-bar .gh-list-search-row1-left .gh-list-destination-wrap {
        flex: 1;
        min-width: 0;
        margin-right: 0;
    }
    .gh-list-search-bar .gh-list-search-row1-left .gh-list-search-field.gh-list-destination-field {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .gh-list-search-bar .gh-list-search-field.gh-list-date-field {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    .gh-list-search-bar .gh-list-date-wrap { width: 100%; max-width: 100%; }
    .gh-list-search-bar .gh-list-date-section { width: 100%; max-width: 100%; }
    .gh-list-search-bar .gh-list-search-field.gh-list-member-field {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100%;
        max-width: 100%;
    }
    .gh-list-search-bar .gh-list-member-wrap { width: 100%; max-width: 100%; }
    .gh-list-search-bar .gh-list-search-btn {
        grid-column: 3 !important;
        grid-row: 1 / -1 !important;
        justify-self: center;
        width: auto;
        min-width: 80px;
        align-self: center;
        min-height: 44px;
        padding: 0 18px;
    }
}

/* ========== @media (max-width: 768px) ========== */
@media (max-width: 768px) {
    /* 브레드크럼-검색 간격 20px (여기만 적용, 중복 제거) */
    .gh-list-search-bar {
        margin-top: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.gh-list-page .gh-list-main-wrap,
    body.gh-list-page .gh-list-search-bar,
    body.gh-list-page .gh-list-search-inner,
    body.gh-detail-page .gh-list-main-wrap,
    body.gh-detail-page .gh-list-search-bar,
    body.gh-detail-page .gh-list-search-inner {
        overflow: visible !important;
    }
    body.gh-list-page .gh-list-search-dropdown,
    body.gh-detail-page .gh-list-search-dropdown {
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
    }
    body.gh-list-page .gh-list-search-bar,
    body.gh-detail-page .gh-list-search-bar { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 12px !important;
        min-height: 0 !important;
        padding: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        box-sizing: border-box !important;
    }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-row1-left,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-row1-left { order: 0; width: 100% !important; display: flex !important; align-items: center; gap: 8px; flex: 0 0 auto !important; margin: 0; padding: 0; min-height: 44px !important; box-sizing: border-box !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-row1-left .gh-list-destination-wrap,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-row1-left .gh-list-destination-wrap { width: 100% !important; max-width: none !important; min-height: 44px !important; flex: 1 !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-field.gh-list-date-field,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-field.gh-list-date-field { order: 2; width: 100% !important; flex: 0 0 auto !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-field.gh-list-member-field,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-field.gh-list-member-field { order: 3; width: 100% !important; flex: 0 0 auto !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-btn,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-inner > .gh-list-search-btn { order: 4; width: 100% !important; flex: 0 0 auto !important; }
    .gh-list-destination-wrap { width: 100%; padding: 0; margin: 0; min-height: 44px !important; height: 44px !important; }
    .gh-list-destination-wrap .gh-list-destination-icon { display: none; }
    .gh-list-search-field.gh-list-destination-field { max-width: none; width: 100%; padding: 0; min-height: 44px !important; }
    .gh-list-search-field.gh-list-destination-field .gh-list-destination-input {
        font-size: 16px;
        min-height: 44px !important;
        padding: 10px 12px;
    }
    .gh-list-search-field.gh-list-date-field { width: 100% !important; flex: none !important; padding: 0 !important; }
    .gh-list-date-wrap { width: 100%; max-width: 100%; }
    .gh-list-date-wrap .gh-list-date-section {
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        padding: 10px 0;
    }
    .gh-list-date-section .gh-list-date-text { padding: 0; }
    .gh-list-date-section .gh-list-date-label { font-size: 12px; }
    .gh-list-date-section .gh-list-date-value { font-size: 14px; }
    .gh-list-date-section .gh-list-date-close { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
    .gh-list-member-btn { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
    .gh-list-search-field.gh-list-member-field { width: 100%; padding: 10px; }
    .gh-list-member-wrap { width: 100%; max-width: none; }
    .gh-list-member-display {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 15px;
    }
    .gh-list-member-dropdown.is-open {
        width: 100% !important;
        min-width: 0 !important;
        left: 0;
        right: 0;
    }
    .gh-list-search-dropdown.is-open {
        width: 100% !important;
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gh-list-search-btn {
        width: 100%;
        min-height: 44px;
        font-size: 15px;
        font-weight: 600;
        padding: 12px 16px;
    }
    body.gh-list-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field { padding: 0 !important; box-sizing: border-box !important; min-height: 44px !important; height: 44px !important; display: flex !important; align-items: center !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-field.gh-list-date-field,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-date-field { padding: 0 !important; box-sizing: border-box !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-field.gh-list-member-field,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-member-field { padding: 10px !important; box-sizing: border-box !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field .gh-list-destination-input,
    body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field .gh-list-destination-input { padding: 10px 12px !important; box-sizing: border-box !important; min-height: 44px !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-date-section,
    body.gh-detail-page .gh-list-search-bar .gh-list-date-section { padding: 10px 0 !important; box-sizing: border-box !important; min-height: 44px !important; }
    body.gh-list-page .gh-list-search-bar .gh-list-member-display,
    body.gh-detail-page .gh-list-search-bar .gh-list-member-display { padding: 10px 12px !important; box-sizing: border-box !important; min-height: 44px !important; }
    .gh-list-date-dropdown { width: 100%; max-width: min(340px, 95vw); left: 0; right: auto; }
}

/* ========== @media (max-width: 480px) ========== */
@media (max-width: 480px) {
    .gh-list-search-bar {
        padding: 0;
    }
    .gh-list-search-inner { gap: 10px; }
    .gh-list-search-field.gh-list-destination-field .gh-list-destination-input {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
    }
    .gh-list-date-section { min-height: 44px; padding: 10px 0; }
    .gh-list-member-display { min-height: 44px; padding: 10px 12px; }
    .gh-list-search-btn { min-height: 44px; padding: 12px 16px; font-size: 14px; }
}

/* ========== gh_detail 전용: 검색영역 컴팩트 + 1280px 맞춤 (1328px 방지) ========== */
body.gh-detail-page .gh-list-search-bar {
    margin-top: 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    max-width: 1280px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-inner {
    min-height: 70px !important;
    height: 70px !important;
    padding: 0 10px !important;
    gap: 8px !important;
    border-radius: 8px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-field {
    padding: 6px 10px !important;
    min-height: 38px !important;
    border-radius: 6px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-field label {
    font-size: 12px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-field input,
body.gh-detail-page .gh-list-search-bar .gh-list-search-field .gh-list-calendar-display,
body.gh-detail-page .gh-list-search-bar .gh-list-search-field .gh-list-member-display,
body.gh-detail-page .gh-list-search-bar .gh-list-search-field .gh-list-destination-display {
    font-size: 14px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    min-height: 38px !important;
    border-radius: 6px !important;
}
/* gh_detail: 목적지/일정/인원 입력 영역 높이 맞춤 */
body.gh-detail-page .gh-list-search-bar .gh-list-destination-wrap,
body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field .gh-list-destination-input,
body.gh-detail-page .gh-list-search-bar .gh-list-date-section,
body.gh-detail-page .gh-list-search-bar .gh-list-member-display {
    min-height: 38px !important;
    height: auto !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-search-field.gh-list-destination-field .gh-list-destination-input {
    padding: 6px 10px !important;
}
body.gh-detail-page .gh-list-search-bar .gh-list-date-section { padding: 6px 0 !important; }
body.gh-detail-page .gh-list-search-bar .gh-list-member-display { padding: 6px 10px !important; }
body.gh-detail-page .gh-list-search-bar .gh-list-date-section .gh-list-date-close,
body.gh-detail-page .gh-list-search-bar .gh-list-member-btn {
    min-width: 36px !important;
    width: 36px !important;
    min-height: 36px !important;
    height: 36px !important;
}

/* air_list 전용: 검색 카드 그리드 + 검색버튼 2행 4열 고정 (flex 덮어쓰기) */
@media (min-width: 769px) {
    body.air-list-page .gh-list-search-inner.air-list-search-card {
        display: grid !important;
        grid-template-columns: 43fr 32fr 18fr 17fr !important;
        grid-template-rows: auto auto !important;
        grid-template-areas: "trip row1col23 row1col23 ." "deparr date member submit" !important;
    }
    body.air-list-page .gh-list-search-inner.air-list-search-card > .air-list-search-block--submit {
        grid-area: unset !important;
        grid-column: 4 !important;
        grid-row: 2 !important;
        align-self: center !important;
        justify-self: center !important;
    }
}
