/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for Makjis1 (small global fixes on top of Hello Elementor).
Version: 1.0.5
Text Domain: hello-elementor-child
*/

#CybotCookiebotDialog{border:4px solid #9A8E21;border-radius:36px!important}
#CybotCookiebotDialog .CybotCookiebotDialogContentWrapper,#CookiebotWidget #CookiebotWidget-widgetContent{background:#2B2A32!important}
#CybotCookiebotDialog *,#CybotCookiebotDialogBodyUnderlay *,#CookiebotWidget *{color:#FBF7F3!important}
#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSlider,#CookiebotWidget .CookiebotWidget-consent-details .CookiebotWidget-consent-details-box{background:#9A8E21!important}
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change,#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw{background:#9A8E21!important;border:none!important;border-radius:24px!important;color:#FBF7F3!important}
#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleHide,#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleShow,#CybotCookiebotDialog a:after,#CybotCookiebotDialog a:before,#CybotCookiebotDialog button:after,#CybotCookiebotDialog button:before{border-color:#FBF7F3!important}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive{border-bottom-color:#9A8E21!important}
#CookiebotWidget .CookiebotWidget-logo svg circle,#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg{fill:#9A8E21!important}

/* Remove trailing paragraph/list spacing inside text widgets so Elementor gaps stay exact. */
.elementor-widget-text-editor > :last-child,
.elementor-widget-text-editor .elementor-widget-container > :last-child,
.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child,
.elementor-widget-text-editor ol:last-child {
	margin-bottom: 0;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin-top: 0;
	padding-left: 1.5em;
}

/* Never allow horizontal page scroll. */
html,
body {
	overflow-x: clip;
}

/* Header menu: keep desktop items on one line (hamburger takes over at <=1024px). */
@media (min-width: 1025px) {
	.hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		flex-wrap: nowrap;
	}

	.hfe-nav-menu__layout-horizontal .hfe-nav-menu > li > a {
		white-space: nowrap;
	}
}

/* Let the header menu widget shrink inside the flex row (prevents the hamburger from being pushed off-screen). */
.elementor-widget-navigation-menu {
	min-width: 0;
}

/* While the mobile menu is open, square off the header bottom so the dropdown continues it seamlessly. */
#masthead .e-con:has(.hfe-active-menu) {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* ---------- Contact Form 7 (contact page form card) ---------- */
.mk-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: #2b2a32;
}

.mk-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mk-field label {
	font-family: "Dela Gothic One", sans-serif;
	font-size: 24px;
	line-height: 1.2;
}

.mk-form .wpcf7-form-control-wrap {
	display: block;
}

.mk-form input[type="text"],
.mk-form input[type="email"],
.mk-form input[type="tel"],
.mk-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px;
	border: 0;
	border-radius: 8px;
	background: #e7e7e7;
	color: #2b2a32;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.25;
}

.mk-form textarea {
	height: 112px;
	resize: vertical;
}

.mk-form input:focus,
.mk-form textarea:focus {
	outline: 2px solid #2b2a32;
	outline-offset: 0;
}

.mk-form .wpcf7-not-valid {
	outline: 2px solid #7a1414;
}

/* Consent checkbox: highlight only the box itself, not the whole text line. */
.mk-accept .wpcf7-not-valid {
	outline: 0;
}

.mk-accept .wpcf7-not-valid input[type="checkbox"] {
	outline: 2px solid #7a1414;
	outline-offset: 1px;
}

.mk-accept .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 12px;
}

.mk-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #5c0a0a;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
}

.mk-accept {
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	line-height: 1.4;
}

.mk-accept .wpcf7-list-item {
	margin: 0;
}

.mk-accept label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.mk-accept input[type="checkbox"] {
	flex: none;
	width: 14px;
	height: 14px;
	margin: 1px 0 0;
	accent-color: #2b2a32;
}

.mk-accept a {
	color: inherit;
	text-decoration: underline;
}

.mk-submit {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.mk-form input[type="submit"] {
	margin: 0;
	padding: 16px 32px;
	border: 0;
	border-radius: 16px;
	background: #2b2a32;
	color: #fbf7f3;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.25;
	cursor: pointer;
}

.mk-form input[type="submit"]:hover,
.mk-form input[type="submit"]:focus {
	background: #44434d;
}

.mk-form .wpcf7-spinner {
	margin: 0;
}

.wpcf7 form .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border: 2px solid #2b2a32;
	border-radius: 8px;
	color: #2b2a32;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
}

@media (max-width: 767px) {
	.mk-field label {
		font-size: 20px;
	}
}
