@font-face {
  font-family: 'notokr-medium';
  src: url('/fonts/NotoKR-Medium/notokr-medium.eot');
  src: url('/fonts/NotoKR-Medium/notokr-medium.eot?#iefix') format('embedded-opentype'),
    url('/fonts/NotoKR-Medium/notokr-medium.woff2') format('woff2'),
    url('/fonts/NotoKR-Medium/notokr-medium.woff') format('woff'),
    url('/fonts/NotoKR-Medium/notokr-medium.ttf') format('truetype'),
    url('/fonts/NotoKR-Medium/notokr-medium.svg#notokr-medium') format('svg');
  font-weight: normal;
  font-style: normal;
}

:root {
  --wehome-color: #6800cd;
  --wh-brand: var(--wehome-color);
  --wh-brand-tint: rgba(104, 0, 205, 0.08);
  --wh-brand-light: rgba(104, 0, 205, 0.12);
  --wh-label: #1c1c1e;
  --wh-label-2: #3c3c43;
  --wh-label-3: #8e8e93;
  --wh-label-4: #c7c7cc;
  --wh-bg: #f2f2f7;
  --wh-surface: #ffffff;
  --wh-surface-2: #f2f2f7;
  --wh-sep: rgba(60, 60, 67, 0.12);
  --wh-sep-opaque: #e5e5ea;
  --holiday-color: #ff0000;
  --padding: 3rem;
  --bottom-naverbar-border-top-color: #9ea0a340;
  --bottom-naverbar-border-side-color: #9ea0a31f;
  --bottom-naverbar-height: 66px;
  --max-width-in-mobile-only-mode: 720px;
  --background-color-in-mobile-only-mode: white;
  --bi-star-fill-color: #ffd800;
  --wehome-no-history-logo-height: 92px;
  --nav-clean-height: 50px;
}

/* Global base styles */
html {
  font-size: 13px;
  /* 안드로이드 시스템 폰트 크기 변경 시 웹 UI가 깨지는 것 방지 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'notokr-medium', "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif !important;
}

/* body.bgr-for-mobile-only-mode {
  background: url('/images/background-in-mobile-only-mode-01.png') no-repeat center center fixed;
  background-size: cover;
  background-color: var(--background-color-in-mobile-only-mode) !important;
} */

.noshow {
  display: none !important;
}

/* WeHome brand colors - available globally */
.wehome_color {
  color: var(--wehome-color);
}

.wehome_bg_color {
  background-color: var(--wehome-color);
}

.zero-gap {
  gap: 0px !important;
}

/* Room detail page bottom button price styling - exactly matching main page design */
#bottom_button .p_price {
  /* text-align: right; */
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#bottom_button .p_price .listing-price-display {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  margin-bottom: 0px !important;
}

#bottom_button .p_price .listing-price-display .head {
  font-size: 13px;
  color: #222;
  margin-right: 8px;
  /* min-width: 50px; */
  min-width: 0px !important;
}

#bottom_button .p_price .listing-price-display .price {
  font-size: 17px;
  color: #1c1c1c;
  font-weight: bold;
  text-decoration: underline;
}

#bottom_button .p_price .listing-price-display .price .org_price {
  text-decoration: line-through;
  color: #999;
  margin-right: 5px;
}

#bottom_button .p_price .hint {
  font-size: 10px;
  color: #222;
}

#bottom_button .p_price .hint .exclude {
  font-size: 10px;
  font-weight: 600;
  color: #d63031 !important;
}

#bottom_button .p_price .calculating-price {
  color: #222;
  font-size: 12px;
  text-align: left;
}

/* Global container and row spacing */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.row {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

/* 예약 가능한 날짜가 없는 경우 메시지 스타일 */
.no-available-dates-message {
  color: #222;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* 탭 효과 제거 */
a {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* 터치 액션 최적화 */
  touch-action: manipulation;

  /* 포커스 아웃라인 제거 */
  outline: none;

  /* 웹킷 기본 스타일 제거 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* 버튼 상태별 스타일 (rounded corner 유지) */
button:active,
button:focus,
button:hover,
.btn:active,
.btn:focus,
.btn:hover,
.btn_radius10:active,
.btn_radius10:focus,
.btn_radius10:hover,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
  /* 터치 하이라이트 제거 */
  -webkit-tap-highlight-color: transparent !important;

  /* 아웃라인 제거 */
  outline: none !important;

  /* 웹킷 기본 스타일 제거 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* 둥근 모서리 버튼 특별 처리 */
.btn_radius10,
.btn_radius10:active,
.btn_radius10:focus,
.btn_radius10:hover {
  border-radius: 10px !important;
}

/* 안드로이드 WebView 전용 최적화 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

  button,
  .btn {
    /* 웹킷 기본 버튼 스타일 완전 제거 */
    -webkit-appearance: none;
  }

  button:active,
  .btn:active {
    /* 액티브 상태에서 부드러운 피드백 */
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* 둥근 모서리 유지 */
  .btn_radius10:active {
    border-radius: 10px !important;
  }
}

textarea:focus {
  outline: none;
}

ul.cal li {
  cursor: pointer;
}

ul.cal li.notavail {
  cursor: not-allowed;
}

.btn:focus {
  box-shadow: none !important;
}

nav {
  height: var(--bottom-naverbar-height);
  border-top: 1px solid var(--bottom-naverbar-border-top-color);
  border-left: 1px solid var(--bottom-naverbar-border-side-color);
  border-right: 1px solid var(--bottom-naverbar-border-side-color);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 100;
  padding-bottom: calc(var(--bottom-naverbar-height) + env(safe-area-inset-bottom));
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto;
  margin-right: auto;
}

nav div.button_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 25px;
  height: 25px;
}

nav div.button_wrap>* {
  /*width: auto !important;
  height: 100% !important;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

nav div.row a {
  text-decoration: none;
  color: #666;
  text-align: center;
  /* padding: 0; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-left: 10px;
  padding-right: 10px;
  flex-basis: content;
  margin-top: 10px;
  margin-bottom: 10px;
}

nav div.row a:hover h2,
nav div.row a.on h2 {
  color: var(--wehome-color);
  font-weight: 500 !important;
}

nav div.row a img,
nav div.row a svg {
  /* position: absolute; 변수연 주석처리 */
  top: 0;
  left: 0;
}


/* 하단 navbar 아이콘 정렬, hover 시 css 수정 */

/*nav div.row a img.over,
nav div.row a svg.over {
  display: none;
}

nav div.row a:hover img.over,
nav div.row a:hover svg.over,
nav div.row a.on img.over,
nav div.row a.on svg.over {
  display: block;
}*/

.col .over {
  display: none;
}

.col:hover .off,
.col.on .off {
  display: none;
}

.col:hover .over,
.col.on .over {
  display: inline-block;
}

.col:hover h2,
.col.on h2 {
  color: #6800cd;
  font-weight: 700;
  transition: color 0.2s ease;
}

.col h2 {
  color: #767676;
  transition: color 0.2s ease;
}

/* 하단 navbar 아이콘 정렬, hover 시 css 수정 */


nav div.row a.on .search-path {
  stroke: var(--wehome-color);
}

nav div.row h2 {
  font-size: 10px;
  line-height: 10px;
  /* font-weight: normal; */
  font-weight: 500 !important;
  margin-bottom: 0px !important;
}

span.noti_new {
  border-radius: 50%;
  background-color: red;
  color: #fff;
  text-indent: -9999px;
  white-space: nowrap;
  width: 8px;
  height: 8px;
  display: block;
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0;
  z-index: 1;
}

.btn_noti span.noti_new {
  top: 1px;
  right: 1px;
}

#bottom_nav span.noti_new {
  top: 0;
  right: -2px;
}

