/* PC 글로벌 GNB — 검색바(지역·날짜·인원) + 드롭다운 */

html.index-force-desktop-ui .r26-gdt-search,
html.mypage-force-desktop-ui .r26-gdt-search,
html.sp-force-desktop-ui .r26-gdt-search,
html.search-force-desktop-ui .r26-gdt-search,
html.profile-force-desktop-ui .r26-gdt-search,
html.rooms-force-desktop-ui .r26-gdt-search,
html.book-force-desktop-ui .r26-gdt-search {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--wh-surface, #f4f5f7);
  border: 1.5px solid var(--wh-bd, rgba(0,0,0,.1));
  border-radius: var(--wh-radius-sm, 16px);
  box-shadow: var(--wh-shadow, 0 1px 3px rgba(0,0,0,.04));
  overflow: visible;
  min-height: 44px;
}

html.index-force-desktop-ui .r26-dt-header-search-slot,
html.sp-force-desktop-ui .r26-dt-header-search-slot,
html.search-force-desktop-ui .r26-dt-header-search-slot,
html.mypage-force-desktop-ui .r26-dt-header-search-slot,
html.profile-force-desktop-ui .r26-dt-header-search-slot,
html.rooms-force-desktop-ui .r26-dt-header-search-slot,
html.book-force-desktop-ui .r26-dt-header-search-slot {
  max-width: min(720px, 100%);
}

html.index-force-desktop-ui .r26-gdt-search:focus-within,
html.search-force-desktop-ui .r26-gdt-search:focus-within,
html.mypage-force-desktop-ui .r26-gdt-search:focus-within,
html.sp-force-desktop-ui .r26-gdt-search:focus-within,
html.profile-force-desktop-ui .r26-gdt-search:focus-within,
html.rooms-force-desktop-ui .r26-gdt-search:focus-within,
html.book-force-desktop-ui .r26-gdt-search:focus-within {
  border-color: var(--wh-info-bd, #ddd0f5);
  box-shadow: 0 2px 10px var(--wh-brand-soft, rgba(104,0,205,.1));
}

.r26-gdt-search-region {
  flex: 1.4;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  position: relative;
}

.r26-gdt-search-icon {
  font-size: 20px;
  color: var(--wh-brand, #6800cd);
  flex-shrink: 0;
}

.r26-gdt-region-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-tx, #191f28);
  font-family: inherit;
  letter-spacing: -0.02em;
  padding: 10px 0;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.r26-gdt-region-input:focus,
.r26-gdt-region-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.r26-gdt-region-input::placeholder {
  color: var(--wh-tx3, #8b95a1);
  font-weight: 500;
}

.r26-gdt-search-seg {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  text-align: left;
  transition: background .15s;
}

.r26-gdt-search-seg::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: var(--wh-bd, rgba(0,0,0,.08));
}

.r26-gdt-search-seg:hover {
  background: var(--wh-brand-tint, #f3eefb);
}

.r26-gdt-seg-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--wh-brand, #6800cd);
  margin-bottom: 2px;
  line-height: 1.2;
}

.r26-gdt-seg-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-tx, #191f28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.r26-gdt-seg-val.placeholder {
  color: var(--wh-tx3, #8b95a1);
  font-weight: 400;
}

.r26-gdt-search-submit {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  padding: 0 16px;
  min-width: 44px;
  background: var(--wh-brand, #6800cd);
  color: #fff;
  border: none;
  border-radius: var(--wh-radius-btn, 14px);
  cursor: pointer;
  transition: background .15s;
}

.r26-gdt-search-submit:hover {
  background: var(--wh-brand-hover, #5700aa);
}

/* 드롭다운 포털 */
.gdt-search-dd-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 1300;
  pointer-events: none;
}

html.gdt-search-dd-open .gdt-search-dd-container {
  pointer-events: auto;
}

.gdt-search-dropdown {
  display: none;
  position: fixed;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  padding: 16px 18px;
  box-sizing: border-box;
  max-height: min(70vh, 520px);
  overflow: auto;
  z-index: 1301;
}

.gdt-search-dropdown--calendar {
  width: min(640px, calc(100vw - 40px));
  padding: 18px 20px;
}

.gdt-search-dropdown--guest {
  width: min(320px, calc(100vw - 40px));
}

#gdt_dropdown_region {
  width: min(400px, calc(100vw - 40px));
}

.gdt-ac-list .ac-list {
  list-style: none !important;
  margin: 0 0 12px;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gdt-ac-list .ac-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.gdt-ac-list .ac-item::marker {
  content: none !important;
}

.gdt-ac-list .ac-item:hover,
.gdt-ac-list .ac-item.selected {
  background: var(--wh-brand-tint, #f3eefb);
}

.gdt-ac-list .ac-item-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  min-width: 0;
}

.gdt-ac-list .ac-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--wh-bg, #f2f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--wh-tx3, #8b95a1);
}

.gdt-ac-list .ac-item-wrapper .text_box {
  flex: 1;
  min-width: 0;
}

.gdt-ac-list .ac-item-wrapper .text_box .main_text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-tx, #191f28);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gdt-recommended-list h6 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wh-tx3, #8b95a1);
}

.gdt-region-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gdt-region {
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.gdt-region:hover {
  background: var(--wh-brand-tint, #f3eefb);
}

.gdt-cal-dual {
  display: flex;
  gap: 16px;
}

.gdt-calendar-half {
  flex: 1;
  min-width: 0;
}

.gdt-cal-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gdt-month-name {
  font-size: 14px;
  font-weight: 700;
}

.gdt-cal-nav {
  border: none;
  background: #f4f5f7;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #333;
}

.gdt-cal-nav:disabled,
.gdt-cal-nav.is-disabled {
  opacity: .25;
  cursor: default;
}

.gdt-cal-nav-spacer {
  width: 28px;
}

.gdt-week-name {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  justify-content: space-around;
  font-size: 11px;
  color: #888;
}

.gdt-cal {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gdt-cal .cal_day,
.gdt-cal .cal_pad {
  width: calc(100% / 7);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.gdt-cal .cal_day {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.gdt-cal .cal_day.notavail {
  color: #ccc;
  cursor: default;
}

.gdt-cal .cal_day.is-selected .cal-day-n,
.gdt-cal .cal_day.is-start .cal-day-n,
.gdt-cal .cal_day.is-end .cal-day-n {
  background: var(--wh-brand, #6800cd);
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdt-cal .range_bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  right: 0;
  background: #ede9fe;
  z-index: 0;
  display: none;
}

.gdt-cal .cal-day-n {
  position: relative;
  z-index: 1;
}

.gdt-cal-footer {
  margin-top: 12px;
  text-align: right;
}

.gdt-cal-clear {
  border: none;
  background: transparent;
  color: var(--wh-tx3, #8b95a1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.gdt-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.gdt-guest-info .title {
  font-size: 14px;
  font-weight: 600;
}

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

.gdt-guest-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.gdt-guest-btn:disabled {
  opacity: .35;
  cursor: default;
}

.gdt-count-val {
  min-width: 16px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .r26-gdt-seg-label { display: none; }
  .r26-gdt-search-seg { padding: 8px 10px; }
}

@media (max-width: 1023px) {
  .r26-gdt-search,
  .gdt-search-dd-container { display: none !important; }
}
