/**
 * /summer-deal — 위홈 여름맞이 특가 기획전
 * SSOT: wooseok.md · travel.md §2 · a11y.md · wh-tokens.css
 */
body.index {
  padding-top: 0 !important;
}
html.sp-force-desktop-ui body.index {
  padding-top: var(--sp-dt-header-h, 108px) !important;
}

/* 모바일 상단바 — 메인 compact .r26-header 와 동일 */
.sd-r26-header.r26-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
  min-height: 52px;
  padding-top: calc(12px + var(--safe-t, env(safe-area-inset-top, 0px)));
  padding-bottom: 8px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--wh-card, #fff);
  border-bottom: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  color: var(--wh-tx, #1A1A1A);
}
.sd-r26-header .r26-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.sd-r26-header .r26-header-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: none;
}
.sd-r26-header .r26-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sd-r26-header .r26-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  color: var(--wh-tx, #1A1A1A);
  overflow: hidden;
  position: relative;
  padding: 0;
  text-decoration: none;
  transition: transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.sd-r26-header .r26-header-btn:active {
  transform: scale(var(--wh-scale-press-deep, 0.92));
}
.sd-r26-header .r26-header-btn svg {
  fill: var(--wh-tx, #1A1A1A);
}
.sd-r26-header .r26-header-profile-btn {
  padding: 0;
  background: rgba(0, 0, 0, 0.04);
}
.sd-r26-header .r26-header-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sd-r26-header .r26-header-btn.notif-bell-trigger {
  overflow: visible;
}
.sd-r26-header .notif-badge-main {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
  border-color: transparent;
}
html.sp-force-desktop-ui .sd-r26-header {
  display: none !important;
}
@media (min-width: 1024px) {
  html.sp-force-desktop-ui .sd-page {
    padding-top: 0;
  }
}

/* 사이드 메뉴 (메인 index-r26 최소 복사) */
.r26-side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
}
.r26-side-overlay.ready {
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.r26-side-overlay.on {
  opacity: 1;
  visibility: visible;
}
#r26SideMenu {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  margin: 0;
  width: 292px;
  height: 100vh;
  background: var(--wh-bg, #F5F5F5);
  z-index: 9999;
  box-shadow: var(--wh-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.06));
  border-radius: 0 var(--wh-radius-lg, 24px) var(--wh-radius-lg, 24px) 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.32s;
}
#r26SideMenu.on {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}
.r26-side-topbar {
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
  flex-shrink: 0;
}
.r26-side-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wh-surface, #f4f5f7);
  border: none;
  cursor: pointer;
  transition: background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.r26-side-close:hover {
  background: var(--wh-bd, rgba(0, 0, 0, 0.06));
}
.r26-side-close svg {
  fill: var(--txt2, var(--wh-tx2));
}
.r26-side-profile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 20px 20px;
  text-decoration: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.r26-side-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wh-brand, #681DC7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.r26-side-avatar-guest {
  background: var(--wh-surface, #f4f5f7);
}
.r26-side-avatar-guest svg {
  fill: var(--txt3, #8b95a1);
}
.r26-side-avatar-photo {
  background: var(--wh-card, #fff);
  border: 2px solid var(--wh-brand, #681DC7);
  box-sizing: border-box;
}
.r26-side-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.r26-side-user-info {
  flex: 1;
  min-width: 0;
}
.r26-side-username {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.r26-side-user-sub {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 13px;
  color: var(--wh-brand, #681DC7);
  font-weight: 500;
  padding: 3px 8px 3px 10px;
  border-radius: 20px;
  background: rgba(104, 29, 199, 0.1);
}
.r26-side-user-sub svg {
  fill: var(--wh-brand, #681DC7);
}
.r26-side-login-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 22px;
  background: var(--wh-brand, #681DC7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.r26-side-content {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.r26-side-content::-webkit-scrollbar {
  display: none;
}
.r26-side-group-label {
  font-size: 12px;
  font-weight: 600;
  color: #8e8e93;
  padding: 14px 20px 5px;
  margin: 0;
}
.r26-side-group {
  background: #fff;
  border-radius: 12px;
  margin: 0 12px 2px;
  overflow: hidden;
}
.r26-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
  transition: background 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.r26-side-item:last-child {
  border-bottom: none;
}
.r26-side-item:active {
  background: #ebebf0;
}
.r26-side-chevron {
  fill: #c7c7cc;
  flex-shrink: 0;
}
.r26-side-footer {
  padding: 14px 20px 24px;
  border-top: 0.5px solid rgba(60, 60, 67, 0.18);
  flex-shrink: 0;
}
.r26-side-footer a {
  font-size: 12px;
  color: #8e8e93;
  text-decoration: none;
}
html.sp-force-desktop-ui .r26-side-overlay,
html.sp-force-desktop-ui #r26SideMenu {
  display: none !important;
}

.sd-page {
  box-sizing: border-box;
  min-height: 60vh;
  background: var(--wh-bg, #F5F5F5);
  /* 하단 스마트 네비(#bottom_nav) + home indicator */
  padding-bottom: calc(48px + var(--bottom-naverbar-height, 66px) + var(--safe-b, env(safe-area-inset-bottom, 0px)));
  font-family: var(--wh-ff);
}
@media (min-width: 1024px) {
  html.sp-force-desktop-ui .sd-page {
    padding-bottom: 48px;
  }
}
.sd-page *,
.sd-page *::before,
.sd-page *::after {
  box-sizing: border-box;
}

.sd-hero {
  position: relative;
  width: 100%;
  padding: 16px 16px 0;
  background: var(--wh-card, #fff);
  color: var(--wh-tx, #1A1A1A);
  display: flex;
  justify-content: center;
}
.sd-hero-frame {
  position: relative;
  width: 100%;
  max-width: 1086px;
  aspect-ratio: 16 / 9;
  border-radius: var(--wh-radius-md, 20px);
  overflow: hidden;
  background: #d6eef8;
  box-shadow: var(--wh-shadow-listing);
}
.sd-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.sd-hero-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px 14px;
  pointer-events: none;
  /* 어두운 scrim 금지 (wooseok.md §7 2026-07-31) */
}
.sd-hero-inner .sd-badge,
.sd-hero-inner .sd-hero-count {
  pointer-events: auto;
}
.sd-hero-inner .sd-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: var(--wh-radius-pill, 999px);
  background: var(--wh-brand-tint, #F3EEFA);
  border: 1px solid var(--wh-info-bd, #D9CCF0);
  color: var(--wh-brand, #681DC7);
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sd-hero h1,
.sd-hero-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sd-hero-count {
  margin: 0;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--wh-radius-pill, 999px);
  background: rgba(255, 255, 255, 0.92);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 700;
  color: var(--wh-tx, #1A1A1A);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sd-chips-wrap {
  position: sticky;
  /* .sd-r26-header 실제 높이(패딩 12px + 세이프에어리어 + 아이콘 40px + 패딩 8px)만큼 아래에서 sticky —
     top:0으로 두면 컴팩트 헤더와 같은 지점에 겹쳐 스크롤 시 필터바 상단이 헤더에 가려짐(2026-08-07) */
  top: calc(60px + var(--safe-t, env(safe-area-inset-top, 0px)));
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
html.sp-force-desktop-ui .sd-chips-wrap {
  top: var(--sp-dt-header-h, 108px);
}
.sd-filter {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px 10px;
}
.sd-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd-input, rgba(0, 0, 0, 0.42));
  border-radius: var(--wh-radius-md, 20px);
  box-shadow: var(--wh-shadow);
  overflow: visible;
  min-height: 56px;
}
.sd-search:focus-within {
  border-color: var(--wh-brand, #681DC7);
  box-shadow: 0 0 0 2px var(--wh-brand-soft, rgba(104, 29, 199, 0.12));
}
.sd-search-seg {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 6px 16px 6px 18px;
  position: relative;
}
.sd-search-seg + .sd-search-seg::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--wh-bd, rgba(0, 0, 0, 0.06));
}
/* 라벨은 값(placeholder)과 중복 텍스트 — 시각적으로만 숨기고 스크린리더용으로 유지
   (검색카드가 라벨+값 2줄씩 3행이라 상단이 과도하게 커 보이는 문제, 2026-08-07) */
.sd-search-seg label,
.sd-search-seg__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sd-date-field {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 500;
  color: var(--wh-tx, #1A1A1A);
  line-height: 1.3;
  cursor: pointer;
}
.sd-date-field:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
  border-radius: 6px;
}
.sd-date-field__text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sd-date-field__text.is-placeholder {
  color: var(--wh-tx2, #4A4A4A);
  font-weight: 500;
}
.sd-search-seg--sort {
  position: relative;
  z-index: 2;
}
.sd-sort-field {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 500;
  color: var(--wh-tx2, #4A4A4A);
  line-height: 1.3;
  cursor: pointer;
}
.sd-sort-field:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
  border-radius: 6px;
}
.sd-sort-field__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-sort-field__chev {
  flex: 0 0 auto;
  color: var(--wh-tx3, #8b95a1);
}
.sd-sort-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 200px;
  width: max-content;
  max-width: min(280px, 90vw);
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  box-shadow: var(--wh-shadow-listing, 0 8px 24px rgba(0, 0, 0, 0.08));
  padding: 8px;
}
.sd-sort-panel[hidden] {
  display: none !important;
}
.sd-sort-option {
  appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 600;
  color: var(--wh-tx, #1A1A1A);
  text-align: left;
  cursor: pointer;
}
.sd-sort-option:hover {
  background: var(--wh-brand-tint, #F3EEFA);
}
.sd-sort-option.is-active {
  color: var(--wh-brand, #681DC7);
  background: var(--wh-brand-tint, #F3EEFA);
}
.sd-sort-option:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}

/* 흰 패널 월간 range 달력 — dim/scrim 없음 */
.sd-cal-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% - 4px);
  z-index: 30;
  background: var(--wh-card, #fff);
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  border-radius: var(--wh-radius-md, 20px);
  box-shadow: var(--wh-shadow-listing, 0 8px 24px rgba(0, 0, 0, 0.08));
  padding: 14px 14px 12px;
  max-width: 420px;
}
.sd-cal-panel[hidden] {
  display: none !important;
}
.sd-cal-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.sd-cal-panel__title {
  flex: 1;
  text-align: center;
  font-size: var(--wh-text-md, 1rem);
  font-weight: 700;
  color: var(--wh-tx, #1A1A1A);
  letter-spacing: -0.02em;
}
.sd-cal-nav {
  appearance: none;
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  background: var(--wh-card, #fff);
  color: var(--wh-tx, #1A1A1A);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.sd-cal-nav:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.sd-cal-weekdays span {
  text-align: center;
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 600;
  color: var(--wh-tx3, #8b95a1);
  padding: 4px 0;
}
.sd-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.sd-cal-day {
  appearance: none;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  min-height: 44px;
  min-width: 0;
  border-radius: 0;
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 600;
  color: var(--wh-tx, #1A1A1A);
  cursor: pointer;
  padding: 0;
}
.sd-cal-day-n {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--wh-motion-fast, 180ms) var(--wh-ease-out-smooth, ease);
}
.sd-cal-day.is-empty {
  pointer-events: none;
  visibility: hidden;
}
.sd-cal-day.is-disabled {
  cursor: not-allowed;
}
.sd-cal-day.is-disabled .sd-cal-day-n {
  opacity: 0.55;
}
/* 범위 tint 바 — 검색 오버레이 range_bg 패턴 */
.sd-cal-day.is-in-range::before,
.sd-cal-day.is-start.has-range::before,
.sd-cal-day.is-end.has-range::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  background: var(--wh-brand-tint, #F3EEFA);
  z-index: 1;
  pointer-events: none;
}
.sd-cal-day.is-in-range::before {
  left: 0;
  right: 0;
}
.sd-cal-day.is-start.has-range:not(.is-end)::before {
  left: 50%;
  right: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.sd-cal-day.is-end.has-range:not(.is-start)::before {
  left: 0;
  right: 50%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.sd-cal-day.is-start.is-end::before {
  display: none;
}
.sd-cal-day.is-in-range .sd-cal-day-n {
  color: var(--wh-brand, #681DC7);
}
.sd-cal-day.is-start .sd-cal-day-n,
.sd-cal-day.is-end .sd-cal-day-n {
  background: var(--wh-brand, #681DC7);
  color: #fff;
}
.sd-cal-day.is-today:not(.is-start):not(.is-end) .sd-cal-day-n {
  box-shadow: inset 0 0 0 2px var(--wh-brand, #681DC7);
}
.sd-cal-day:not(.is-disabled):not(.is-empty):not(.is-start):not(.is-end):hover .sd-cal-day-n {
  background: var(--wh-brand-tint, #F3EEFA);
}
.sd-cal-day.is-start:hover .sd-cal-day-n,
.sd-cal-day.is-end:hover .sd-cal-day-n {
  background: var(--wh-brand, #681DC7);
}
.sd-cal-day:focus-visible {
}
.sd-cal-day:focus-visible .sd-cal-day-n {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-cal-panel__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
}
.sd-cal-done {
  appearance: none;
  border: 0;
  background: var(--wh-brand, #681DC7);
  color: #fff;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 700;
  cursor: pointer;
}
.sd-cal-done:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-search-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 8px;
}
.sd-search-btn {
  appearance: none;
  border: 0;
  background: var(--wh-brand, #681DC7);
  color: #fff;
  border-radius: var(--wh-radius-btn, 18px);
  padding: 0 18px;
  min-height: var(--wh-touch-min, 44px);
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background var(--wh-motion-fast, 180ms) var(--wh-ease-out-smooth, ease),
    transform var(--wh-motion-fast, 180ms) var(--wh-ease-press, ease);
}
.sd-search-btn:hover {
  background: var(--wh-brand-hover, #5416A3);
  color: #fff;
}
.sd-search-btn:active {
  transform: scale(var(--wh-scale-press, 0.96));
}
.sd-search-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.sd-search-btn:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-search-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.sd-search-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wh-tx3, #6B6B6B);
  font-family: var(--wh-ff);
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 600;
  padding: 8px 12px;
  min-height: var(--wh-touch-min, 44px);
  cursor: pointer;
  border-radius: var(--wh-radius-btn, 18px);
  white-space: nowrap;
}
.sd-search-clear:hover {
  color: var(--wh-tx, #1A1A1A);
  background: var(--wh-surface, #f4f5f7);
}
.sd-search-clear:disabled {
  opacity: 0.45;
  cursor: wait;
}
.sd-search-clear:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-toolbar-status {
  margin-top: 8px;
  padding: 0 4px;
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 600;
  color: var(--wh-tx3, #6B6B6B);
  min-height: 1.1em;
  letter-spacing: -0.01em;
}

.sd-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 14px;
}
.sd-chips::-webkit-scrollbar {
  display: none;
}
.sd-chip {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--wh-card, #fff);
  color: var(--wh-tx2, #4A4A4A);
  border-radius: var(--wh-radius-pill, 999px);
  padding: 8px 14px;
  min-height: var(--wh-touch-min, 44px);
  font-family: var(--wh-ff);
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    background var(--wh-motion-fast, 180ms) ease,
    color var(--wh-motion-fast, 180ms) ease,
    border-color var(--wh-motion-fast, 180ms) ease,
    box-shadow var(--wh-motion-fast, 180ms) ease;
}
.sd-chip:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--wh-tx, #1A1A1A);
}
.sd-chip.is-active {
  background: var(--wh-brand-tint, #F3EEFA);
  border-color: var(--wh-info-bd, #D9CCF0);
  color: var(--wh-brand, #681DC7);
  box-shadow: none;
}
.sd-chip:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}

@media (max-width: 719px) {
  /* 체크인·체크아웃·정렬 한 줄로 압축 (기존 3행 라벨형 → 1행, 2026-08-07 "검색바 비중 과다" 축소) */
  .sd-search {
    flex-wrap: wrap;
    border-radius: 18px;
    min-height: 0;
  }
  .sd-search-seg {
    padding: 8px 10px 8px 12px;
  }
  .sd-search-cta {
    flex: 1 1 100%;
    padding: 8px 10px 10px;
    border-top: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
    justify-content: stretch;
  }
  .sd-search-btn {
    flex: 1;
    justify-content: center;
  }
  .sd-search-clear {
    flex: 0 0 auto;
  }
  .sd-cal-panel {
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .sd-search-seg--sort .sd-sort-panel {
    left: auto;
    right: 0;
    width: max-content;
    max-width: min(240px, 90vw);
    min-width: 160px;
  }
}

.sd-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 0;
}
.sd-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--wh-tx3, #6B6B6B);
  font-size: 0.9375rem;
}
.sd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}
@media (min-width: 720px) {
  .sd-hero {
    padding: 20px 24px 0;
  }
  .sd-hero-inner {
    padding: 16px 18px 18px;
  }
  .sd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
  }
}
@media (min-width: 1024px) {
  .sd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sd-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--wh-card, #fff);
  border-radius: var(--wh-radius-md, 20px);
  overflow: hidden;
  border: 1px solid var(--wh-bd, rgba(0, 0, 0, 0.06));
  box-shadow: var(--wh-shadow-listing);
}
.sd-card:hover,
.sd-card:focus,
.sd-card:active {
  text-decoration: none !important;
}
.sd-card:focus-visible {
  outline: 2px solid var(--wh-focus-ring, var(--wh-brand));
  outline-offset: 2px;
}
.sd-card:hover .sd-card-title,
.sd-card:hover .sd-card-loc,
.sd-card:hover .sd-card-avail,
.sd-card:hover .sd-card-tag,
.sd-card:hover .sd-card-rating,
.sd-card:hover .sd-card-price-sale,
.sd-card:focus .sd-card-title,
.sd-card:focus .sd-card-loc,
.sd-card:focus .sd-card-avail,
.sd-card:focus .sd-card-tag,
.sd-card:focus .sd-card-rating,
.sd-card:focus .sd-card-price-sale {
  text-decoration: none !important;
}
.sd-card:hover .sd-card-price-orig,
.sd-card:focus .sd-card-price-orig,
.sd-card:active .sd-card-price-orig {
  text-decoration: line-through !important;
}

.sd-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--wh-bg, #F5F5F5);
  overflow: hidden;
  border-radius: var(--wh-radius-md, 20px) var(--wh-radius-md, 20px) 0 0;
}
.sd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--wh-motion-hover, 120ms) var(--wh-ease-out-smooth, ease);
}
@media (hover: hover) and (pointer: fine) {
  .sd-card.wh-lift:hover .sd-card-media img {
    transform: scale(1.03);
  }
}
.sd-disc {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--wh-radius-pill, 999px);
  background: var(--wh-brand-tint, #F3EEFA);
  color: var(--wh-brand, #681DC7);
  border: 1px solid var(--wh-info-bd, #D9CCF0);
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sd-badges {
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}
.sd-badge {
  display: inline-block;
  font-size: var(--wh-text-xs, 0.75rem);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--wh-radius-pill, 999px);
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
}
.sd-badge-superhost {
  background: var(--wh-warn-bg, #fffbeb);
  color: var(--wh-warn-tx, #92400e);
  border-color: var(--wh-warn-bd, #fde68a);
}
.sd-badge-popular {
  background: var(--wh-err-bg, #fef2f2);
  color: var(--wh-err-tx, #b91c1c);
  border-color: var(--wh-err-bd, #fecaca);
}
.sd-badge-new {
  background: var(--wh-ok-bg, #ecfdf5);
  color: var(--wh-ok, #0f766e);
  border-color: var(--wh-ok-bd, #a7f3d0);
}
.sd-badge-instant {
  background: var(--wh-ok-bg, #ecfdf5);
  color: var(--wh-ok, #0f766e);
  border-color: var(--wh-ok-bd, #a7f3d0);
}
.sd-badge-selfcheckin {
  background: var(--wh-info-bg, #F3EEFA);
  color: var(--wh-brand, #681DC7);
  border-color: var(--wh-info-bd, #D9CCF0);
}
.sd-card-body {
  padding: 10px 12px 12px;
}
.sd-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.sd-card-title {
  font-family: var(--wh-ff);
  font-size: var(--card-fs-title, 0.9375rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--wh-tx, #1A1A1A);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sd-card-rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--card-fs-rating, 0.875rem);
  font-weight: 700;
  color: var(--wh-tx, #1A1A1A);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.sd-card-rating svg {
  width: 15px;
  height: 15px;
  fill: #F5A623;
}
.sd-card-loc {
  margin-top: 2px;
  font-size: var(--card-fs-loc, 0.8125rem);
  color: var(--wh-tx2, #4A4A4A);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-card-avail {
  margin-top: 2px;
  font-size: var(--wh-text-sm, 0.875rem);
  font-weight: 700;
  color: var(--wh-brand, #681DC7);
  line-height: 1.3;
}
.sd-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.sd-card-tag {
  font-size: var(--card-fs-tag, 0.8125rem);
  font-weight: 600;
  color: var(--wh-tx2, #4A4A4A);
  background: var(--wh-surface, #f4f5f7);
  border-radius: 8px;
  padding: 3px 8px;
  line-height: 1.4;
}
.sd-card-price {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.sd-card-price-orig {
  font-size: var(--wh-text-sm, 0.875rem);
  color: var(--wh-tx3, #6B6B6B);
  text-decoration: line-through;
}
.sd-card-price-sale {
  font-size: var(--card-fs-price, 1rem);
  font-weight: 700;
  color: var(--wh-tx, #1A1A1A);
  letter-spacing: -0.02em;
}
.sd-card-price-unit {
  font-size: var(--card-fs-unit, 0.8125rem);
  font-weight: 500;
  color: var(--wh-tx2, #4A4A4A);
}
.sd-card.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .sd-search-btn,
  .sd-chip,
  .sd-card-media img {
    transition: none !important;
  }
}
html.wh-reduce-motion .sd-search-btn,
html.wh-reduce-motion .sd-chip,
html.wh-reduce-motion .sd-card-media img {
  transition: none !important;
}

/* 앱 웹뷰: 칩 스티키 끔 · 히어로 확대 크롭 완화 · 숙소 뱃지 한 줄 */
html.wh-wehome-app .sd-chips-wrap {
  position: static;
  top: auto;
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
html.wh-wehome-app .sd-hero-img {
  object-fit: contain;
  background: var(--wh-bg-stay, #F5F5F5);
}
html.wh-wehome-app .sd-badges {
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 72%;
  right: auto;
  align-items: center;
}
html.wh-wehome-app .sd-badge:nth-child(n+3) {
  display: none;
}