#bottom_nav .container {
  padding: 0px !important;
}

#bottom_nav .container .row {
  margin: 0px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-around;
}

/* #bottom_nav .container .row .col {
  flex-basis: content !important;
} */

.card-use-airbnb {
  background-color: #7342BA;
  color: white;
  padding-left: 13px;
  padding-right: 13px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-use-airbnb .title {
  font-size: 15px;
  font-weight: 500;
}

.card-use-airbnb .desc {
  font-size: 13px;
}

/* Hide scrollbar for all elements */
html,
body,
div#content,
#content,
#content.inbox div.write_cont #sendbox,
div#content.user-profile .listing ul,
div#content.my-today .reservations-wrapper .submenu,
.mfp-container,
.filter-modal .modal-body,
.modal,
#content.inbox .messages {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
div#content::-webkit-scrollbar,
#content::-webkit-scrollbar,
#content.inbox div.write_cont #sendbox::-webkit-scrollbar,
div#content.user-profile .listing ul::-webkit-scrollbar,
div#content.my-today .reservations-wrapper .submenu::-webkit-scrollbar,
.mfp-container::-webkit-scrollbar,
.filter-modal .modal-body::-webkit-scrollbar,
.modal::-webkit-scrollbar,
#content.inbox .messages::-webkit-scrollbar {
  display: none;
}

.swiper-pagination,
.swiper,
.swiper-container,
ul.menu,
section.calendar div.box_cont,
section.calendar table.calendar tbody,
nav#bottom_nav,
body::-webkit-scrollbar {
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
div#content::-webkit-scrollbar,
#content::-webkit-scrollbar,
#content.inbox div.write_cont #sendbox::-webkit-scrollbar,
div#content.user-profile .listing ul::-webkit-scrollbar,
.swiper-pagination::-webkit-scrollbar,
.swiper::-webkit-scrollbar,
.swiper-container::-webkit-scrollbar,
ul.menu::-webkit-scrollbar,
section.calendar div.box_cont::-webkit-scrollbar,
section.calendar table.calendar tbody::-webkit-scrollbar,
nav#bottom_nav::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

a:hover {
  color: inherit;
}

.non-clickable {
  pointer-events: none !important;
  cursor: default !important;
}

#content.simple {
  padding: 20px;
  text-align: center;
  min-height: calc(100vh - var(--wehome-no-history-logo-height));
}

/* Common Swiper styles */
.swiper-container {
  width: 100%;
}

.swiper-container .swiper-slide {
  width: auto;
}

.swiper {
  width: 100%;
  height: 100%;
}

.p_images .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 이미지가 하나만 있을 때의 스타일 */
.p_images[data-image-count="1"] .swiper-wrapper {
  transform: translate3d(0px, 0px, 0px) !important;
  transition-duration: 0ms !important;
}

.p_images[data-image-count="1"] .swiper-slide {
  left: 0px !important;
  width: 100% !important;
}

.p_images[data-image-count="1"] .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* bottom_nav icon state normalization for the refreshed mobile nav. */
nav#bottom_nav .col .button_wrap img,
nav#bottom_nav .col .button_wrap svg {
  position: static !important;
}

nav#bottom_nav .col .button_wrap svg.off {
  color: #767676 !important;
  fill: #767676 !important;
}

nav#bottom_nav .col .button_wrap svg.off [stroke] {
  stroke: #767676 !important;
}

nav#bottom_nav .col .button_wrap svg.off [fill]:not([fill="none"]) {
  fill: #767676 !important;
}

nav#bottom_nav .col .button_wrap svg.over,
nav#bottom_nav .col:hover .button_wrap svg,
nav#bottom_nav .col.on .button_wrap svg {
  color: var(--wehome-color, #6800cd) !important;
  fill: var(--wehome-color, #6800cd) !important;
}

nav#bottom_nav .col .button_wrap svg.over [stroke],
nav#bottom_nav .col:hover .button_wrap svg [stroke],
nav#bottom_nav .col.on .button_wrap svg [stroke] {
  stroke: var(--wehome-color, #6800cd) !important;
}

nav#bottom_nav .col .button_wrap svg.over [fill]:not([fill="none"]),
nav#bottom_nav .col:hover .button_wrap svg [fill]:not([fill="none"]),
nav#bottom_nav .col.on .button_wrap svg [fill]:not([fill="none"]) {
  fill: var(--wehome-color, #6800cd) !important;
}

nav#bottom_nav .col .button_wrap .over {
  display: none !important;
}

nav#bottom_nav .col.on .button_wrap .over,
nav#bottom_nav .col:hover .button_wrap .over {
  display: block !important;
}

nav#bottom_nav .col.on .button_wrap .off,
nav#bottom_nav .col:hover .button_wrap .off {
  display: none !important;
}

nav#bottom_nav .col h2 {
  color: #767676 !important;
}

nav#bottom_nav .col.on h2,
nav#bottom_nav .col:hover h2 {
  color: var(--wehome-color) !important;
}

.spinner-border {
  width: 5rem;
  height: 5rem;
  color: var(--wehome-color);
}

.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
  background-color: rgba(0, 0, 0, 0.5);
}

