/**
 * Prefooter — обратный звонок (split Medical: #EEF4F7 + primary panel).
 */

.peptide-block--prefooter-callback {
	margin-block: 0 80px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Ширина как у соседних секций Elementor (без дубля padding/max-width). */
.peptide-block--prefooter-callback__inner {
	box-sizing: border-box;
	margin-inline: 0;
	max-width: none;
	padding-inline: 0;
	width: 100%;
}

.peptide-block--prefooter-callback__card {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--wd-brd-radius, 12px);
	overflow: hidden;
	background-color: #eef4f7;
}

.peptide-block--prefooter-callback__main {
	padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 52px);
}

.peptide-block--prefooter-callback__header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 16px;
}

.peptide-block--prefooter-callback__mark {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: var(--wd-brd-radius, 12px);
	background-color: var(--wd-primary-color, rgb(32, 128, 201));
	color: #fff;
	font-size: 26px;
	line-height: 1;
}

.peptide-block--prefooter-callback__mark .peptide-info-page__infobox-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	color: #fff;
	font-size: 28px;
}

.peptide-block--prefooter-callback__mark .peptide-info-page__infobox-icon i {
	color: inherit;
	font-size: inherit;
	line-height: 1;
}

.peptide-block--prefooter-callback__mark .peptide-info-page__infobox-icon svg {
	display: block;
	fill: currentColor;
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
}

.peptide-block--prefooter-callback__headline {
	flex: 1;
	min-width: 0;
}

.peptide-block--prefooter-callback__headline .title-wrapper {
	margin-bottom: 0;
}

.peptide-block--prefooter-callback__headline .woodmart-title-container {
	margin-bottom: 0;
	line-height: 1.15;
}

.peptide-block--prefooter-callback__eyebrow {
	margin: 0 0 6px;
	font-size: var(--wd-text-font-size, 14px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wd-primary-color, rgb(32, 128, 201));
}

.peptide-block--prefooter-callback__lead {
	margin-bottom: 20px;
	max-width: 52em;
}

.peptide-block--prefooter-callback__lead .peptide-block__text {
	margin-bottom: 0;
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.55;
}

.peptide-block--prefooter-callback__perks {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.peptide-block--prefooter-callback__perk {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--wd-text-color, #777);
}

.peptide-block--prefooter-callback__perk-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: 0.1625em;
	color: var(--wd-primary-color, rgb(32, 128, 201));
	font-size: 16px;
	line-height: 1;
}

.peptide-block--prefooter-callback__perk-icon .peptide-info-page__infobox-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-height: 0;
	font-size: 16px;
	line-height: 1;
}

.peptide-block--prefooter-callback__perk-icon .peptide-info-page__infobox-icon i {
	display: block;
	font-size: inherit;
	line-height: 1;
}

.peptide-block--prefooter-callback__perk-icon .peptide-info-page__infobox-icon svg {
	width: 16px !important;
	height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
}

.peptide-block--prefooter-callback__perk-text {
	flex: 1;
	min-width: 0;
}

.peptide-block--prefooter-callback__panel {
	background-color: var(--wd-primary-color, rgb(32, 128, 201));
	color: #fff;
}

.peptide-block--prefooter-callback__panel-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
	height: 100%;
	padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 36px);
	text-align: center;
}

.peptide-block--prefooter-callback__panel-lead {
	margin: 0;
	font-size: clamp(17px, 2vw, 20px);
	font-weight: 600;
	line-height: 1.35;
	color: inherit;
	opacity: 0.95;
}

.peptide-block--prefooter-callback__panel .wd-button-wrapper {
	margin-bottom: 0;
	width: 100%;
}

.peptide-block--prefooter-callback__panel .btn.peptide-modal-trigger--inverted {
	width: 100%;
	justify-content: center;
	border-radius: var(--wd-brd-radius, 12px);
	background-color: #fff;
	border-color: #fff;
	color: var(--wd-primary-color, rgb(32, 128, 201));
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.peptide-block--prefooter-callback__panel .btn.peptide-modal-trigger--inverted:hover,
.peptide-block--prefooter-callback__panel .btn.peptide-modal-trigger--inverted:focus-visible {
	background-color: rgba(255, 255, 255, 0.92);
	border-color: rgba(255, 255, 255, 0.92);
	color: var(--wd-primary-color, rgb(32, 128, 201));
	opacity: 1;
}

.peptide-block--prefooter-callback__phone {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding-top: 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	margin-top: 4px;
}

.peptide-block--prefooter-callback__phone-label {
	font-size: 13px;
	line-height: 1.3;
	opacity: 0.85;
}

.peptide-block--prefooter-callback__phone-link {
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 700;
	line-height: 1.2;
	color: inherit;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: opacity 0.25s ease;
}

.peptide-block--prefooter-callback__phone-link:hover,
.peptide-block--prefooter-callback__phone-link:focus-visible {
	opacity: 0.88;
	text-decoration: underline;
}

@media (min-width: 992px) {
	.peptide-block--prefooter-callback__card {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
		align-items: stretch;
	}

	.peptide-block--prefooter-callback__perks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px 20px;
	}

	.peptide-block--prefooter-callback__perk {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 14px 16px;
		border-radius: var(--wd-brd-radius, 12px);
		background-color: rgba(255, 255, 255, 0.72);
		color: var(--wd-entities-title-color, #242424);
	}

	.peptide-block--prefooter-callback__perk-icon {
		align-self: auto;
		margin-top: 0;
	}

	.peptide-block--prefooter-callback__perk-text {
		font-size: 13px;
		line-height: 1.45;
	}
}

@media (max-width: 768px) {
	.peptide-block--prefooter-callback {
		margin-bottom: 60px;
	}

	/* В full-width колонке Elementor на карточке товара — боковые поля как у .container. */
	.peptide-block--prefooter-callback__inner {
		padding-inline: clamp(15px, 4.5vw, 20px);
	}

	.peptide-block--prefooter-callback__header {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.peptide-block--prefooter-callback__panel-inner {
		padding-block: 32px;
	}
}
