/* HMS Pro Frontend Styles */
:root {
	--hms-primary-1: #425749;
	--hms-primary-2: #C23C5A;
	--hms-support-1: #D5A18E;
	--hms-support-2: #DEC3BE;
	--hms-support-3: #758B7C;
	--hms-text-dark: #2d312e;
	--hms-text-muted: #6f746f;
	--hms-border: #e2d7d2;
	--hms-card-bg: #FFFFFF;
}

/* Property Listing */
.hms-property-listing {
	display: grid;
	gap: 24px;
	margin: 24px 0;
}

@media (min-width: 768px) {
	.hms-property-listing {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.hms-property-listing {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hms-property-card {
	background: var(--hms-card-bg);
	border: 1px solid var(--hms-border);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hms-property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hms-property-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.hms-property-content {
	padding: 16px;
}

.hms-property-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--hms-text-dark);
	margin: 0 0 8px;
}

.hms-property-excerpt {
	font-size: 14px;
	color: var(--hms-text-muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

.hms-property-meta {
	display: flex;
	gap: 12px;
	font-size: 13px;
	color: var(--hms-text-muted);
}

.hms-property-price {
	font-size: 16px;
	font-weight: 600;
	color: var(--hms-primary-2);
	margin-top: 8px;
}

/* Single Property Page */
.hms-property-section {
	margin: 32px 0;
	padding: 24px;
	background: var(--hms-card-bg);
	border: 1px solid var(--hms-border);
	border-radius: 8px;
}

.hms-section-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--hms-text-dark);
	margin: 0 0 16px;
	border-bottom: 2px solid var(--hms-primary-1);
	padding-bottom: 8px;
}

.hms-gallery-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	margin-top: 16px;
}

.hms-gallery-item {
	border-radius: 6px;
	overflow: hidden;
	height: 150px;
}

.hms-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Rooms Display */
.hms-rooms-grid {
	display: grid;
	gap: 20px;
}

.hms-room-card {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: var(--hms-card-bg);
	border: 1px solid var(--hms-border);
	border-radius: 8px;
}

@media (max-width: 768px) {
	.hms-room-card {
		flex-direction: column;
	}
}

.hms-room-image {
	width: 200px;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
}

@media (max-width: 768px) {
	.hms-room-image {
		width: 100%;
		height: 200px;
	}
}

.hms-room-details {
	flex: 1;
}

.hms-room-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--hms-text-dark);
	margin: 0 0 8px;
}

.hms-room-description {
	font-size: 14px;
	color: var(--hms-text-muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

.hms-room-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0;
}

.hms-room-feature {
	background: var(--hms-support-2);
	color: var(--hms-text-dark);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
}

.hms-room-price {
	font-size: 20px;
	font-weight: 700;
	color: var(--hms-primary-2);
}

/* Booking CTA */
.hms-book-now-cta {
	background: linear-gradient(135deg, var(--hms-primary-1), var(--hms-support-3));
	color: white;
	padding: 32px;
	border-radius: 10px;
	text-align: center;
	margin: 32px 0;
}

.hms-cta-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 16px;
}

.hms-cta-description {
	font-size: 16px;
	margin: 0 0 24px;
	opacity: 0.9;
}

.hms-cta-button {
	display: inline-block;
	background: var(--hms-primary-2);
	color: white;
	padding: 14px 32px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.hms-cta-button:hover {
	background: #a8334a;
	color: white;
}

/* Compare Tables */
.hms-compare-table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.hms-compare-table th,
.hms-compare-table td {
	padding: 12px 16px;
	border: 1px solid var(--hms-border);
	text-align: left;
}

.hms-compare-table th {
	background: var(--hms-primary-1);
	color: white;
	font-weight: 600;
}

.hms-compare-table tr:nth-child(even) {
	background: rgba(222, 195, 190, 0.1);
}

/* Responsive improvements */
@media (max-width: 768px) {
	.hms-property-section {
		padding: 16px;
		margin: 20px 0;
	}
	
	.hms-section-title {
		font-size: 18px;
	}
	
	.hms-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.hms-compare-table {
		font-size: 14px;
	}
	
	.hms-compare-table th,
	.hms-compare-table td {
		padding: 8px;
	}
}