.swiper-button-prev2,
.swiper-button-next2 {
  position: absolute;
  top: 50%;
  /* translateY(-50%)로 세로 중앙 정렬 + iOS 하드웨어 가속 */
  -webkit-transform: translateY(-50%) translateZ(0);
  transform: translateY(-50%) translateZ(0);
  /* 클릭 영역 충분히 확보 */
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  cursor: pointer;
  transition: transform 0.2s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.swiper-button-prev2:hover,
.swiper-button-next2:hover {
  -webkit-transform: translateY(-50%) translateZ(0) scale(1.15);
  transform: translateY(-50%) translateZ(0) scale(1.15);
}

.swiper-button-prev2 {
  left: 8px;
}

.swiper-button-next2 {
  right: 8px;
}

/* 기존 img 태그 숨김 (Material Symbols 아이콘으로 교체) */
.swiper-button-prev2 img,
.swiper-button-next2 img {
  display: none;
}

/* 화살표 아이콘 - 흰색 + 그림자로 어두운/밝은 배경 모두 대응 */
.swiper-button-prev2 .material-symbols-outlined,
.swiper-button-next2 .material-symbols-outlined {
  font-size: 32px;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.4);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 32;
  -webkit-user-select: none;
  user-select: none;
  line-height: 1;
  pointer-events: none;
  transition: text-shadow 0.2s ease;
}

.swiper-button-prev2:hover .material-symbols-outlined,
.swiper-button-next2:hover .material-symbols-outlined {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.5);
}

.swiper-lazy-preloader {
  border-color: var(--wehome-color);
  border-top-color: transparent;
}

.btn,
.btn:hover {
  color: white;
  background-color: var(--wehome-color);
}

.btn.wh-btn-secondary,
.btn.wh-btn-secondary:hover {
  color: #222;
  background-color: #e5e5e5;
}

/* Common bottom button styles */
#bottom_button .btn {
  border: none;
  height: 48px;
  border-radius: 10px;
  padding: 10px 15px;
  line-height: 1em;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#bottom_button .btn.ready {
  background-color: var(--wehome-color);
  color: white !important;
}

/* Common btn_fav styles */
span.btn_fav {
  color: #fff;
  padding: 10px;
  position: absolute;
  top: 10px;
  z-index: 20;
  cursor: pointer;
  left: auto !important;
  right: 10px !important;
}

/* .d-none {
  display: none !important;
} */

/* SVG heart icon styles */
span.btn_fav svg {
  display: block;
  transition: all 0.2s ease-in-out;
}

span.btn_fav svg.heart {
  opacity: 1;
}

span.btn_fav svg.heart.d-none {
  opacity: 0;
}

span.btn_fav svg.heart_on {
  opacity: 1;
}

span.btn_fav svg.heart_on.d-none {
  opacity: 0;
}

/* Hover effects for heart icons */
span.btn_fav:hover svg.heart:not(.d-none) {
  transform: scale(1.1);
}

span.btn_fav:hover svg.heart_on:not(.d-none) {
  transform: scale(1.1);
}

/* .body-bgr-cover {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #ffffff3b;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -10000;
} */

.wh-root {
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}

.wh-root header .fixed-top {
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  padding-left: 10px;
  padding-right: 10px;
}

