:root {
	--bg: #f3f6fb;
	--surface: #ffffff;
	--text: #0f172a;
	--muted: #64748b;
	--border: #e2e8f0;
	--primary: #e11d48;
	--primary-hover: #be123c;
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--radius: 14px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', sans-serif;
	color: var(--text);
	background: var(--bg);
}

body.app-modal-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1140px, calc(100% - 2rem));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.3rem;
	font-weight: 800;
	color: #0f172a;
}

.logo-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0ea5e9, #14b8a6);
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 900;
	font-size: 1.1rem;
}

.main-nav {
	display: flex;
	gap: 1.1rem;
	color: #334155;
	font-weight: 500;
}

.main-nav a:hover {
	color: var(--primary);
}

.header-actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.user-menu {
	position: relative;
}

.user-button {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.8rem 0.4rem 0.4rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 50px;
	color: #334155;
	font-weight: 500;
	cursor: pointer;
	transition: 0.2s ease;
	font-size: 0.95rem;
	height: 40px;
}

.user-button:hover {
	background: #f8fafc;
	border-color: var(--primary);
}

.user-avatar {
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #f0f4f8;
	border-radius: 50%;
	flex-shrink: 0;
}

.close-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background: var(--primary);
	color: #fff;
	border-radius: 50%;
	font-size: 0.7rem;
	margin-left: 0.25rem;
	font-weight: bold;
	flex-shrink: 0;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.5rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
	min-width: 160px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: 0.2s ease;
	z-index: 50;
	overflow: hidden;
}

.dropdown-menu.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.dropdown-item {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	background: none;
	border: none;
	color: #334155;
	font-weight: 500;
	font-size: 0.95rem;
	cursor: pointer;
	text-align: left;
	transition: 0.2s ease;
	text-decoration: none;
}

.dropdown-item:hover {
	background: #f8fafc;
	color: var(--primary);
}

.dropdown-item.logout-item {
	color: #ef4444;
}

.dropdown-item.logout-item:hover {
	background: #fee2e2;
	color: #dc2626;
}

.user-greeting {
	font-size: 0.95rem;
	color: #334155;
	font-weight: 500;
	padding: 0 0.5rem;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	color: #334155;
	font-size: 1.2rem;
	cursor: pointer;
}

.menu-close {
	display: none;
}

.menu-toggle.active .menu-open {
	display: none;
}

.menu-toggle.active .menu-close {
	display: inline;
}

.mobile-menu {
	display: none;
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 12px;
	height: 40px;
	min-width: 110px;
	padding: 0 1.5rem;
	background: linear-gradient(135deg, #0ea5e9, #0369a1);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: 0.2s ease;
	text-align: center;
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn:hover {
	transform: translateY(-1px);
	opacity: 0.95;
	box-shadow: 0 6px 15px rgba(14, 165, 233, 0.3);
}

.app-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: none;
}

.app-modal.is-open {
	display: block;
}

.app-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.58);
	backdrop-filter: blur(5px);
}

.app-modal-dialog {
	position: relative;
	width: min(460px, calc(100% - 2rem));
	margin: min(14vh, 120px) auto 0;
	background: linear-gradient(180deg, #ffffff 0%, #fff6f8 100%);
	border: 1px solid rgba(225, 29, 72, 0.12);
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
	overflow: hidden;
	animation: appModalRise 0.22s ease;
}

.app-modal-content {
	padding: 1.5rem 1.5rem 1.4rem;
}

.app-modal-eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
}

.app-modal-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
	color: #111827;
}

.app-modal-message {
	margin: 0.85rem 0 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #475569;
	white-space: pre-line;
}

.app-modal.app-modal-doc .app-modal-dialog {
	width: min(760px, calc(100% - 2rem));
	margin-top: min(8vh, 64px);
}

.app-modal.app-modal-doc .app-modal-message {
	max-height: min(56vh, 520px);
	overflow-y: auto;
	padding: 0.95rem 1rem;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	white-space: normal;
	line-height: 1.6;
}

.terms-doc {
	font-size: 0.95rem;
	color: #334155;
}

.terms-doc h3 {
	margin: 0.85rem 0 0.35rem;
	font-size: 1rem;
	color: #0f172a;
}

.terms-doc p {
	margin: 0;
	line-height: 1.65;
}

.terms-doc ul {
	margin: 0.4rem 0 0;
	padding-left: 1rem;
}

.terms-doc li {
	margin: 0.22rem 0;
}

.terms-doc .terms-date {
	margin-top: 0.9rem;
	font-size: 0.86rem;
	color: #64748b;
}

.app-modal-actions {
	margin-top: 1.35rem;
	display: flex;
	justify-content: flex-end;
}

.app-modal-confirm {
	min-width: 132px;
}

.app-modal-close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.app-modal-close:hover {
	background: rgba(15, 23, 42, 0.1);
	transform: scale(1.03);
}

