/* Stay Management Frontend Styles */

/* Search & Filter Bar */
.stay-search-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	background: #fbf9f5;
	border: 1px solid #e2ded9;
	border-radius: 9999px;
	padding: 8px 12px 8px 24px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	margin-bottom: 36px;
}

.stay-filter-item {
	flex: 1;
	min-width: 150px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	border-right: 1px solid #e3dec9;
}

.stay-filter-item:last-of-type {
	border-right: none;
}

.stay-filter-item .material-symbols-outlined {
	color: #384527;
	font-size: 20px;
}

.stay-filter-item input,
.stay-filter-item select {
	width: 100%;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 0.95rem;
	color: #1c1c19;
	padding: 0 !important;
	margin: 0 !important;
}

.stay-filter-submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #384527;
	color: #ffffff !important;
	border: none;
	border-radius: 9999px;
	padding: 12px 28px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.stay-filter-submit-btn:hover {
	background: #2b371e;
}

/* Stay Grid & Cards */
.stay-grid,
.stay-featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 32px;
}

.stay-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e5e2dd;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.stay-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.stay-card-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.stay-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.stay-card:hover .stay-card-image {
	transform: scale(1.05);
}

.stay-badge-featured {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #fdddb9;
	color: #786044;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: 4px;
}

.stay-card-content {
	padding: 20px 24px 24px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.stay-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;

}

.stay-card-title {
	font-family: 'Noto Serif', serif;
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.25;
}

.stay-card-title a {
	color: #1c1c19;
	text-decoration: none;
	transition: color 0.2s ease;
}

.stay-card-title a:hover {
	color: #384527;
}

.stay-card-price-box {
	text-align: right;
	white-space: nowrap;
}

.stay-card-price-old {
	font-size: 0.85rem;
	text-decoration: line-through;
	color: #75786e;
	margin-right: 4px;
}

.stay-card-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: #384527;
}

.stay-card-price-unit {
	font-size: 0.75rem;
	color: #75786e;
}

.stay-card-location {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.85rem;
	color: #45483f;
	margin-bottom: 12px;
}

.stay-card-location .material-symbols-outlined {
	font-size: 16px;
	color: #384527;
}

.stay-card-excerpt {
	font-size: 0.9rem;
	color: #45483f;
	line-height: 1.5;
	margin-bottom: 20px;
}

.stay-card-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f0ede8;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.stay-card-specs {
	display: flex;
	gap: 12px;
	font-size: 0.8rem;
	color: #45483f;
}

.stay-card-specs span {
	display: flex;
	align-items: center;
	gap: 3px;
}

.stay-card-specs .material-symbols-outlined {
	font-size: 16px;
	color: #384527;
}

.stay-card-btn {
	display: inline-block;
	background: #f0ede8;
	color: #384527;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 9999px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.stay-card-btn:hover {
	background: #384527;
	color: #ffffff;
}

/* Single Stay Page Styles */
.single-stay-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 80px 20px;
}

.single-stay-hero {
	margin-bottom: 40px;
}

.single-stay-gallery-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 12px;
	height: 480px;
	border-radius: 20px;
	overflow: hidden;
}

.single-stay-gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-stay-gallery-main {
	grid-row: span 2;
}

.single-stay-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 48px;
}

.single-stay-title {
	font-family: 'Noto Serif', serif;
	font-size: 2.75rem;
	font-weight: 700;
	color: #1c1c19;
	margin-bottom: 8px;
}

.single-stay-location-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 1.05rem;
	color: #45483f;
	margin-bottom: 24px;
}

.single-stay-specs-bar {
	display: flex;
	gap: 24px;
	padding: 20px 24px;
	background: #fcf9f4;
	border: 1px solid #e5e2dd;
	border-radius: 12px;
	margin-bottom: 36px;
}

.single-stay-spec-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1c1c19;
}

.single-stay-section-title {
	font-family: 'Noto Serif', serif;
	font-size: 1.75rem;
	font-weight: 700;
	margin-top: 36px;
	margin-bottom: 16px;
	color: #384527;
}

/* Sticky Booking Box */
.single-stay-booking-card {
	position: sticky;
	top: 100px;
	background: #ffffff;
	border: 1px solid #e5e2dd;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.single-stay-booking-price {
	font-size: 2rem;
	font-weight: 700;
	color: #384527;
	margin-bottom: 24px;
}

.single-stay-booking-btn-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: #25D366;
	color: #ffffff !important;
	font-size: 1.1rem;
	font-weight: 700;
	padding: 16px;
	border-radius: 9999px;
	text-decoration: none;
	margin-bottom: 12px;
	transition: transform 0.2s ease;
}

.single-stay-booking-btn-whatsapp:hover {
	transform: scale(1.02);
}

.single-stay-booking-btn-direct {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #384527;
	color: #ffffff !important;
	font-size: 1.05rem;
	font-weight: 600;
	padding: 14px;
	border-radius: 9999px;
	text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
	.single-stay-layout {
		grid-template-columns: 1fr;
	}
	.single-stay-gallery-grid {
		grid-template-columns: 1fr;
		height: 300px;
	}
	.stay-search-filter-bar {
		flex-direction: column;
		border-radius: 20px;
		padding: 16px;
	}
	.stay-filter-item {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e3dec9;
		padding-bottom: 10px;
	}
	.stay-filter-submit-btn {
		width: 100%;
		justify-content: center;
	}
}