/* WeHome Icon Font - Moved from style25.css for global usage */
@font-face {
  font-family: 'wehome';
  src: url('/assets/fonts/wehome.eot?96xc9b');
  src: url('/assets/fonts/wehome.eot?96xc9b#iefix') format('embedded-opentype'),
    url('/assets/fonts/wehome.ttf?96xc9b') format('truetype'),
    url('/assets/fonts/wehome.woff?96xc9b') format('woff'),
    url('/assets/fonts/wehome.svg?96xc9b#wehome') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Material Symbols - self hosted, used by desktop/mobile shared views */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/material-symbols-outlined.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined,
.material-symbols-rounded {
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  visibility: visible;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
}

.material-symbols-outlined.fill,
.material-symbols-rounded.fill {
  font-variation-settings: 'FILL' 1;
}

[class^="icon-"]::after,
[class^="icon-"]::before,
[class*=" icon-"]::after,
[class*=" icon-"]::before {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'wehome' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-bbq:before {
  content: "\e900";
}

.icon-bell:before {
  content: "\e901";
}

.icon-budget:before {
  content: "\e902";
}

.icon-family:before {
  content: "\e904";
}

.icon-hanok:before {
  content: "\e906";
}

.icon-hallyu:before {
  content: "\e907";
}

.icon-instagrammable:before {
  content: "\e909";
}

.icon-menubar:before {
  content: "\e90b";
}

.icon-pet:before {
  content: "\e90c";
}

.icon-premium:before {
  content: "\e90d";
}

.icon-rooftop:before {
  content: "\e90e";
}

.icon-subway:before {
  content: "\e90f";
}

.icon-unique:before {
  content: "\e910";
}

.icon-workation:before {
  content: "\e911";
}

.icon-festival+h6 {
  animation: blink-text 1.5s steps(5, start) infinite;
  -webkit-animation: blink-text 1.5s steps(5, start) infinite;
}

.icon-festival:before {
  display: block;
  content: '';
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 80 60" xml:space="preserve"><path d="M46.8,24.9c-0.3,0-0.6-0.1-0.8-0.2l-6-3.1l-6,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.4l1.1-6.7l-4.8-4.7c-0.5-0.5-0.7-1.2-0.5-1.8C27.5,9,28,8.5,28.7,8.4l6.7-1l3-6.1c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6l6.7,1c0.7,0.1,1.2,0.6,1.4,1.2c0.2,0.7,0,1.4-0.5,1.8l-4.8,4.7l1.1,6.7c0.1,0.5-0.1,1-0.4,1.4C47.8,24.7,47.3,24.9,46.8,24.9z M40,18.9c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7L40,3.9l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C39.6,18.9,39.8,18.9,40,18.9z"/><path d="M74,40.5c-0.3,0-0.6-0.1-0.8-0.2l-6-3.1l-6,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.4l1.1-6.7L54.9,27c-0.5-0.5-0.7-1.2-0.4-1.8c0.2-0.6,0.8-1.1,1.4-1.2l6.7-1l3-6.1c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6.1l6.7,1c0.7,0.1,1.2,0.6,1.4,1.2c0.2,0.6,0,1.3-0.4,1.8l-4.8,4.7l1.1,6.7c0.1,0.5-0.1,1-0.4,1.4C75,40.2,74.5,40.5,74,40.5z M67.2,34.4c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7l-2.6-5.3l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C66.8,34.5,67,34.4,67.2,34.4z"/><path d="M19.5,40.4c-0.3,0-0.6-0.1-0.8-0.2l-5.9-3.1l-5.9,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.5l1.1-6.6L0.5,27c-0.5-0.5-0.7-1.2-0.5-1.9c0.2-0.7,0.8-1.1,1.5-1.2l6.6-1l3-6c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6l6.6,1c0.7,0.1,1.2,0.6,1.5,1.2c0.2,0.7,0,1.4-0.5,1.9l-4.8,4.7l1.1,6.6c0.1,0.5-0.1,1.1-0.4,1.5C20.6,40.2,20.1,40.4,19.5,40.4z M12.7,34.4c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7l-2.6-5.3l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C12.3,34.5,12.5,34.4,12.7,34.4z"/><path class="st0" d="M26.6,59.6c-0.5,0-0.9-0.2-1.1-0.7c-4.6-8.5-11.3-12.9-16.6-15.7c-0.6-0.3-0.8-1.1-0.5-1.7c0.3-0.6,1.1-0.8,1.7-0.5c5.6,3,12.7,7.6,17.6,16.8c0.3,0.6,0.1,1.4-0.5,1.7C27,59.6,26.8,59.6,26.6,59.6z"/><path d="M53.4,59.6c-0.2,0-0.4,0-0.6-0.1c-0.6-0.3-0.8-1.1-0.5-1.7c4.9-9.1,12-13.8,17.6-16.8c0.6-0.3,1.4-0.1,1.7,0.5c0.3,0.6,0.1,1.4-0.5,1.7c-5.3,2.8-12,7.2-16.6,15.7C54.2,59.4,53.8,59.6,53.4,59.6z"/><path d="M31.2,58.2c-0.6,0-1.2-0.5-1.3-1.1c-1-9.1-5-22.5-6.3-25.4c-0.3-0.6,0-1.4,0.6-1.7c0.6-0.3,1.4,0,1.7,0.6c1.4,2.9,5.5,16.4,6.6,26.2c0.1,0.7-0.4,1.3-1.1,1.4C31.3,58.2,31.2,58.2,31.2,58.2z"/><path  d="M48.8,58.3c0,0-0.1,0-0.1,0c-0.7-0.1-1.2-0.7-1.1-1.4c1.1-9.6,5.6-22.9,7-25.8c0.3-0.6,1.1-0.9,1.7-0.6c0.6,0.3,0.9,1.1,0.6,1.7C55.5,34.9,51,48,50,57.2C49.9,57.8,49.4,58.3,48.8,58.3z"/><path d="M38,57.8c-0.6,0-1.2-0.5-1.3-1.2c0-0.2-2-22.5-4.3-28c-0.3-0.6,0-1.4,0.7-1.7c0.6-0.3,1.4,0,1.7,0.7c2.5,5.8,4.4,27.8,4.5,28.7c0.1,0.7-0.5,1.3-1.1,1.4C38.1,57.8,38.1,57.8,38,57.8z"/><path d="M42.7,57.8C42.7,57.8,42.6,57.8,42.7,57.8c-0.8,0-1.3-0.6-1.3-1.3c0.1-0.9,1.3-22.9,3.7-28.8c0.3-0.6,1-0.9,1.7-0.7c0.6,0.3,0.9,1,0.7,1.7c-2.3,5.5-3.5,27.7-3.5,27.9C43.9,57.3,43.3,57.8,42.7,57.8z"/></svg>');
  mask-image: url('data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 80 60" xml:space="preserve"><path d="M46.8,24.9c-0.3,0-0.6-0.1-0.8-0.2l-6-3.1l-6,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.4l1.1-6.7l-4.8-4.7c-0.5-0.5-0.7-1.2-0.5-1.8C27.5,9,28,8.5,28.7,8.4l6.7-1l3-6.1c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6l6.7,1c0.7,0.1,1.2,0.6,1.4,1.2c0.2,0.7,0,1.4-0.5,1.8l-4.8,4.7l1.1,6.7c0.1,0.5-0.1,1-0.4,1.4C47.8,24.7,47.3,24.9,46.8,24.9z M40,18.9c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7L40,3.9l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C39.6,18.9,39.8,18.9,40,18.9z"/><path d="M74,40.5c-0.3,0-0.6-0.1-0.8-0.2l-6-3.1l-6,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.4l1.1-6.7L54.9,27c-0.5-0.5-0.7-1.2-0.4-1.8c0.2-0.6,0.8-1.1,1.4-1.2l6.7-1l3-6.1c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6.1l6.7,1c0.7,0.1,1.2,0.6,1.4,1.2c0.2,0.6,0,1.3-0.4,1.8l-4.8,4.7l1.1,6.7c0.1,0.5-0.1,1-0.4,1.4C75,40.2,74.5,40.5,74,40.5z M67.2,34.4c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7l-2.6-5.3l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C66.8,34.5,67,34.4,67.2,34.4z"/><path d="M19.5,40.4c-0.3,0-0.6-0.1-0.8-0.2l-5.9-3.1l-5.9,3.1c-0.7,0.4-1.7,0.2-2.2-0.4c-0.3-0.4-0.5-0.9-0.4-1.5l1.1-6.6L0.5,27c-0.5-0.5-0.7-1.2-0.5-1.9c0.2-0.7,0.8-1.1,1.5-1.2l6.6-1l3-6c0.3-0.6,0.9-1,1.6-1c0.7,0,1.3,0.4,1.6,1l3,6l6.6,1c0.7,0.1,1.2,0.6,1.5,1.2c0.2,0.7,0,1.4-0.5,1.9l-4.8,4.7l1.1,6.6c0.1,0.5-0.1,1.1-0.4,1.5C20.6,40.2,20.1,40.4,19.5,40.4z M12.7,34.4c0.2,0,0.4,0,0.6,0.1l5.2,2.7l-1-5.8c-0.1-0.4,0.1-0.8,0.4-1.1l4.2-4.1l-5.8-0.8c-0.4-0.1-0.8-0.3-1-0.7l-2.6-5.3l-2.6,5.3c-0.2,0.4-0.5,0.6-1,0.7l-5.8,0.8l4.2,4.1c0.3,0.3,0.4,0.7,0.4,1.1l-1,5.8l5.2-2.7C12.3,34.5,12.5,34.4,12.7,34.4z"/><path class="st0" d="M26.6,59.6c-0.5,0-0.9-0.2-1.1-0.7c-4.6-8.5-11.3-12.9-16.6-15.7c-0.6-0.3-0.8-1.1-0.5-1.7c0.3-0.6,1.1-0.8,1.7-0.5c5.6,3,12.7,7.6,17.6,16.8c0.3,0.6,0.1,1.4-0.5,1.7C27,59.6,26.8,59.6,26.6,59.6z"/><path d="M53.4,59.6c-0.2,0-0.4,0-0.6-0.1c-0.6-0.3-0.8-1.1-0.5-1.7c4.9-9.1,12-13.8,17.6-16.8c0.6-0.3,1.4-0.1,1.7,0.5c0.3,0.6,0.1,1.4-0.5,1.7c-5.3,2.8-12,7.2-16.6,15.7C54.2,59.4,53.8,59.6,53.4,59.6z"/><path d="M31.2,58.2c-0.6,0-1.2-0.5-1.3-1.1c-1-9.1-5-22.5-6.3-25.4c-0.3-0.6,0-1.4,0.6-1.7c0.6-0.3,1.4,0,1.7,0.6c1.4,2.9,5.5,16.4,6.6,26.2c0.1,0.7-0.4,1.3-1.1,1.4C31.3,58.2,31.2,58.2,31.2,58.2z"/><path  d="M48.8,58.3c0,0-0.1,0-0.1,0c-0.7-0.1-1.2-0.7-1.1-1.4c1.1-9.6,5.6-22.9,7-25.8c0.3-0.6,1.1-0.9,1.7-0.6c0.6,0.3,0.9,1.1,0.6,1.7C55.5,34.9,51,48,50,57.2C49.9,57.8,49.4,58.3,48.8,58.3z"/><path d="M38,57.8c-0.6,0-1.2-0.5-1.3-1.2c0-0.2-2-22.5-4.3-28c-0.3-0.6,0-1.4,0.7-1.7c0.6-0.3,1.4,0,1.7,0.7c2.5,5.8,4.4,27.8,4.5,28.7c0.1,0.7-0.5,1.3-1.1,1.4C38.1,57.8,38.1,57.8,38,57.8z"/><path d="M42.7,57.8C42.7,57.8,42.6,57.8,42.7,57.8c-0.8,0-1.3-0.6-1.3-1.3c0.1-0.9,1.3-22.9,3.7-28.8c0.3-0.6,1-0.9,1.7-0.7c0.6,0.3,0.9,1,0.7,1.7c-2.3,5.5-3.5,27.7-3.5,27.9C43.9,57.3,43.3,57.8,42.7,57.8z"/></svg>');
  margin: 0 auto;
  width: 36px;
  height: 33px;
  background: #222;
}

li:not(.select) .icon-festival:before {
  animation: blink-animation 1.5s steps(5, start) infinite;
  -webkit-animation: blink-animation 1.5s steps(5, start) infinite;
}

@keyframes blink-animation {
  0% {
    background: var(--wehome-color);
  }

  25% {
    background: red
  }

  50% {
    background: blue
  }

  75% {
    background: orange
  }

  100% {
    background: var(--wehome-color);
  }
}

section#main_lists {
  max-width: unset;
  padding-top: 0;
  padding-bottom: 5px;
}

section#main_lists div.row {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(auto-fill, minmax(100%, auto));
}

