/* Single Property Page */
.mhr-single {
	max-width: 100%;
}

.mhr-gallery {
	margin-bottom: 0;
}

.mhr-gallery-main {
	width: 100%;
	max-height: 500px;
	overflow: hidden;
	background: #f5f5f5;
}

.mhr-gallery-main-img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	display: block;
}

.mhr-gallery-thumbs {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: #f5f5f5;
	overflow-x: auto;
}

.mhr-gallery-thumb {
	width: 80px;
	height: 60px;
	flex-shrink: 0;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.mhr-gallery-thumb.active,
.mhr-gallery-thumb:hover {
	border-color: var(--primary, #29aae3);
}

.mhr-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Layout */
.mhr-single-layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 40px;
	padding-top: 30px;
	padding-bottom: 60px;
}

.mhr-single-content {
	min-width: 0;
}

.mhr-single-sidebar {
	position: sticky;
	top: 100px;
	align-self: start;
}

/* Header */
.mhr-single-header {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}

.mhr-single-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.3;
}

.mhr-single-location {
	color: #666;
	font-size: 15px;
	margin: 0 0 12px;
}

.mhr-single-location i {
	margin-right: 4px;
}

.mhr-single-price {
	font-size: 22px;
	font-weight: 700;
	color: var(--primary, #29aae3);
}

/* Quick Facts */
.mhr-quick-facts {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin-bottom: 30px;
}

.mhr-fact {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 70px;
	text-align: center;
}

.mhr-fact-icon {
	font-size: 24px;
	margin-bottom: 4px;
}

.mhr-fact-value {
	font-size: 18px;
	font-weight: 700;
}

.mhr-fact-label {
	font-size: 12px;
	color: #888;
}

/* Sections */
.mhr-section {
	margin-bottom: 36px;
}

.mhr-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary, #29aae3);
	display: inline-block;
}

.mhr-section-content {
	line-height: 1.7;
	color: #444;
}

/* Amenities */
.mhr-amenity-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 8px;
}

.mhr-amenity-item {
	padding: 8px 12px;
	background: #f8f9fa;
	border-radius: 4px;
	font-size: 14px;
}

/* Rules */
.mhr-rules-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.mhr-rule {
	padding: 10px 14px;
	background: #f8f9fa;
	border-radius: 4px;
	font-size: 14px;
}

/* Map */
.mhr-map {
	width: 100%;
	height: 350px;
	background: #eee;
	border-radius: 8px;
}

/* Sidebar boxes */
.mhr-sidebar-box {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
}

.mhr-sidebar-box h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}

/* Inquiry Form */
.mhr-form-group {
	margin-bottom: 14px;
}

.mhr-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}

.mhr-form-group input,
.mhr-form-group select,
.mhr-form-group textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s;
}

