/*
Theme Name: URLM Homey Parity
Theme URI: https://bommasandra.com/
Author: Sagar Niwas Operations
Description: Compact Homey-compatible marketplace shell for URLM listing, rent, sale, BNB, PG stay, host, booking, and WooCommerce workflows.
Version: 0.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: urlm-homey-parity
*/

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: #f5f8f7;
	color: #16211d;
	font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body.admin-bar .urlm-site-header {
	top: 32px;
}

a {
	color: #0c6b4f;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.urlm-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(18, 36, 29, 0.1);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(18px);
}

.urlm-site-header-inner,
.urlm-site-footer-inner,
.urlm-theme-container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.urlm-site-header-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	min-height: 72px;
}

.urlm-site-brand {
	display: inline-grid;
	gap: 2px;
	color: #10231b;
	font-weight: 900;
	text-decoration: none;
}

.urlm-site-brand strong {
	font-size: 1.05rem;
	line-height: 1.05;
}

.urlm-site-brand span {
	color: #6b746f;
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
}

.urlm-main-nav {
	justify-self: end;
}

.urlm-main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.urlm-main-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 10px;
	border-radius: 6px;
	color: #22382f;
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
}

.urlm-main-nav a:hover,
.urlm-main-nav a:focus {
	background: #eef5f1;
	color: #0c6b4f;
}

.urlm-header-actions {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.urlm-header-button,
.urlm-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 12px;
	border: 1px solid #cddfd6;
	border-radius: 6px;
	background: #fff;
	color: #173c31;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.urlm-header-button-primary {
	border-color: #0c6b4f;
	background: #0c6b4f;
	color: #fff;
}

.urlm-header-button-wa {
	border-color: #25d366;
	background: #25d366;
	color: #082c17;
}

.urlm-menu-toggle {
	display: none;
	width: 42px;
	padding: 8px;
}

.urlm-menu-toggle-bars,
.urlm-menu-toggle-bars::before,
.urlm-menu-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
}

.urlm-menu-toggle-bars {
	position: relative;
}

.urlm-menu-toggle-bars::before,
.urlm-menu-toggle-bars::after {
	position: absolute;
	left: 0;
}

.urlm-menu-toggle-bars::before {
	top: -6px;
}

.urlm-menu-toggle-bars::after {
	top: 6px;
}

.urlm-theme-main {
	min-height: 62vh;
}

.urlm-theme-page {
	padding: 32px 0 56px;
}

.urlm-theme-page-head {
	margin-bottom: 22px;
}

.urlm-theme-eyebrow {
	margin: 0 0 8px;
	color: #b36a2e;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.urlm-theme-page-head h1 {
	margin: 0;
	color: #10231b;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.urlm-theme-page-head p {
	max-width: 780px;
	margin: 10px 0 0;
	color: #4d6259;
}

.urlm-site-footer {
	border-top: 1px solid #dce5df;
	background: #0f1c18;
	color: #dce7e2;
}

.urlm-site-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 24px 0;
}

.urlm-site-footer p {
	margin: 0;
	color: #dce7e2;
}

.urlm-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.urlm-footer-links a {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 920px) {
	body.admin-bar .urlm-site-header {
		top: 46px;
	}

	.urlm-site-header-inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		min-height: 66px;
	}

	.urlm-menu-toggle {
		display: inline-flex;
	}

	.urlm-main-nav {
		position: absolute;
		right: 16px;
		left: 16px;
		top: calc(100% + 8px);
		display: none;
		padding: 10px;
		border: 1px solid #dce5df;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 18px 44px rgba(22, 33, 29, 0.14);
	}

	.urlm-main-nav.is-open {
		display: block;
	}

	.urlm-main-nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		justify-content: stretch;
	}

	.urlm-main-nav a {
		width: 100%;
		justify-content: flex-start;
		background: #f7faf8;
	}
}

@media (max-width: 680px) {
	.urlm-site-header-inner,
	.urlm-site-footer-inner,
	.urlm-theme-container {
		width: min(100% - 20px, 1180px);
	}

	.urlm-header-button {
		min-height: 38px;
		padding: 8px 10px;
		font-size: 0.8rem;
	}

	.urlm-site-brand span {
		display: none;
	}

	.urlm-header-button-primary {
		display: none;
	}

	.urlm-main-nav ul,
	.urlm-site-footer-inner {
		grid-template-columns: 1fr;
	}

	.urlm-footer-links {
		justify-content: flex-start;
	}
}