section#main_lists div.row div.card_wrap {
  padding: 0 var(--padding) 1rem;
  max-width: unset;
}

section#main_lists div.card {
  border: none;
  /* cursor: pointer; */
}

section#main_lists div.card div.ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
}

section#main_lists div.card div.ribbon img {
  width: 80px;
}

section#main_lists div.card div.longstay-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  background-color: rgba(108, 0, 205, 0.9);
  padding: 5px 10px;
  border-radius: 5px;
}

section#main_lists div.card div.longstay-tag .tag-text {
  color: white;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

section#main_lists div.card .show-all-photos {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10000;
  padding: 10px;
}

section#main_lists div.card .show-all-photos .box {
  color: #222;
  background-color: white;
  display: block;
  padding: 5px;
  border: #222 solid 1px;
  border-radius: 5px;
  margin: 5px;
}

section#main_lists div.card div.p_images {
  border-radius: 10px;
  aspect-ratio: 1/1;
  background-color: #f5f5f5;
  cursor: pointer;
}

section#main_lists div.card div.card-body {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

section#main_lists div.card div.card-body h5.card-title {
  margin: 0;
  /* min-height: 2.8em; */
  /* max-height: 2.8em; */
}

section#main_lists div.card div.card-body h5.card-title a {
  font-size: 15px;
  color: #1c1c1c;
  display: block;
  /* -webkit-line-clamp: 2; */
  /* -webkit-box-orient: vertical; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

section#main_lists div.card div.card-body h5.card-title .marquee-text-parent {
  min-height: 2.8em;
  /* max-height: 2.8em; */
  /* JavaScript에서 동적으로 조정됨 */
  /* overflow: hidden; */
  min-width: 0;
  /* Chrome flex item 최소 폭 제한 해제 */
}

section#main_lists div.card div.card-body h5.card-title .marquee-text a {
  display: block;
  /* -webkit-line-clamp: 2; */
  /* -webkit-box-orient: vertical; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  /* Chrome 개행 처리 강화 */
}

section#main_lists div.card div.card-body h6.card-subtitle {
  margin: 0 0 5px 0;
  color: #777;
  font-size: 12px;
}

section#main_lists div.card div.card-body div.p_price {
  text-align: right;
}

section#main_lists div.card div.card-body div.p_price span.price {
  font-size: 17px;
  color: #1c1c1c;
  font-weight: bold;
  text-decoration: underline;
}

section#main_lists div.card div.card-body div.p_price span.night {
  font-size: 13px;
  color: #777;
}

section#main_lists div.card div.card-body .p_price div.weekday-weekend {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
}

section#main_lists div.card div.card-body .p_price div.weekday-weekend .head {
  background-color: #eaeaea;
  color: black;
  border-radius: 6px;
  margin-right: 5px;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
}

section#main_lists div.card div.card-body .p_price .weekday-weekend-hint {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}

section#main_lists div.card div.card-body .card-content {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

section#main_lists div.card div.card-body .card-content-left {
  flex-grow: 1;
  padding-top: 2px;
}

/* section#main_lists div.card div.card-body .card-content-right {
  flex-shrink: 0;
} */

section#main_lists .row .card .card-title {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 0px !important;
}

section#main_lists .row .card .card-title>a {
  flex-grow: 1;
  min-width: 0;
  /* Chrome flex item 최소 폭 제한 해제 */
  overflow-wrap: break-word;
  word-break: break-word;
}

section#main_lists .row .card .review-container {
  margin-top: -5px;
}

section#main_lists .row .card .review-container .review {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
}

section#main_lists .row .card .review-container .review span {
  font-size: 14px;
  margin-top: 3px;
  font-weight: 400;
}