@keyframes appModalRise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-ghost {
	background: #fff;
	color: #334155;
	border: 1px solid var(--border);
}

.btn-ghost:hover {
	background: #f8fafc;
}

.main-home {
	position: relative;
	padding: 2rem 0 34px;
	background-color: #cfd8e3;
	background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/GwanganBridgeAtNight.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: auto;
}

.main-home::before {
	content: '';
	position: absolute;
	inset: 0;
	background: transparent;
	display: none;
	z-index: 0;
}

.main-home>* {
	position: relative;
	z-index: 1;
}

.search-hub {
	position: relative;
	z-index: 12;
	display: flex;
	justify-content: center;
	margin-top: 0.4rem;
	margin-bottom: 1.4rem;
}

/* ── 주거 유형 아이콘 바 ── */
.property-types-bar {
	margin-top: 0.2rem;
	margin-bottom: 1.2rem;
	padding: 1.1rem 0 1rem;
	overflow: visible;
}

.property-types-scroll-wrap {
	position: relative;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 0.35rem 0.7rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(4px);
}

.property-types-grid {
	display: flex;
	gap: 1rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.4rem 3.6rem 0.25rem 3.6rem;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.property-types-grid::-webkit-scrollbar {
	display: none;
}

.property-type-icon-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 calc((100% - 7rem) / 8);
	gap: 0.5rem;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, opacity 0.2s;
	scroll-snap-align: start;
}

.property-type-icon-btn:hover {
	transform: translateY(-4px);
	opacity: 0.9;
}

.property-type-icon-btn:active {
	transform: translateY(-2px);
}

.property-type-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid rgba(148, 163, 184, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.95rem;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
	transition: all 0.25s;
}

.property-type-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.property-type-icon-btn:hover .property-type-icon {
	background: #f8fdff;
	border-color: #0ea5e9;
	box-shadow: 0 10px 20px rgba(14, 165, 233, 0.32);
}

.property-type-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #0f172a;
	text-align: center;
	max-width: 90px;
	word-break: break-word;
	line-height: 1.3;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.4);
	border-radius: 999px;
	padding: 0.15rem 0.55rem;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

.property-types-prev-btn,
.property-types-next-btn {
	position: absolute;
	top: 44%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.95);
	color: #0f172a;
	font-size: 1.35rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
	transition: all 0.2s ease;
	z-index: 3;
}

.property-types-prev-btn {
	left: 0.55rem;
}

.property-types-next-btn {
	right: 0.55rem;
}

.property-types-prev-btn:hover:not(:disabled),
.property-types-next-btn:hover:not(:disabled) {
	background: #ffffff;
	border-color: #94a3b8;
	transform: translateY(-50%) scale(1.06);
}

.property-types-prev-btn:disabled,
.property-types-next-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.center-search-form {
	width: 100%;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 15px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	overflow: visible;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.search-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0.9rem 1.35rem;
	gap: 0.28rem;
	min-height: 84px;
	background: #fff;
}

.search-cell+.search-cell {
	border-left: 0;
}

.center-search-form>.search-cell:first-child {
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
}

.search-cell-label {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: #111827;
}

.search-picker-btn,
.search-select,
.center-date-trigger {
	width: 100%;
	height: 38px;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 1.02rem;
	font-weight: 500;
	color: #374151;
}

.search-picker-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.search-select-wrap {
	position: relative;
	width: 100%;
}

.search-picker-btn:focus,
.search-select:focus,
.center-date-trigger:focus {
	outline: none;
}

.search-picker-caret {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1;
	color: #334155;
}

.search-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 1.4rem;
	cursor: pointer;
}

.search-select-caret {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.search-picker-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -1px;
	width: min(420px, 92vw);
	max-height: 440px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 15px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
	padding: 0.95rem;
	display: grid;
	gap: 0.6rem;
	z-index: 60;
}

.search-picker-menu[hidden] {
	display: none;
}

.search-picker-option {
	height: 48px;
	border: 1px solid #e2e8f0;
	border-radius: 15px;
	background: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	padding: 0 1rem;
	color: #334155;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.search-picker-option:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

.search-picker-option.is-selected {
	border-color: #111827;
	background: #f1f5f9;
	color: #111827;
}

/* ── 검색 인풋 트리거 (지역/유형) ── */
.search-input-trigger {
	width: 100%;
	height: 38px;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 1.02rem;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
	caret-color: transparent;
	user-select: none;
}

.search-input-trigger::placeholder {
	color: #374151;
	font-weight: 500;
}

.search-input-trigger:focus {
	outline: none;
}

/* ── 선택 항목 피커 모달 ── */
.picker-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.2rem;
	z-index: 70;
}

.picker-modal.is-open {
	display: flex;
}

.picker-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.42);
}

.picker-modal-dialog {
	position: relative;
	width: min(540px, 100%);
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
	overflow: hidden;
}

.picker-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem 1.5rem;
	border-bottom: 1px solid #e2e8f0;
}

