/**
 * Boks informacyjny na liście ofert.
 * Element ma klasę .m-item, więc dziedziczy szerokość karty oferty z motywu,
 * a siatka (.m-catalog__grid, align-items: stretch) wyrównuje wysokość.
 */
.thiq-infobox {
	background-color: #15634a; /* zielony motywu ($color-2) */
	color: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.thiq-infobox__inner {
	width: 100%;
	padding: 30px 28px;
	line-height: 1.6;
	font-size: 1.0625rem;
}

.thiq-infobox,
.thiq-infobox * {
	color: #fff;
}

.thiq-infobox a {
	color: #fff;
	text-decoration: underline;
}

.thiq-infobox h2,
.thiq-infobox h3,
.thiq-infobox h4 {
	line-height: 1.25;
	margin: 0 0 12px;
}



.thiq-infobox p {
	margin: 0 0 12px;
}

.thiq-infobox__inner > *:first-child {
	margin-top: 0;
}

.thiq-infobox__inner > *:last-child {
	margin-bottom: 0;
}

/* Przycisk „Zapytaj" w boksie */
.thiq-ib-ask {
	display: inline-block;
	margin-top: 18px;
	padding: 11px 24px;
	background: #fff;
	color: #15634a;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.12s ease;
}
.thiq-ib-ask:hover {
	background: #eee9df;
}

/* Modal z formularzem */
.thiq-ib-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.thiq-ib-modal.is-open {
	display: block;
}
.thiq-ib-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.thiq-ib-modal__dialog {
	position: relative;
	max-width: 480px;
	margin: 6vh auto;
	background: #fff;
	color: #222;
	border-radius: 10px;
	padding: 24px;
	font-size: 1.125rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-height: 88vh;
	overflow: auto;
}
.thiq-ib-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #777;
	cursor: pointer;
}

.thiq-ib-form__title {
	margin: 0 0 14px;
	font-size: 1.25rem;
}
.thiq-ib-form__row {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px;
}
.thiq-ib-form__row label {
	font-weight: 600;
	font-size: 0.9375rem;
	margin-bottom: 3px;
	
}


.thiq-ib-form p label {
	margin-bottom: 15px;
}


.thiq-ib-form .wpcf7-list-item label {
	line-height: 1.625;
	margin-bottom: 15px;
}

.thiq-ib-form  .wpcf7-list-item {
	margin: 0;
}


/* Pola (wbudowany + CF7) — mniejsze, font 1.125rem */
.thiq-ib-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.thiq-ib-form textarea,
.thiq-ib-form select {
	width: 100%;
	padding: 7px 10px;
	border: 1px solid #cfcabf;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1.35;
	box-sizing: border-box;
}
.thiq-ib-form textarea {
	height: 140px;
	font-size: 1rem !important;
}

/* Formularz CF7 — kompaktowe odstępy i etykiety */
.thiq-ib-form--cf7 p {
	margin: 0 0 8px;
	font-size: 1.125rem;
}
.thiq-ib-form--cf7 label {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
}
.thiq-ib-form--cf7 .wpcf7-acceptance,
.thiq-ib-form--cf7 .wpcf7-acceptance label {
	font-size: 0.9375rem;
	color: #555;
}
.thiq-ib-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 6px 0 14px;
	font-size: 0.8125rem;
	color: #555;
	line-height: 1.4;
}
.thiq-ib-form__consent input {
	margin-top: 3px;
	width: auto;
	flex: 0 0 auto;
}
/* Przycisk wysyłki — mniejszy, zielony (wbudowany + CF7) */
.thiq-ib-form__actions button,
.thiq-ib-form--cf7 input[type="submit"],
.thiq-ib-form--cf7 button[type="submit"],
.thiq-ib-form--cf7 .wpcf7-submit {
	display: inline-block;
	width: auto;
	padding: 8px 20px;
	background: #15634a;
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.12s ease;
}
.thiq-ib-form__actions button:hover,
.thiq-ib-form--cf7 .wpcf7-submit:hover {
	background: #0f4d39;
}

/* Blokada kursora podczas wysyłki / gdy zablokowany */
.thiq-ib-form__actions button:disabled,
.thiq-ib-form--cf7 input[type="submit"]:disabled,
.thiq-ib-form--cf7 .wpcf7-submit:disabled,
.wpcf7-form.submitting .wpcf7-submit {
	opacity: 0.6;
	cursor: not-allowed;
}
.thiq-ib-form__note {
	margin-top: 10px;
	font-size: 0.9375rem;
}
.thiq-ib-form__note.is-ok {
	color: #15634a;
}
.thiq-ib-form__note.is-err {
	color: #b32d2e;
}
body.thiq-ib-noscroll {
	overflow: hidden;
}