/* ─── r26 통일 카드 스타일 (index_2026 메인과 동일) ─── */
section#main_lists div.card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

section#main_lists div.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

section#main_lists div.card div.p_images {
  border-radius: 0;
  aspect-ratio: 4/3;
}

section#main_lists div.card div.card-body {
  padding: 12px 14px 14px;
  gap: 4px;
}

section#main_lists div.card div.card-body h5.card-title a,
section#main_lists div.card div.card-body h5.card-title .marquee-text a {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

section#main_lists div.card div.card-body h5.card-title .marquee-text-parent {
  min-height: unset;
}

section#main_lists .row .card .review-container {
  margin-top: 0;
}

section#main_lists .row .card .review-container .review {
  justify-content: flex-start;
}

section#main_lists .row .card .review-container .review span {
  font-size: 12px;
  color: #6b7280;
}

section#main_lists div.card div.card-body .card-content {
  margin-top: 2px;
  align-items: flex-end;
}

section#main_lists div.card div.card-body .card-content-left {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 0;
  align-items: flex-start;
}

section#main_lists div.card div.card-body h6.card-subtitle {
  display: inline-block;
  font-size: 10px;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 2px 6px;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  section#main_lists div.row {
    grid-template-columns: repeat(auto-fill, minmax(50%, auto));
  }
}

@keyframes showup {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slidein {
  0% {
    margin-left: -21rem;
  }

  20% {
    margin-left: -21rem;
  }

  35% {
    margin-left: 0px;
  }

  100% {
    margin-left: 0px;
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    width: 0px;
  }

  20% {
    opacity: 1;
    width: 0px;
  }

  30% {
    width: 10.5rem;
  }

  100% {
    opacity: 1;
    width: 10.5rem;
  }
}

/* =========================================
   SEARCHBOX STYLES - Unified from style25.css, style23.css, layout.css
   ========================================= */

/* Base searchbox styles */
#searchbox {
  z-index: -1;
  width: 100vw;
  height: 100vh;
  max-height: 0;
  position: fixed;
  top: 0;
  opacity: 0;
  transition: all 0.2s;
  background: #fff;
  max-width: var(--max-width-in-mobile-only-mode);
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

#searchbox.show {
  max-height: 100vh;
  opacity: 1;
  z-index: 1050;
}

/* Modal header */
#searchbox .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid #dee2e6;
  background: #fff;
  position: relative;
  z-index: 1;
  height: 3.5rem;
}

#searchbox .modal-header .close {
  width: 23px;
  height: 23px;
  top: 1rem;
  left: 1rem;
  right: unset;
  margin: 0;
  padding: 0;
  position: absolute;
}

#searchbox .modal-header .close:before,
#searchbox .modal-header .close:after {
  position: absolute;
  left: 11px;
  content: '';
  height: 20px;
  width: 2px;
  background-color: #000;
  top: 0;
}

#searchbox .modal-header .close:before {
  transform: rotate(45deg);
}

#searchbox .modal-header .close:after {
  transform: rotate(-45deg);
}

#searchbox .modal-header .close:hover,
#searchbox .modal-header .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal body */
#searchbox .modal-body {
  background: #f7f7f7;
  height: calc(100% - 3.5rem);
}

/* Wizard steps - dt/dd */
#searchbox dt {
  background: #fff;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  width: 100%;
  height: 3.5rem;
  /* border: 1px solid #eee; */
  border: 1px solid #e9e9e9;
  /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0); */
  margin-bottom: 1rem;
}

#searchbox dt span {
  font-weight: 500;
}

#searchbox dt span+span {
  font-weight: 400;
  font-size: 0.9rem;
}

#searchbox dt.active {
  display: none;
}

#searchbox dd {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  width: 100%;
  /* border: 1px solid #eee; */
  border: 1px solid #e9e9e9;
  margin-bottom: 1rem;
  /* box-shadow: 0 0 0 1px rgb(0 0 0 / 4%), 0 6px 20px rgb(0 0 0 / 20%); */
}

#searchbox dd.active {
  display: flex;
}

/* Typography */
#searchbox h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

#searchbox h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#searchbox #filterbox p {
  margin-bottom: 1rem;
  font-weight: 300;
}

#searchbox a:not(.btn) {
  color: #222;
  text-decoration: none;
}

/* Search box within filter */
#searchbox #filter-region .search_box {
  margin-top: 0;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  display: flex;
  padding: 0.5rem 1rem;
  /* box-shadow: 1px 1px 8px 0 rgba(0, 0, 0, 0.1); */
  border: 1px solid #ddd;
}

#searchbox #filter-region .search_box .text-wrapper {
  width: 100%;
}

#searchbox #filter-region .search_box .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

/* Favorite areas */
#searchbox #filter-region #wh_fav_area {
  width: 100%;
  padding: 0;
}

#searchbox #filter-region #wh_fav_area>h6 {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 1rem 0 0.5rem;
}

#searchbox #filter-region #wh_fav_area>.radio-button-filter {
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

#searchbox #filter-region #wh_fav_area>.radio-button-filter li {
  margin-right: 10px;
}

#searchbox #filter-region #wh_fav_area>.radio-button-filter a {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  position: relative;
  display: flex;
  word-break: keep-all;
  font-size: 0.9rem;
}

#searchbox #filter-region #wh_fav_area>.radio-button-filter li a.sel {
  background-color: #e5e5e5;
  border: 1px solid #b8b8b8;
}

/* Guest form */
#searchbox #filter-guests .form_guest {
  display: flex;
  margin-top: 1.5rem;
  flex-direction: column;
  gap: 12px;
}

#searchbox #filter-guests .form_guest .guest_type {
  display: flex;
  flex-direction: row;
}

#searchbox #filter-guests .form_guest .guest_type .title {
  flex-grow: 1;
}

#searchbox #filter-guests .form_guest .guest_type .title strong {
  font-weight: 600;
}

#searchbox #filter-guests .form_guest:last-child {
  border-bottom: none;
}

#searchbox #filter-guests .form_guest h6 {
  margin-bottom: 0.5rem;
}

#searchbox #filter-guests .form_guest p {
  margin: 0;
  color: #666;
  line-height: 1em;
}

#searchbox #filter-guests .ctr_num .guest_ctr {
  display: flex;
  justify-content: space-between;
  width: 120px;
}

#searchbox #filter-guests .ctr_num .guest_ctr a {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
}

#searchbox #filter-guests .ctr_num .guest_ctr a span {
  font-size: 1rem;
}

#searchbox #filter-guests .ctr_num .guest_ctr .ctr_value {
  font-size: 1rem;
  align-content: center;
}