.picker-modal-header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #111827;
}

.picker-modal-close {
	width: 35px;
	height: 35px;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #374151;
	font-size: 1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.picker-modal-close:hover {
	background: #e2e8f0;
}

.picker-modal-body {
	padding: 1.2rem 1.5rem 1.5rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem;
}

.picker-modal-option {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	height: 54px;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	font-size: 1rem;
	font-weight: 600;
	color: #334155;
	padding: 0 1rem;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.18s, background 0.18s;
}

.picker-modal-option:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

.picker-modal-option.is-selected {
	border-color: #e11d48;
	background: #fff1f2;
	color: #9f1239;
}

.picker-modal-option-icon {
	font-size: 1.3rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
}

.picker-modal-option-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.picker-modal-dialog-small {
	width: min(420px, 100%);
}

.picker-modal-body-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: 1.8rem 1.5rem 1.5rem;
	grid-template-columns: unset;
}

.center-date-trigger {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 1rem;
	border: 0;
	border-radius: 15px;
	background: #fff;
	text-align: left;
}

.center-date-trigger:focus {
	outline: none;
}

.main-search-btn {
	align-self: center;
	margin: 0 12px 0 0;
	height: 52px;
	padding: 0 1.35rem;
	border-radius: 15px;
	border: 0;
	background: #e11d48;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.main-search-btn:hover {
	background: #be123c;
}

.housing-types {
	position: relative;
	z-index: 2;
	margin-top: 1.1rem;
	margin-bottom: 0;
	padding-bottom: 0;
}

.type-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.8rem;
}

.type-card {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	min-height: 220px;
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.type-card h3 {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 800;
}

.type-card p {
	margin: 0.9rem 0 0;
	font-size: 0.96rem;
	line-height: 1.45;
	color: #374151;
}

.type-icon {
	text-align: right;
	font-size: 2.4rem;
	line-height: 1;
	opacity: 0.9;
}

/* Featured Properties */
.featured-properties {
	background: #fff;
	padding: 0 0 3rem;
	margin-top: 16px;
}

.featured-properties .container {
	width: min(1140px, calc(100% - 2rem));
	margin: 0 auto;
}

.featured-title {
	margin: 0 0 1.2rem;
	font-size: 1.9rem;
	font-weight: 800;
	color: #0f172a;
}

.featured-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
	align-items: center;
}

.badge-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.92rem;
	color: #475569;
	font-weight: 500;
}

.badge-icon {
	font-size: 1.1rem;
}

.property-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.property-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: inherit;
}

.property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.property-image {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.property-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.discount-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #dc2626;
	color: #fff;
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.location-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	color: #fff;
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	font-size: 0.8rem;
}

/* ── 찜하기 버튼 ── */
.favorite-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	backdrop-filter: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	line-height: 1;
	transition: all 0.25s cubic-bezier(0.35, 0.46, 0.64, 0.88);
	box-shadow: none;
	padding: 0;
}

.favorite-btn:hover {
	background: rgba(225, 29, 72, 0.1);
	transform: scale(1.15);
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.favorite-btn:active {
	transform: scale(0.92);
}

.favorite-btn.is-favorited .favorite-icon {
	color: #e11d48;
	text-shadow: 0 0 8px rgba(225, 29, 72, 0.4);
}

.favorite-icon {
	font-style: normal;
	color: #cbd5e1;
	transition: all 0.25s cubic-bezier(0.35, 0.46, 0.64, 0.88);
	text-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
	filter: drop-shadow(0 0 2px rgba(15, 23, 42, 0.15));
}

.property-info {
	padding: 1.4rem 1.6rem;
}

.property-info h3 {
	margin: 0.8rem 0.8rem 0.5rem 0.8rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.property-address {
	margin: 0 0.8rem 1.1rem 0.8rem;
	font-size: 0.86rem;
	color: #64748b;
	line-height: 1.4;
}

.property-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-top: 1px solid #f1f5f9;
	padding: 1.2rem 0.8rem 0.8rem 0;
	gap: 0.8rem;
}

.property-price {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-left: 0.8rem;
}

.price-label {
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 500;
	margin-left: 0.8rem;
}

.property-price strong {
	font-size: 1.18rem;
	font-weight: 800;
	color: #0f172a;
	margin-top: 0.2rem;
}

.property-rating {
	display: none;
	font-size: 0.88rem;
	font-weight: 600;
	color: #1e293b;
	background: #fef3c7;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
}

/* Date Range Modal */
.date-range-trigger {
	width: 100%;
	height: 48px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0 0.9rem;
	color: #334155;
	font-size: 0.95rem;
	text-align: left;
	cursor: pointer;
}

.date-range-trigger:focus {
	border-color: #fda4af;
	outline: 3px solid #ffe4e6;
}

.date-range-trigger.center-date-trigger {
	border: 0;
	outline: none;
	box-shadow: none;
	padding: 0;
	gap: 0;
}

.date-range-trigger.center-date-trigger:focus {
	border: 0;
	outline: none;
}

.date-range-icon {
	font-size: 1rem;
}

.date-range-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.38);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.2rem;
	z-index: 60;
}

