/* "Make a Listing" call to action (TCT-11811). */

/* Header button: larger and bolder. */
#top .elementor-widget-button.jet-popup-target .elementor-button {
	padding: 18px 28px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

/* Keyboard focus has to show on the dark header and bar. */
#top .elementor-widget-button.jet-popup-target:focus-visible,
#top .elementor-widget-button.jet-popup-target .elementor-button:focus-visible,
.ct-cta-bar button.ct-cta-bar__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

#top .elementor-widget-button.jet-popup-target .elementor-button-text::before,
.ct-cta-bar__button::before {
	content: "+";
	margin-right: 8px;
	font-size: 1.3em;
	line-height: 0;
	vertical-align: -0.05em;
}

/* Laptop widths: a compact button and tighter menu gaps, so the menu stays on one line. */
@media (min-width: 1025px) and (max-width: 1400px) {
	#top .elementor-widget-button.jet-popup-target .elementor-button {
		padding: 14px 12px;
		font-size: 15px;
	}

	#top .e-n-menu-heading {
		column-gap: 10px;
	}

	#top .e-n-menu-heading > .e-n-menu-item {
		margin-right: 0;
	}
}

.ct-cta-bar {
	display: none;
}

@media (max-width: 767px) {
	/* Logo and menu icon stay on one row; the header button gets its own full-width row.
	   Elementor hides the button on phones by default. */
	body.ct-cta-mobile #top {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 4px 20px;
	}

	body.ct-cta-mobile #top > .e-con:last-child {
		display: contents;
	}

	body.ct-cta-mobile #top .elementor-widget-button.jet-popup-target {
		display: block !important;
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
	}

	body.ct-cta-mobile #top .elementor-widget-button.jet-popup-target .elementor-button {
		display: block;
		width: 100%;
		padding-top: 15px;
		padding-bottom: 15px;
		text-align: center;
	}

	/* Bar that follows the visitor once the header button has scrolled away. */
	.ct-cta-bar {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #26272b;
		transform: translateY(100%);
		visibility: hidden;
		transition: transform 0.2s ease, visibility 0.2s;
	}

	.ct-cta-bar.is-visible {
		transform: none;
		visibility: visible;
	}

	/* Not on top of an open popup (menu, category chooser). */
	body:has(.jet-popup--show-state) .ct-cta-bar {
		display: none;
	}

	/* "Back to top" is stacked above popups and would cover the category tiles. */
	body:has(.jet-popup--show-state) .back-to-top {
		visibility: hidden !important;
	}

	.ct-cta-bar button.ct-cta-bar__button {
		display: block;
		width: 100%;
		min-height: 52px;
		border: 0;
		border-radius: 0;
		background: var(--e-global-color-primary, #cf9232);
		color: #26272b;
		font-family: Montserrat, sans-serif;
		font-size: 18px;
		font-weight: 800;
		text-transform: uppercase;
		cursor: pointer;
	}

	body.ct-cta-bar-on {
		padding-bottom: calc(72px + env(safe-area-inset-bottom));
	}

	/* Keep the fixed "back to top" tab and the cookie settings button above the bar. */
	body.ct-cta-bar-on .back-to-top {
		margin-bottom: calc(72px + env(safe-area-inset-bottom));
	}

	body.ct-cta-bar-on .cky-btn-revisit-wrapper {
		bottom: calc(80px + env(safe-area-inset-bottom)) !important;
	}
}