/* Bottom button */
#searchbox div#bottom_button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  margin: 0;
  background-color: #fff;
  border-top: 1px solid var(--bottom-naverbar-border-top-color);
  border-left: 1px solid var(--bottom-naverbar-border-side-color);
  border-right: 1px solid var(--bottom-naverbar-border-side-color);
  padding: 1rem 1.5rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto;
  margin-right: auto;
}

/* #searchbox div#bottom_button div.left {
  display: inline-block;
}

#searchbox div#bottom_button div.left div.price {
  color: var(--wehome-color);
  font-size: 15px;
  font-weight: bold;
}

#searchbox div#bottom_button div.left a {
  font-size: 1rem;
  text-decoration: underline;
}

#searchbox div#bottom_button div.right {
  float: right;
  display: inline;
}

#searchbox div#bottom_button .btn {
  color: #fff;
  background-color: #000;
  border: none;
  height: 48px;
  border-radius: 10px;
  padding: 10px 20px;
  line-height: 1em;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#searchbox div#bottom_button .btn .material-symbols-outlined {
  margin-right: 0.5rem;
}

#searchbox div#bottom_button .btn.ready {
  background: #222;
  padding-left: 25px;
  padding-right: 30px;
  background-color: var(--wehome-color);
} */

#wehome-no-history-logo {
  display: none;
  text-align: center;
  padding: 20px 0;
  background: white;
  position: relative;
  z-index: 1000;
  height: var(--wehome-no-history-logo-height);
  border-left: 1px solid var(--bottom-naverbar-border-side-color);
  border-right: 1px solid var(--bottom-naverbar-border-side-color);
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#wehome-no-history-logo.fixed {
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

#wehome-no-history-logo img {
  height: 100%;
  width: auto;
}

div.nav.clean.showing-wehome-no-history-logo {
  margin-top: var(--wehome-no-history-logo-height) !important;
}

div.nav.clean.showing-wehome-no-history-logo+#content,
div.nav.clean.showing-wehome-no-history-logo+#content.edit_calendar {
  padding-top: calc(var(--nav-clean-height) + var(--wehome-no-history-logo-height)) !important;
}

div.nav.clean.showing-wehome-no-history-logo .btn_back {
  display: none !important;
}

/* Mobile specific overrides */
@media (max-width: 767.5px) {
  .wh-root.index #searchbox {
    max-width: var(--max-width-in-mobile-only-mode) !important;
    width: 100%;
  }

  .wh-root.index #searchbox div#bottom_button {
    /*margin-left: -1rem; 2026.03.03 변수연 수정 */
  }
}

@media screen and (max-width: 360px) {

  nav div.row a img,
  nav div.row a svg {
    width: 18px !important;
  }

}

/* Cropper */

.cropper-point {
  width: 14px !important;
  height: 14px !important;
}

.cropper-point.point-e {
  margin-top: 7px !important;
  right: 0px !important;
}

.cropper-point.point-n {
  margin-left: -7px !important;
  top: 0px !important;
}

.cropper-point.point-w {
  left: 0px !important;
  margin-top: -7px !important;
}

.cropper-point.point-s {
  bottom: 0px !important;
  margin-left: -7px !important;
}

.cropper-point.point-ne {
  right: 0px !important;
  top: 0px !important;
}

.cropper-point.point-nw {
  left: 0px !important;
  top: 0px !important;
}

.cropper-point.point-sw {
  bottom: 0px !important;
  left: 0px !important;
}

.cropper-point.point-se {
  bottom: 0px !important;
  right: 0px !important;
}

.swiper-pagination-bullet {
  background-color: #fff !important;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}

/* Listing Price Styles */
.listing-price-display {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-bottom: 5px;
}

.listing-price-display .head {
  font-size: 12px;
  /* color: #666; */
  color: #222;
  margin-right: 8px;
  min-width: 50px;
}

.listing-price-display .price {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Price Detail Modal Styles */
#price_detail_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#price_detail_modal .modal_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#price_detail_modal .popup_content {
  position: relative;
  background: white;
  border-radius: 12px;
  margin: 20px;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
}

#price_detail_modal .popup_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

#price_detail_modal .popup_header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

#price_detail_modal .popup_header .close {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#price_detail_modal .popup_header .close:hover {
  background: #f5f5f5;
}

#price_detail_modal .popup_body {
  padding: 20px;
}

#price_detail_modal .price_breakdown {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#price_detail_modal .price_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

#price_detail_modal .price_item.total_item {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 20px;
  font-weight: 600;
  font-size: 16px;
}

#price_detail_modal .item_name {
  color: #333;
}

#price_detail_modal .item_value {
  font-weight: 500;
  color: #333;
}

#price_detail_modal .deposit_notice {
  margin-top: -5px;
  margin-bottom: 10px;
}

#price_detail_modal .deposit_notice small {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

/* Price Breakdown Modal Styles */
.price-breakdown-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: flex-end;
}

.price-breakdown-modal .modal-content {
  position: relative;
  background-color: #fff;
  border: 0;
  width: 100%;
  animation-name: animatetop;
  animation-duration: 0.4s;
  height: 100vh;
  max-width: var(--max-width-in-mobile-only-mode) !important;
  margin-left: auto;
  margin-right: auto;
}

.price-breakdown-modal .modal-header {
  padding: 0;
  background: #fff;
  position: relative;
  z-index: 1;
  height: 3.5rem;
  border-bottom: 1px solid #ddd;
  align-items: center;
  display: flex;
}