.date-range-modal.active {
	display: flex;
}

.date-range-dialog {
	width: min(900px, 100%);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.calendar-pane,
.duration-pane {
	padding: 1.35rem 1.45rem;
}

.calendar-pane {
	border-right: 1px solid var(--border);
}

.calendar-pane h3,
.duration-pane h3 {
	margin: 0 0 1rem;
	font-size: 1.88rem;
	line-height: 1.25;
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.85rem;
}

.calendar-header strong {
	font-size: 1.1rem;
	font-weight: 800;
}

.calendar-nav {
	display: flex;
	gap: 0.45rem;
}

.calendar-nav button {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #fff;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	color: #374151;
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.2rem;
	margin-bottom: 0.2rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: #9ca3af;
	text-align: center;
}

.calendar-weekdays span:first-child {
	color: #ef4444;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.2rem;
}

.calendar-empty {
	height: 40px;
}

.calendar-day {
	height: 40px;
	border: 0;
	background: transparent;
	border-radius: 999px;
	font-size: 1.22rem;
	cursor: pointer;
	color: #111827;
	position: relative;
	z-index: 1;
}

.calendar-day.in-range {
	background: #f1f5f9;
	border-radius: 10px;
}

.calendar-day.selected,
.calendar-day.checkout {
	background: #111827;
	color: #fff;
	font-weight: 700;
}

.duration-pane {
	position: relative;
	background: #f6f4fa;
}

.date-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	border: 0;
	background: transparent;
	font-size: 1.45rem;
	color: #374151;
	cursor: pointer;
}

.duration-base {
	margin: 0 0 0.9rem;
	font-size: 1.02rem;
	font-weight: 700;
	color: #111827;
}

.duration-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.45rem;
	margin-bottom: 1rem;
}

.duration-option {
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 8px;
	padding: 0.55rem 0.55rem 0.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.22rem;
	text-align: left;
	cursor: pointer;
}

.duration-option strong {
	font-size: 1.7rem;
	line-height: 1.2;
	color: #111827;
}

.duration-option span {
	font-size: 0.85rem;
	color: #6b7280;
}

.duration-option.active {
	border-color: #111827;
	box-shadow: inset 0 0 0 1px #111827;
}

.duration-notice {
	border-top: 1px dashed #d1d5db;
	padding-top: 0.7rem;
}

.duration-notice p {
	margin: 0.3rem 0;
	font-size: 0.83rem;
	line-height: 1.45;
	color: #6b7280;
}

/* Footer */
.site-footer {
	background: #0f172a;
	color: #ffffff;
	margin-top: 2rem;
	padding: 1.8rem 0 1.6rem;
}

.footer-top-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.9rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.7rem;
	max-width: 900px;
}

