/* ==========================================================================
   houzez-child v2.2.1 — share bar, WhatsApp bar polish, mobile tap targets, a11y helpers, YouTube channel icon (restored in v2.2.7)
   Brand: black / gold #C9A84C, 20px rounded corners.
   ========================================================================== */

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

/* --- 1. Share bar --------------------------------------------------------- */
body .rc-share-wrap,
body .rc-share-wrap.rc-share-wrap--property {
	margin: 24px 0 8px !important;
	padding: 0 !important;
	border: 1px solid rgba(201, 168, 76, 0.35) !important;
	border-radius: 20px !important;
	background: #0b0b0b !important;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
}
.rc-share-fallback .rc-share-wrap { margin: 28px auto; }
body .rc-share-wrap .rc-share-inner { padding: 22px 24px !important; margin: 0 !important; }
body .rc-share-wrap .rc-share-title {
	margin: 0 0 14px !important;
	padding: 0 !important;
	line-height: 1.3;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #C9A84C;
}
.rc-share-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rc-share-list li { margin: 0; padding: 0; list-style: none; }
.rc-share-list li::before { content: none !important; }
body .rc-share-wrap .rc-share-btn,
body .rc-share-wrap button.rc-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	padding: 10px 18px !important;
	border: 1px solid rgba(201, 168, 76, 0.6) !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #F5F0E8 !important;
	font-family: "Oswald", sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 400;
	letter-spacing: 0.12em !important;
	line-height: 1;
	text-transform: uppercase !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
	box-shadow: none !important;
	height: auto;
	margin: 0;
}
.rc-share-btn svg { color: #C9A84C; flex-shrink: 0; transition: color .2s ease; }
body .rc-share-wrap .rc-share-btn:hover,
body .rc-share-wrap .rc-share-btn:focus-visible,
body .rc-share-wrap .rc-share-btn.is-copied {
	background: #C9A84C !important;
	border-color: #C9A84C !important;
	color: #0B0B0B !important;
}
.rc-share-btn:hover svg,
.rc-share-btn:focus-visible svg { color: #0B0B0B; }
.rc-share-btn:focus-visible { outline: 2px solid #F5F0E8; outline-offset: 2px; }
.rc-share-btn.is-copied svg { color: #0B0B0B; }
@media (max-width: 480px) {
	body .rc-share-wrap .rc-share-inner { padding: 18px 16px !important; }
	.rc-share-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .rc-share-wrap .rc-share-btn { width: 100%; padding: 10px 12px !important; }
}

/* --- 2. Floating WhatsApp / enquiry bar (created by js/rc-motion.js) ------ */
/* Desktop pill: sit to the left of the Ally accessibility button (bottom-right, ~48px). */
@media (min-width: 768px) {
	.rc-concierge-bar { right: 80px !important; bottom: 18px !important; }
}
/* Phones: leave room on the right for the Ally button so it never covers "Private Enquiry". */
@media (max-width: 767px) {
	body .rc-concierge-bar { padding-right: 68px !important; }
	body .rc-concierge-bar .rc-cb-btn { min-height: 44px; }
	/* Property pages: the Houzez bottom contact bar sat underneath the concierge bar.
	   The concierge bar already offers WhatsApp + Private Enquiry (#enquiry), so hide the duplicate. */
	body.single-property:has(.rc-concierge-bar) .mobile-property-contact { display: none !important; }
}
/* Never cover the Complianz consent banner while it is open. */
body:has(.cmplz-cookiebanner.cmplz-show) .rc-concierge-bar { display: none !important; }
body.rc-cookie-open .rc-concierge-bar { display: none !important; }

/* --- 3. Mobile header tap targets (>= 44 x 44 px) ------------------------- */
@media (max-width: 991.98px) {
	/* Top-bar phone / email icons: wider box, invisible 44px hit area so the bar height is unchanged. */
	.top-bar-wrap .top-bar-contact-info > a {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
	}
	.top-bar-wrap .top-bar-contact-info > a::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 100%;
		min-width: 44px;
		height: 44px;
		transform: translate(-50%, -50%);
	}
	.top-bar-wrap .switcher-wrap > .btn {
		position: relative;
		min-width: 44px;
	}
	.top-bar-wrap .switcher-wrap > .btn::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		height: 44px;
		transform: translateY(-50%);
	}
	.header-mobile .toggle-button-left,
	.header-mobile .header-mobile-right .btn,
	.offcanvas-mobile-menu .btn-close {
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.nav-mobile .nav-mobile-trigger {
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	.nav-mobile .nav-mobile-trigger:focus-visible { outline: 2px solid #C9A84C; outline-offset: -2px; }
}

/* --- 4. YouTube channel icon restored in v2.2.7 (was hidden in 2.2.1). --- */

/* --- 5. Print: no floating UI --------------------------------------------- */
@media print {
	.rc-concierge-bar,
	.rc-share-wrap,
	#ea11y-root { display: none !important; }
}
