/*
Theme Name: Decorciment România Child
Description: Child theme for decorciment.ro, based on Hello Elementor.
Author: BoltyWeb
Template: hello-elementor
Version: 2026.08.21.2
Text Domain: decorciment-ro-child
*/

:root {
	--dcro-accent: #b28c5b;
	--dcro-text: #222;
	--dcro-border: #d7d7d7;
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid var(--dcro-accent);
	outline-offset: 3px;
}

.dcro-contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.dcro-form-field,
.dcro-form-field span {
	display: block;
}

.dcro-form-field--full {
	grid-column: 1 / -1;
}

.dcro-contact-form input:not([type="submit"]),
.dcro-contact-form textarea {
	box-sizing: border-box;
	width: 100%;
	margin-top: .4rem;
	border: 1px solid var(--dcro-border);
}

.dcro-form-consent {
	margin: 1rem 0;
}

.dcro-legal {
	color: var(--dcro-text);
	line-height: 1.7;
}

.dcro-legal h2 {
	margin-top: 2rem;
}

.dcro-cookie-settings,
.cky-banner-element.dcro-cookie-settings {
	cursor: pointer;
}

/* Keep the mobile phone CTA usable without covering CookieYes controls. */
#callnowbutton {
	top: auto !important;
	right: 1rem !important;
	bottom: 1rem !important;
	z-index: 99999 !important;
}

/* CookieYes uses this stable container class for the open consent banner. */
body:has(.cky-consent-container:not(.cky-hide)) #callnowbutton {
	visibility: hidden !important;
}

@media (max-width: 767px) {
	.dcro-contact-form__grid {
		grid-template-columns: 1fr;
	}

	.dcro-form-field--full {
		grid-column: auto;
	}

	#callnowbutton {
		right: .75rem !important;
		bottom: .75rem !important;
	}
}