.footer-links a {
	font-size: 0.93rem;
	font-weight: 600;
	color: #ffffff;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	flex-shrink: 0;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #ffffff;
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-social a span {
	font-size: 0.78rem;
	font-weight: 800;
}

.footer-info-group p,
.footer-business-line,
.footer-office-line,
.footer-copyright,
.footer-disclaimer {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #ffffff;
}

.footer-info-group {
	display: grid;
	gap: 0.05rem;
	margin-bottom: 0.85rem;
}

.footer-info-group strong {
	color: #ffffff;
	font-weight: 800;
}

.footer-business-line {
	padding-top: 0.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-office-line {
	margin-top: 0.2rem;
}

.footer-copyright {
	margin-top: 0.8rem;
	font-size: 0.87rem;
}

.footer-disclaimer {
	margin-top: 0.7rem;
	font-size: 0.94rem;
}

@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}

	.header-actions {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.mobile-menu.active {
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
		padding: 0.6rem 1rem 1rem;
		border-top: 1px solid var(--border);
		background: #fff;
	}

	.mobile-menu a {
		padding: 0.85rem 0.4rem;
		border-radius: 8px;
		font-weight: 600;
		color: #334155;
	}

	.mobile-menu a:hover {
		background: #f8fafc;
		color: var(--primary);
	}

	.mobile-menu-actions {
		display: flex;
		gap: 0.5rem;
		padding-top: 0.5rem;
	}

	.mobile-menu-actions .btn {
		flex: 1;
		min-height: 44px;
		padding: 0.72rem 1rem;
		border-radius: 999px;
		font-size: 1rem;
		font-weight: 700;
		line-height: 1;
		color: #ffffff;
		background: var(--primary);
	}

	.mobile-menu-actions .btn:hover,
	.mobile-menu-actions .btn:focus {
		color: #ffffff;
		background: var(--primary-hover);
	}

	.mobile-menu-actions .btn.btn-ghost {
		color: #334155;
		background: #ffffff;
		border: 1px solid var(--border);
	}

	.mobile-menu-actions .btn.btn-ghost:hover,
	.mobile-menu-actions .btn.btn-ghost:focus {
		color: #334155;
		background: #f8fafc;
	}

	.mobile-menu-actions .user-menu {
		width: 100%;
	}

	.mobile-menu-actions .user-button {
		width: 100%;
		justify-content: center;
		height: 44px;
	}

	.mobile-menu-actions .dropdown-menu {
		position: fixed;
		top: auto;
		right: 1rem;
		left: 1rem;
		margin-top: 0;
	}

	.footer-top-row {
		flex-direction: column;
		gap: 0.7rem;
	}

	.footer-social {
		justify-content: flex-start;
	}

	.footer-business-line,
	.footer-office-line,
	.footer-copyright,
	.footer-disclaimer,
	.footer-info-group p {
		font-size: 0.86rem;
	}

	.center-search-form {
		grid-template-columns: 1fr;
		border-radius: 15px;
	}

	.search-cell {
		min-height: 76px;
	}

	.search-cell+.search-cell {
		border-left: 0;
		border-top: 0;
	}

	.center-search-form>.search-cell:first-child {
		border-top-left-radius: 15px;
		border-top-right-radius: 15px;
		border-bottom-left-radius: 0;
	}

	.search-picker-menu {
		left: 1rem;
		right: 1rem;
		width: auto;
	}

	.main-search-btn {
		margin: 0.8rem;
		height: 44px;
		border-radius: 15px;
	}

	.type-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.date-range-dialog {
		grid-template-columns: 1fr;
		max-height: min(90vh, 840px);
		overflow-y: auto;
	}

	.calendar-pane {
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.duration-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mobile-menu-actions {
		flex-direction: column;
	}

	.mobile-menu-actions .btn {
		height: 46px;
		font-size: 1rem;
		padding: 0 1rem;
		border-radius: 12px;
	}

	.main-home {
		padding: 1.1rem 0 34px;
		min-height: auto;
	}

	.search-cell {
		min-height: 60px;
	}

	.search-picker-btn,
	.search-select,
	.center-date-trigger {
		font-size: 0.95rem;
	}

	.search-picker-menu {
		max-height: 320px;
	}

	.type-grid {
		grid-template-columns: 1fr 1fr;
	}

	.property-grid {
		grid-template-columns: 1fr;
	}

	.type-card {
		min-height: 180px;
		padding: 1rem;
	}

	.type-card p {
		font-size: 0.88rem;
	}

	.type-icon {
		font-size: 2rem;
	}

	.date-range-modal {
		padding: 0.8rem;
	}

	.calendar-pane,
	.duration-pane {
		padding: 1rem;
	}

	.calendar-pane h3,
	.duration-pane h3 {
		font-size: 1.45rem;
	}

	.duration-grid {
		grid-template-columns: 1fr;
	}
}

/* 상세 페이지 */
.property-detail-main {
	background: #f8f9fa;
	padding: 2rem 0;
	min-height: 200vh;
}

.property-detail-container {
	width: min(1140px, calc(100% - 2rem));
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-detail-wrapper {
	display: grid;
	grid-template-columns: 2.33fr 1fr;
	gap: 2rem;
	padding: 2rem;
	align-items: start;
}

.property-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 0;
	background: transparent;
	margin-bottom: 2rem;
}

.property-left-section {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-radius: 8px;
	overflow: hidden;
}

.property-description-sections {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 2rem;
}

.property-right-section {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 88px;
	align-self: start;
	height: fit-content;
	z-index: 10;
}

.gallery-main {
	position: relative;
	width: 100%;
	height: 400px;
	border-radius: 8px;
	overflow: hidden;
	background: #e0e0e0;
}

.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 1.5rem;
	padding: 0.75rem 1rem;
	cursor: pointer;
	border-radius: 4px;
	z-index: 10;
	transition: background 0.3s ease;
}

.gallery-nav:hover {
	background: rgba(0, 0, 0, 0.7);
}

.gallery-prev {
	left: 1rem;
}

.gallery-next {
	right: 1rem;
}

.gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
}

.thumbnail {
	width: 100%;
	height: 80px;
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	object-fit: cover;
	transition: border-color 0.3s ease;
}

.thumbnail:hover {
	border-color: #ff6b6b;
}

.thumbnail.active {
	border-color: #0066cc;
}

.thumbnail-more {
	position: relative;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	padding: 0;
}

.more-count {
	color: white;
	font-size: 1.2rem;
	font-weight: 600;
}

.property-detail-content {
	display: none;
}

