/* DC24 Wycena – pop-up dopasowany do Divi (Open Sans, akcent #2ea3f2) */
html.dc24w-lock,
html.dc24w-lock body { overflow: hidden; }

.dc24w-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	transition: opacity .2s ease;
}
.dc24w-overlay[hidden] { display: none; }
.dc24w-overlay.is-open { opacity: 1; }

.dc24w-modal {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 36px 36px 28px;
	background: #fff;
	border-top: 4px solid #2ea3f2;
	border-radius: 3px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
	font-family: 'Open Sans', Arial, sans-serif;
	color: #666;
	transform: translateY(12px);
	transition: transform .2s ease;
}
.dc24w-overlay.is-open .dc24w-modal { transform: none; }

.dc24w-close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 30px;
	line-height: 40px;
	color: #999;
	cursor: pointer;
}
.dc24w-close:hover,
.dc24w-close:focus-visible { color: #2ea3f2; }

.dc24w-kicker {
	margin: 0 0 4px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #2ea3f2;
}
.dc24w-modal .dc24w-title {
	margin: 0 32px 8px 0;
	padding: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
	color: #333;
}
.dc24w-variant {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 10px;
	border-radius: 3px;
	background: #f2f9fe;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #2ea3f2;
}
.dc24w-variant[hidden] { display: none; }
.dc24w-lead {
	margin: 0 0 18px;
	padding: 0;
	font-size: 14px;
	line-height: 1.6;
}

/* WPForms w pop-upie */
.dc24w-modal .wpforms-container { margin: 0 !important; }
.dc24w-modal .wpforms-field { padding: 0 0 14px !important; }
.dc24w-modal .wpforms-field-label,
.dc24w-modal .wpforms-field-sublabel {
	font-family: inherit;
	color: #333;
}
.dc24w-modal .wpforms-field-label { font-size: 14px !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.dc24w-modal input[type=text],
.dc24w-modal input[type=email],
.dc24w-modal input[type=tel],
.dc24w-modal textarea {
	width: 100% !important;
	max-width: 100% !important;
	padding: 10px 12px !important;
	border: 1px solid #c3c4c7 !important;
	border-radius: 3px !important;
	background: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	color: #333 !important;
	box-shadow: none !important;
}
.dc24w-modal textarea { min-height: 110px !important; height: 110px !important; }
.dc24w-modal input:focus,
.dc24w-modal textarea:focus {
	border-color: #2ea3f2 !important;
	outline: 2px solid rgba(46, 163, 242, .25) !important;
	outline-offset: 0;
}
.dc24w-modal .wpforms-submit-container { padding-top: 6px !important; }
.dc24w-modal button.wpforms-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: auto !important;
	min-height: 46px;
	padding: 8px 26px !important;
	border: 2px solid #2ea3f2 !important;
	border-radius: 3px !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: #2ea3f2 !important;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.dc24w-modal button.wpforms-submit:hover,
.dc24w-modal button.wpforms-submit:focus-visible {
	background: #2ea3f2 !important;
	color: #fff !important;
}
.dc24w-modal .wpforms-confirmation-container-full {
	margin: 8px 0 0 !important;
	border: 0 !important;
	border-left: 4px solid #2ea3f2 !important;
	background: #f2f9fe !important;
	color: #333 !important;
	font-size: 15px;
}

@media (max-width: 600px) {
	.dc24w-modal { padding: 28px 20px 20px; }
	.dc24w-modal .dc24w-title { font-size: 20px; }
}

/* Bez dzielenia wyrazów (np. „wy-ceny”) */
.dc24w-modal .wpforms-form,
.dc24w-modal .wpforms-form label { -webkit-hyphens: manual !important; hyphens: manual !important; }