.mhr-form-group input:focus,
.mhr-form-group select:focus,
.mhr-form-group textarea:focus {
	border-color: var(--primary, #29aae3);
	outline: none;
}

/* Buttons */
.mhr-btn {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s;
}

.mhr-btn:hover {
	background: #f5f5f5;
}

.mhr-btn--primary {
	background: var(--primary, #29aae3);
	color: #fff;
	border-color: var(--primary, #29aae3);
	font-weight: 600;
}

.mhr-btn--primary:hover {
	opacity: 0.9;
	color: #fff;
}

.mhr-btn--small {
	padding: 6px 12px;
	font-size: 13px;
}

.mhr-inquiry-submit {
	width: 100%;
	padding: 14px;
	font-size: 16px;
}

.mhr-form-note {
	font-size: 12px;
	color: #999;
	margin-top: 10px;
	text-align: center;
}

.mhr-inquiry-message {
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 14px;
}

.mhr-inquiry-message--success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.mhr-inquiry-message--error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* Contact box */
.mhr-contact-name {
	font-weight: 600;
	margin: 0 0 4px;
}

.mhr-contact-phone a {
	color: var(--primary, #29aae3);
	text-decoration: none;
	font-size: 16px;
}

/* Archive / Listing Grid */
.mhr-archive-grid,
.mhr-properties-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 30px 0 60px;
}

.mhr-columns-2 { grid-template-columns: repeat(2, 1fr); }
.mhr-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Property Card */
.mhr-property-card {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: box-shadow 0.3s, transform 0.3s;
	background: #fff;
}

.mhr-property-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	transform: translateY(-2px);
}

.mhr-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.mhr-card-image {
	position: relative;
	height: 220px;
	overflow: hidden;
	background: #f0f0f0;
}

.mhr-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mhr-card-no-image {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 14px;
}

.mhr-card-type {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--primary, #29aae3);
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.mhr-card-body {
	padding: 16px;
}

.mhr-card-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}

.mhr-card-location {
	font-size: 13px;
	color: #888;
	margin: 0 0 10px;
}

.mhr-card-location i {
	font-size: 12px;
	margin-right: 2px;
}

.mhr-card-details {
	display: flex;
	gap: 12px;
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.mhr-card-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary, #29aae3);
	padding-top: 10px;
	border-top: 1px solid #eee;
}

/* Owner Dashboard */
.mhr-dashboard {
	max-width: 1000px;
	margin: 30px auto 60px;
}

.mhr-dashboard-nav {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #eee;
	margin-bottom: 30px;
}

.mhr-dashboard-nav a {
	padding: 12px 20px;
	text-decoration: none;
	color: #666;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s;
}

.mhr-dashboard-nav a:hover,
.mhr-dashboard-nav a.active {
	color: var(--primary, #29aae3);
	border-bottom-color: var(--primary, #29aae3);
}

.mhr-dashboard-table-wrap {
	overflow-x: auto;
}

.mhr-dashboard-table {
	width: 100%;
	border-collapse: collapse;
}

.mhr-dashboard-table th,
.mhr-dashboard-table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.mhr-dashboard-table th {
	font-weight: 700;
	background: #f8f9fa;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #555;
}

.mhr-prop-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.mhr-prop-status--publish { background: #e8f5e9; color: #2e7d32; }
.mhr-prop-status--pending { background: #fff3e0; color: #e65100; }
.mhr-prop-status--draft   { background: #f5f5f5; color: #757575; }

/* Login form */
.mhr-login-form {
	max-width: 400px;
	margin: 40px auto;
	padding: 30px;
	border: 1px solid #eee;
	border-radius: 8px;
}

.mhr-lost-password {
	text-align: center;
	margin-top: 12px;
}

.mhr-lost-password a {
	color: #888;
	font-size: 13px;
}

/* Owner calendar wrapper */
.mhr-owner-calendar-wrapper .mhr-admin-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 6px;
}

.mhr-owner-calendar-wrapper .mhr-admin-actions label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 14px;
}

/* Mode tabs on frontend dashboard */
.mhr-owner-calendar-wrapper .mhr-admin-mode-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 16px;
	border-bottom: 2px solid #eee;
}

.mhr-owner-calendar-wrapper .mhr-mode-tab {
	padding: 10px 20px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
}

.mhr-owner-calendar-wrapper .mhr-mode-tab.active {
	color: var(--primary, #29aae3);
	border-bottom-color: var(--primary, #29aae3);
}

.mhr-owner-calendar-wrapper .mhr-pricing-selection-info {
	margin-top: 12px;
	padding: 16px;
	background: #fff;
	border: 2px solid var(--primary, #29aae3);
	border-radius: 6px;
}

.mhr-owner-calendar-wrapper .mhr-pricing-range {
	display: block;
	font-size: 15px;
	margin-bottom: 12px;
}

.mhr-owner-calendar-wrapper .mhr-pricing-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.mhr-owner-calendar-wrapper .mhr-pricing-input-row label {
	min-width: 130px;
	font-weight: 600;
	font-size: 13px;
}

.mhr-owner-calendar-wrapper .mhr-pricing-input-row input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	width: 160px;
}

.mhr-admin-day-price-selected {
	outline: 2px solid var(--primary, #29aae3) !important;
	outline-offset: -2px;
	background: rgba(41, 170, 227, 0.15) !important;
}

.mhr-admin-day-price-hover {
	background: rgba(41, 170, 227, 0.1) !important;
}

.mhr-admin-day-season {
	font-size: 8px;
	color: #1565c0;
	line-height: 1;
	margin-top: 1px;
}

.mhr-pricing-mode .mhr-admin-day:not(.mhr-admin-day-disabled):not(.mhr-admin-day-empty) {
	cursor: crosshair;
}

.mhr-profile-info {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
	.mhr-single-layout {
		grid-template-columns: 1fr;
	}

	.mhr-single-sidebar {
		position: static;
	}

	.mhr-archive-grid,
	.mhr-properties-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.mhr-gallery-main-img {
		height: 280px;
	}

	.mhr-single-title {
		font-size: 22px;
	}

	.mhr-quick-facts {
		gap: 16px;
	}

	.mhr-archive-grid,
	.mhr-properties-grid {
		grid-template-columns: 1fr;
	}

	.mhr-dashboard-nav {
		flex-wrap: wrap;
	}

	.mhr-dashboard-nav a {
		padding: 10px 14px;
		font-size: 14px;
	}
}

/* Registration form */
.mhr-register-form {
	max-width: 540px;
	margin: 0 auto;
	background: #fff;
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.mhr-register-form h3 {
	margin: 0 0 20px;
	font-size: 22px;
	text-align: center;
}

.mhr-form-group {
	margin-bottom: 16px;
}

.mhr-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 14px;
	color: #333;
}

.mhr-form-group input[type="text"],
.mhr-form-group input[type="email"],
.mhr-form-group input[type="tel"],
.mhr-form-group input[type="password"],
.mhr-form-group input[type="number"],
.mhr-form-group textarea,
.mhr-form-group select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	font-size: 15px;
	transition: border-color .2s;
	box-sizing: border-box;
}

.mhr-form-group input:focus,
.mhr-form-group textarea:focus,
.mhr-form-group select:focus {
	outline: none;
	border-color: #27ae60;
	box-shadow: 0 0 0 3px rgba(39,174,96,.15);
}

.mhr-form-hint {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

.mhr-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.mhr-form-group--wide {
	grid-column: span 2;
}

@media (max-width: 600px) {
	.mhr-form-row {
		grid-template-columns: 1fr;
	}
	.mhr-form-group--wide {
		grid-column: span 1;
	}
}

.mhr-register-login-link {
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
}

.mhr-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.mhr-notice--success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.mhr-notice--error {
	background: #fce4ec;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* Create property form */
.mhr-property-form fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px 24px;
	margin: 0 0 24px;
	background: #fafbfc;
}

.mhr-property-form legend {
	font-size: 16px;
	font-weight: 700;
	color: #27ae60;
	padding: 0 8px;
}

.mhr-property-form .mhr-form-row {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.mhr-form-actions {
	text-align: center;
	padding: 16px 0;
}

.mhr-form-note {
	font-size: 13px;
	color: #888;
	margin-top: 12px;
}

.mhr-btn--lg {
	padding: 14px 40px;
	font-size: 16px;
}

.mhr-btn--full {
	width: 100%;
}