.property-header {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background: #fff;
	padding: 1.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-title-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.property-title-section h1 {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0;
	color: #333;
}

.rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.stars {
	font-size: 1.1rem;
}

.rating-text {
	color: #666;
	font-size: 0.95rem;
}

.property-address-detail {
	color: #666;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.property-price-section {
	text-align: left;
	border-top: 1px solid #e0e0e0;
	padding-top: 1.5rem;
}

.price-label {
	color: #999;
	font-size: 0.9rem;
	margin: 0;
}

.price-amount {
	font-size: 2rem;
	font-weight: 700;
	color: #ff6b6b;
	margin: 0.5rem 0 1.5rem;
}

/* About this stay */
.about-stay {
	margin-bottom: 0;
	padding: 0 0 2rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.about-stay h2,
.key-amenities h2,
.house-rules h2,
.location-section h2,
.reviews-section h2 {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 1.5rem;
	color: #333;
}

.about-stay p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.amenities-highlights h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.amenities-highlights ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.amenities-highlights li {
	color: #666;
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.amenities-highlights li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #0066cc;
	font-weight: 600;
}

/* Key amenities */
.key-amenities {
	margin-bottom: 0;
	padding: 0 0 2rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.amenities-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.amenity-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
}

.amenity-icon {
	font-size: 2rem;
}

.amenity-name {
	font-size: 0.9rem;
	color: #333;
	font-weight: 500;
}

/* 숙박 규칙 */
.house-rules {
	margin-bottom: 0;
	padding: 0 0 2rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.rules-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.rule-item {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
}

.rule-item h3 {
	font-size: 0.95rem;
	font-weight: 600;
	color: #333;
	margin: 0 0 0.5rem;
}

.rule-item p {
	color: #666;
	font-size: 0.9rem;
	margin: 0;
}

/* 위치 */
.location-section {
	margin-bottom: 0;
	padding: 0 0 2rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.location-map {
	width: 100%;
	height: 400px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 리뷰 */
.reviews-section {
	margin-bottom: 0;
	padding: 0;
}

.reviews-summary {
	margin-bottom: 2rem;
}

.rating-overview {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
}

.overall-rating {
	font-size: 3rem;
	font-weight: 700;
	color: #333;
}

.rating-stars {
	font-size: 1.1rem;
	display: block;
}

.review-count {
	color: #666;
	font-size: 0.9rem;
}

/* ====== 인증 페이지 (로그인/회원가입) ====== */

.auth-section {
	min-height: calc(100vh - 72px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: var(--bg);
}

.auth-container {
	width: min(1200px, 100%);
}

.auth-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	min-height: 500px;
}

.auth-form-container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
}

.auth-form-content {
	width: 100%;
	max-width: 420px;
}

.auth-title {
	margin: 0 0 0.5rem;
	font-size: 2rem;
	font-weight: 800;
	color: var(--text);
}

.auth-subtitle {
	margin: 0 0 2rem;
	font-size: 1rem;
	color: var(--muted);
	font-weight: 500;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text);
}

.form-control {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 0.95rem;
	color: var(--text);
	background: var(--surface);
	transition: all 0.2s ease;
}

.form-control:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-control::placeholder {
	color: var(--muted);
}

.input-group {
	display: flex;
	gap: 0.5rem;
}

.input-group .form-control {
	flex: 1;
}

.input-group .btn {
	white-space: nowrap;
}

.form-text {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.form-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.95rem;
	color: var(--text);
	font-weight: 500;
}

.form-checkbox input {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--primary);
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.btn-block {
	width: 100%;
	margin-top: 1rem;
}

.btn-secondary {
	background: var(--muted);
	color: white;
	position: relative;
	right: auto;
}

.btn-secondary:hover {
	background: #475569;
}

.auth-footer {
	margin-top: 2rem;
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.auth-footer p {
	margin: 0 0 0.8rem;
	font-size: 0.95rem;
	color: var(--muted);
}

.auth-link {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.auth-link:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.auth-image-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
	padding: 3rem 2rem;
	color: white;
}

.auth-image-content {
	text-align: center;
}

.auth-image-content h3 {
	margin: 0 0 1rem;
	font-size: 2.5rem;
	font-weight: 800;
	color: white;
}

.auth-image-content p {
	margin: 0;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
}

/* 회원가입 폼 확장 */
.signup-form {
	max-width: 480px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
	.auth-wrapper {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: auto;
	}

	.auth-image-container {
		display: none;
	}

	.auth-form-container {
		padding: 2rem 1.5rem;
	}

	.auth-form-content {
		max-width: 100%;
	}

	.type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.property-types-grid {
		gap: 0.8rem;
		padding-top: 0.35rem;
		padding-right: 3rem;
		padding-left: 3rem;
	}

	.property-types-prev-btn {
		left: 0.4rem;
	}

	.property-types-next-btn {
		right: 0.4rem;
	}

	.property-type-icon-btn {
		flex-basis: calc((100% - 1.6rem) / 3);
		gap: 0.8rem;
	}

	.property-types-prev-btn,
	.property-types-next-btn {
		width: 30px;
		height: 30px;
		font-size: 1.15rem;
	}

	.property-type-icon {
		width: 56px;
		height: 56px;
		font-size: 1.55rem;
	}

	.property-type-icon img {
		width: 100%;
		height: 100%;
	}

	.property-type-label {
		font-size: 0.75rem;
		max-width: 88px;
		padding: 0.12rem 0.45rem;
	}

	.rules-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.main-nav {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.mobile-menu {
		display: none;
		flex-direction: column;
		gap: 1rem;
		padding: 1rem 0;
		border-top: 1px solid var(--border);
	}

	.mobile-menu.active {
		display: flex;
	}

	.mobile-menu-actions {
		display: flex;
		gap: 0.5rem;
		padding-top: 1rem;
		border-top: 1px solid var(--border);
	}

	.mobile-menu a {
		padding: 0.75rem 1rem;
		color: #334155;
		font-weight: 500;
	}

	.mobile-menu a:hover {
		color: var(--primary);
	}
}


.reviews-list {
	display: grid;
	gap: 1.5rem;
}

.review-item {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.5rem;
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.review-item h4 {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.review-rating {
	color: #ff9800;
}

.review-author {
	font-size: 0.85rem;
	color: #999;
	margin: 0 0 0.75rem;
}

.review-text {
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* 모바일 하단 예약 버튼 */
.mobile-booking-footer {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	padding: 1rem;
	border-top: 1px solid #e0e0e0;
	z-index: 100;
}

.btn-mobile-booking {
	width: 100%;
	padding: 1rem;
	font-size: 1rem;
	font-weight: 600;
}

/* 반응형 */
@media (max-width: 1024px) {
	.property-detail-wrapper {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.property-left-section {
		order: 1;
	}

	.property-right-section {
		display: none;
	}

	.property-header {
		position: static;
		top: auto;
		background: transparent;
		padding: 1.5rem 1rem;
		border: none;
		border-top: 1px solid #e0e0e0;
		box-shadow: none;
	}

	.property-price-section {
		text-align: left;
		border-top: none;
		padding-top: 0;
	}

	.amenities-grid,
	.rules-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-main {
		height: 300px;
	}

	.mobile-booking-footer {
		display: block;
	}
}

@media (max-width: 640px) {
	.property-detail-container {
		border-radius: 0;
	}

	.property-detail-wrapper {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0;
		align-items: auto;
	}

	.property-left-section {
		grid-column: 1;
		order: 1;
	}

	.property-right-section {
		display: none;
	}

	.property-detail-content {
		padding: 0;
	}

	.property-gallery {
		padding: 0;
		margin-bottom: 0;
	}

	.property-header {
		position: static;
		top: auto;
		padding: 1.5rem 1rem;
		background: transparent;
		border: none;
		border-bottom: 1px solid #e0e0e0;
		box-shadow: none;
	}

	.about-stay {
		padding: 1.5rem 1rem;
	}

	.key-amenities {
		padding: 1.5rem 1rem;
	}

	.house-rules {
		padding: 1.5rem 1rem;
	}

	.location-section {
		padding: 1.5rem 1rem;
	}

	.reviews-section {
		padding: 1.5rem 1rem;
	}

	.property-detail-main {
		padding: 1rem 0;
		padding-bottom: 80px;
	}

	.gallery-main {
		height: 250px;
	}

	.gallery-thumbnails {
		grid-template-columns: repeat(3, 1fr);
	}

	.property-title-section h1 {
		font-size: 1.3rem;
	}

	.price-amount {
		font-size: 1.5rem;
	}

	.amenities-grid,
	.rules-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.amenity-item,
	.rule-item {
		padding: 0.75rem;
	}

	.location-map {
		height: 250px;
	}

	.rating-overview {
		flex-direction: column;
		align-items: flex-start;
	}

	.mobile-booking-footer {
		display: block;
	}
}

/* ========================================
   Booking Page Styles
   ======================================== */

.booking-main {
	padding: 2rem 0 4rem;
	background: var(--bg);
}

.booking-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 2rem;
	padding: 0 1rem;
}

/* Left Section - Form */
.booking-form-section {
	background: transparent;
}

.booking-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.back-button {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.2s;
}

.back-button:hover {
	background: #f8fafc;
	border-color: var(--primary);
}

.booking-header h1 {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text);
}

.booking-subtitle {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Booking Section */
.booking-section {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--border);
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.section-header h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section-icon {
	font-size: 1.3rem;
}

.booking-as {
	font-size: 0.9rem;
	color: var(--muted);
}

.room-capacity {
	background: #f1f5f9;
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #475569;
}

/* Booking Type Selector */
.booking-type-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.booking-type-option {
	border: 2px solid var(--border);
	border-radius: 10px;
	padding: 1.25rem;
	cursor: pointer;
	transition: 0.2s;
	display: block;
}

.booking-type-option:hover {
	border-color: #cbd5e1;
}

.booking-type-option.active {
	border-color: #3b82f6;
	background: #eff6ff;
}

.booking-type-option input[type="radio"] {
	display: none;
}

.option-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.option-icon {
	font-size: 1.2rem;
}

.option-title {
	font-weight: 600;
	font-size: 1rem;
	color: var(--text);
}

.option-description {
	margin: 0;
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.5;
}

/* Forms */
.guest-form,
.room-form {
	margin-top: 1.5rem;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text);
}

.required {
	color: #ef4444;
}

.form-group input,
.form-group select {
	height: 44px;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0 0.875rem;
	font-size: 0.95rem;
	color: var(--text);
	transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
	color: #94a3b8;
}

.booking-behalf {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	background: #f8fafc;
	border-radius: 8px;
	margin-top: 1rem;
}

.booking-behalf input[type="checkbox"] {
	margin-top: 0.25rem;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.booking-behalf label {
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.5;
}

.behalf-note {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

/* Room Form */
.room-subsection-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 1.5rem 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sync-note {
	font-size: 0.8rem;
	font-weight: 400;
	color: var(--muted);
}

.form-note {
	font-size: 0.85rem;
	color: var(--muted);
	margin: -0.5rem 0 1rem;
	font-style: italic;
}

/* Right Section - Summary */
.booking-summary-section {
	position: relative;
}

.booking-summary-sticky {
	position: sticky;
	top: 90px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.summary-icon {
	font-size: 1.3rem;
}

.summary-header h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

/* Property Info in Summary */
.summary-property {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.summary-property-image {
	width: 100px;
	height: 90px;
	border-radius: 8px;
	object-fit: cover;
}

.summary-property-info {
	flex: 1;
}

.summary-property-info h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}

.summary-rating {
	display: flex;
	gap: 2px;
	margin-bottom: 0.5rem;
}

.star {
	font-size: 0.9rem;
}

.summary-location {
	font-size: 0.85rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
}

/* Booking Dates */
.summary-dates {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: #f8fafc;
	border-radius: 8px;
}

.summary-date-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	text-align: center;
}

.date-icon {
	font-size: 1.2rem;
}

/* Selected Rooms */
.summary-rooms {
	margin-bottom: 1.5rem;
}

.summary-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
}

.room-icon {
	font-size: 1rem;
}

.summary-room-card {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1rem;
	background: #fafbfc;
}

.room-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
}

.room-card-header h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.room-quantity {
	background: #e0e7ff;
	color: #3730a3;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
}

.room-card-details {
	padding: 0.75rem 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 0.75rem;
}

.room-card-details p {
	display: flex;
	justify-content: space-between;
	margin: 0.4rem 0;
	font-size: 0.9rem;
	color: #64748b;
}

.room-card-subtotal {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.room-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.badge {
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 500;
}

.badge-breakfast {
	background: #dcfce7;
	color: #166534;
}

.badge-refundable {
	background: #dbeafe;
	color: #1e40af;
}

.badge-cancellation {
	background: #fce7f3;
	color: #9f1239;
}

/* Price Summary */
.summary-pricing {
	padding: 1.5rem 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-bottom: 1.5rem;
}

.price-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	color: #64748b;
}

.price-total {
	font-size: 1.15rem;
	color: var(--text);
	font-weight: 700;
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
}

/* Promo Code */
.summary-promo {
	margin-bottom: 1.5rem;
}

.promo-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.promo-icon {
	font-size: 1.2rem;
}

.promo-input-group {
	display: flex;
	gap: 0.5rem;
}

.promo-input {
	flex: 1;
	height: 44px;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0 0.875rem;
	font-size: 0.9rem;
	text-transform: uppercase;
}

.btn-apply {
	background: #3b82f6;
	color: #fff;
	border: none;
	padding: 0 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
}

.btn-apply:hover {
	background: #2563eb;
}

/* Confirmation Info */
.summary-info {
	background: #eff6ff;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
	font-size: 0.9rem;
	color: #1e40af;
}

.info-icon {
	color: #3b82f6;
	font-weight: bold;
}

/* Payment Button */
.btn-payment-desktop {
	width: 100%;
	margin-top: 0;
}

.mobile-payment-footer {
	display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.booking-container {
		grid-template-columns: 1fr;
	}

	.booking-summary-section {
		order: -1;
	}

	.booking-summary-sticky {
		position: static;
	}

	.btn-payment-desktop {
		display: none;
	}

	.mobile-payment-footer {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #fff;
		padding: 1rem;
		border-top: 1px solid var(--border);
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
		z-index: 30;
	}

	.mobile-payment-footer .btn {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.booking-type-selector {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.summary-dates {
		grid-template-columns: 1fr;
	}

	.booking-summary-sticky {
		padding: 1rem;
	}

	.summary-property {
		flex-direction: column;
	}

	.summary-property-image {
		width: 100%;
		height: 150px;
	}
}

@media (max-width: 425px) {
	.property-grid {
		grid-template-columns: 1fr;
	}
}