.price-breakdown-modal .modal-header h2 {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.price-breakdown-modal .modal-header .close {
  color: #222;
  display: block;
  position: absolute;
  width: 23px;
  height: 23px;
  left: 1rem;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.price-breakdown-modal .modal-header .close:before,
.price-breakdown-modal .modal-header .close:after {
  position: absolute;
  left: 11px;
  content: '';
  height: 25px;
  width: 2px;
  background-color: #000;
  top: 0;
}

.price-breakdown-modal .modal-header .close:before {
  transform: rotate(45deg);
}

.price-breakdown-modal .modal-header .close:after {
  transform: rotate(-45deg);
}

.price-breakdown-modal .modal-body {
  padding: 2rem 1.5rem;
  height: calc(100% - 3.5rem);
  font-size: 16px;
  display: flex;
  flex-flow: column;
  width: 100%;
  box-sizing: border-box;
  overflow-y: scroll;
}

.price-breakdown-modal .property-info {
  margin-bottom: 2rem;
}

.price-breakdown-modal .property-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.price-breakdown-modal .property-dates {
  font-size: 0.9rem;
  color: #666;
}

.price-breakdown-modal .price-details {
  margin-bottom: 2rem;
}

.price-breakdown-modal .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.price-breakdown-modal .price-item:last-child {
  border-bottom: none;
}

.price-breakdown-modal .price-item.total {
  border-top: 2px solid #ddd;
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.price-breakdown-modal .price-item .label {
  color: #333;
}

.price-breakdown-modal .price-item .amount {
  font-weight: 500;
  color: #333;
}

.price-breakdown-modal .modal-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.price-breakdown-modal .modal-note p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Price Breakdown Button Styles */
.price-breakdown-btn-wrapper {
  margin-top: 0.5rem;
}

.btn-price-breakdown {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.btn-price-breakdown:hover {
  border-color: var(--wehome-color);
  color: var(--wehome-color);
}

.btn-price-breakdown .material-symbols-outlined {
  font-size: 14px;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 간소화된 요금 내역 팝업 스타일 */


/* 모달 열릴 때 body 스크롤 방지 - 모바일 최적화 */
body.modal-open {
  overflow: hidden !important;
  /* position: fixed 제거 - 모바일에서 레이아웃 시프트 방지 */
}

/* simple-price-modal 스크롤 안정성 개선 */
.simple-price-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* vh 단위로 고정 */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 터치 스크롤 방지 */
  touch-action: none;
  -webkit-overflow-scrolling: touch;
}

.simple-price-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.simple-price-modal .modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out;
  z-index: 2000;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* 모달 컨테이너가 스크롤을 완전히 차단 */
.simple-price-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* vh 단위로 고정 */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 터치 스크롤 방지 */
  touch-action: none;
  -webkit-overflow-scrolling: touch;
}

.simple-price-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.simple-price-modal .modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out;
  z-index: 2000;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.simple-price-modal .modal-header {
  padding: 20px 20px 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simple-price-modal .modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.simple-price-modal .close-btn {
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-price-modal .close-btn:hover {
  color: #333;
}

.simple-price-modal .modal-body {
  padding: 20px;
}

.simple-price-modal .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.simple-price-modal .price-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.simple-price-modal .price-item.deposit-item {
  padding-bottom: 0px;
  border-bottom: none;
  margin-bottom: 7px;
}

.simple-price-modal .price-item.deposit-item>* {
  color: #d63031 !important;
}

.simple-price-modal .price-item .label {
  color: #333;
  font-size: 14px;
}

.simple-price-modal .price-item .value {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.simple-price-modal .deposit-notice {
  margin-top: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
  padding-right: 12px;
  padding-left: 12px;
  background-color: #fff5f5;
  border-radius: 6px;
}

.simple-price-modal .deposit-notice small {
  color: #d63031;
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

/* 클릭 가능한 가격 스타일 */
.clickable-price {
  cursor: pointer;
  transition: color 0.2s ease;
}

.clickable-price:hover {
  color: var(--wehome-color, #007bff);
  text-decoration: underline;
}

/* 제외 표시 스타일 */
.exclude {
  color: #d63031 !important;
  font-weight: 600;
}

/* 숙소 가격 힌트 스타일 */
.listing-price-hint {
  font-size: 10px;
  color: #222;
  line-height: 1.4;
  margin-top: 4px;
}

.keep-all {
  word-break: keep-all;
}

.listing-price-hint .exclude {
  font-size: 10px;
  font-weight: 600;
  color: #d63031 !important;
}


/* Wishlist 빈 상태 스타일 */
.wishlist-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 60px 20px; */
  text-align: center;
  flex-grow: 1;
  padding-bottom: 40px;
}

.wishlist-empty-state .empty-icon {
  margin-bottom: 20px;
}

.wishlist-empty-state .empty-icon svg {
  width: 64px;
  height: 64px;
  opacity: 0.6;
}

.wishlist-empty-state .empty-message {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  max-width: 300px;
}

.switch-to-host,
.switch-to-guest {}

.color-red {
  color: red;
}

/* Auto-translated message styling */
.translated-message-box {
  margin-top: 5px;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#content.review-list .reviews li .review .translated-message-box,
.info_box.review .reviews-wrapper ul.reviews li .translated-message-box {
  margin-bottom: 10px;
}

.translated-message-content {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.translated-message-label {
  font-size: 0.75rem;
  color: #999;
  text-align: left;
  /* font-style: italic; */
}

/* Review Height Unification - 리뷰 높이 통일 */
.info_box.review .reviews li {
  height: auto !important;
  min-height: 171px;
}

.info_box.review .reviews li a {
  display: flex;
  align-items: flex-start;
  min-height: 171px;
  padding: 16px;
}

.info_box.review .reviews li .desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 139px;
  /* 171px - 32px padding */
}

.info_box.review .reviews li .review {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.info_box.review .reviews li .review-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  max-height: 4.5em;
  /* 3 lines */
}

.info_box.review .reviews li .translated-message-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  max-height: 4.5em;
  /* 3 lines */
}

/* ============================================
   뱃지 시스템 - 이미지 왼쪽 위 오버레이 (2026-03-04)
   모바일 + PC 공통 스타일
   ============================================ */
section#main_lists div.card .property-badges-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: row;
  /* 가로 배치 (2026-03-04) */
  flex-wrap: wrap;
  /* 뱃지가 많을 경우 줄바꿈 */
  gap: 4px;
  z-index: 2;
  pointer-events: none;
  /* 클릭 이벤트가 뒤의 이미지로 전달되도록 */
}

section#main_lists div.card .property-badges-overlay .badge-item {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 뱃지 타입별 색상 */
section#main_lists div.card .property-badges-overlay .badge-superhost {
  background-color: #F59E0B;
  color: #fff;
}

section#main_lists div.card .property-badges-overlay .badge-instantbook {
  background-color: #3B82F6;
  color: #fff;
}

section#main_lists div.card .property-badges-overlay .badge-popular {
  background-color: #FF385C;
  color: #fff;
}

section#main_lists div.card .property-badges-overlay .badge-new {
  background-color: #10B981;
  color: #fff;
}

section#main_lists div.card .property-badges-overlay .badge-selfcheckin {
  background-color: #8B5CF6;
  color: #fff;
}

/* iOS Safari 자동 확대 방지
 * 입력 필드 font-size가 16px 미만이면 iOS가 포커스 시 자동 확대함
 * @supports (-webkit-touch-callout: none) = iOS Safari에만 적용 */
@supports (-webkit-touch-callout: none) {

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="date"],
  select,
  textarea {
    font-size: max(16px, 1em);
  }
}