/* HMF Catalog Mode – Frontend Styles */

/* Anfrage-Formular */
.hmf-cm-inquiry-wrap {
	margin-top: 30px;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.hmf-cm-inquiry-title {
	margin-top: 0;
	font-size: 1.2em;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 10px;
	margin-bottom: 16px;
}

.hmf-cm-inquiry-form p {
	margin: 0 0 12px;
}

.hmf-cm-inquiry-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 0.9em;
}

.hmf-cm-inquiry-form .input-text,
.hmf-cm-inquiry-form textarea {
	width: 100%;
	box-sizing: border-box;
}

/* Response Box (initial versteckt per CSS) */
.hmf-cm-inquiry-response {
	padding: 10px 14px;
	border-radius: 4px;
	margin-top: 10px;
	font-weight: 600;
	display: none;
}

.hmf-cm-inquiry-response.hmf-success {
	background: #edf7ed;
	color: #1a5c1a;
	border: 1px solid #82c882;
	display: block;
}

.hmf-cm-inquiry-response.hmf-error {
	background: #fdf0f0;
	color: #8c1c1c;
	border: 1px solid #e08080;
	display: block;
}

/* Custom Button */
.hmf-cm-single-btn {
	margin-top: 10px;
}

.hmf-cm-custom-btn,
.hmf-cm-custom-label {
	display: inline-block;
	margin-top: 8px;
}

/* Preis-Label */
.hmf-cm-price-label {
	font-style: italic;
	color: #555;
}

/* Collapsible Toggle */
.hmf-cm-collapsible {
	margin-top: 15px;
}

.hmf-cm-collapsible-toggle {
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.hmf-cm-toggle-icon {
	float: right;
	transition: transform 0.2s;
}

.hmf-cm-collapsible-toggle.open .hmf-cm-toggle-icon {
	transform: rotate(180deg);
}

/* Collapsible Body: initial versteckt per CSS (kein inline style="") */
.hmf-cm-collapsible-body {
	padding-top: 10px;
}

.hmf-cm-collapsible-body.hmf-cm-hidden {
	display: none;
}

/* DSGVO Checkbox */
.hmf-cm-privacy-row {
	margin-top: 10px;
}

.hmf-cm-privacy-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
	line-height: 1.4;
}

.hmf-cm-privacy-check {
	margin-top: 3px;
	flex-shrink: 0;
}

.hmf-cm-privacy-label a {
	text-decoration: underline;
}

/* Accessibility: required marker */
.required {
	color: red;
}
