/**

 * WoodMart Header Builder — элементы peptide-child.

 */



.whb-peptide-site-contacts {

	display: flex;

	flex-direction: column;

	align-items: flex-start;

	gap: 6px;

	position: relative;

}



.whb-peptide-site-contacts--inline {

	align-items: center;

	flex-direction: row;

	flex-wrap: wrap;

	gap: 10px 14px;

}



.whb-peptide-site-contacts__desktop {

	display: flex;

	flex-direction: column;

	align-items: flex-start;

	gap: 6px;

}



.whb-peptide-site-contacts--inline .whb-peptide-site-contacts__desktop {

	align-items: center;

	flex-direction: row;

	flex-wrap: wrap;

	gap: 10px 14px;

}



.whb-peptide-site-contacts__phone {

	font-size: var(--wd-text-font-size, 14px);

	font-weight: 600;

	line-height: 1.3;

	white-space: nowrap;

	color: #000;

}



.whb-peptide-site-contacts__phone a {

	color: #000;

	text-decoration: none;

}



.whb-peptide-site-contacts__phone a:hover {

	color: var(--wd-primary-color, rgb(32, 128, 201));

}



.whb-peptide-site-contacts .peptide-header-messengers {

	display: inline-flex;

	gap: 8px;

}



.whb-peptide-site-contacts .peptide-header-messengers .wd-social-icon {

	margin: 0;

}



/* Мобильный триггер и дропдаун */

.whb-peptide-site-contacts__mobile {

	display: none;

	position: relative;

}



.whb-peptide-site-contacts__toggle {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	width: 40px;

	height: 40px;

	padding: 0;

	margin: 0;

	border: 0;

	background: transparent;

	cursor: pointer;

	color: #000;

	border-radius: var(--wd-brd-radius, 12px);

	transition: background-color 0.2s ease, color 0.2s ease;

}



.whb-peptide-site-contacts__toggle:hover,

.whb-peptide-site-contacts.is-open .whb-peptide-site-contacts__toggle {

	background-color: rgba(0, 0, 0, 0.06);

}



.whb-peptide-site-contacts__toggle-icon {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	width: 22px;

	height: 22px;

	font-size: 20px;

	line-height: 1;

}

.whb-peptide-site-contacts__toggle-icon i,
.whb-peptide-site-contacts__toggle-icon svg {

	display: block;

	width: 1em;

	height: 1em;

}



.whb-peptide-site-contacts__panel {

	position: absolute;

	top: calc(100% + 8px);

	right: 0;

	z-index: 380;

	min-width: min(280px, calc(100vw - 24px));

	padding: 8px 0;

	background: var(--wd-main-bgcolor, #fff);

	border-radius: var(--wd-brd-radius, 12px);

	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

	opacity: 0;

	visibility: hidden;

	transform: translateY(-6px);

	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;

	pointer-events: none;

}



.whb-peptide-site-contacts.is-open .whb-peptide-site-contacts__panel {

	opacity: 1;

	visibility: visible;

	transform: translateY(0);

	pointer-events: auto;

}



.whb-peptide-site-contacts__panel-inner {

	display: flex;

	flex-direction: column;

	gap: 2px;

}



.whb-peptide-site-contacts__panel-link {

	display: flex;

	align-items: center;

	gap: 12px;

	padding: 10px 16px;

	color: var(--wd-text-color, #242424);

	text-decoration: none;

	font-size: var(--wd-text-font-size, 14px);

	font-weight: 500;

	line-height: 1.35;

	transition: background-color 0.15s ease, color 0.15s ease;

}



.whb-peptide-site-contacts__panel-link:hover {

	background-color: rgba(32, 128, 201, 0.08);

	color: var(--wd-primary-color, rgb(32, 128, 201));

}



.whb-peptide-site-contacts__panel-link--phone .whb-peptide-site-contacts__panel-text {

	font-weight: 600;

	color: #000;

}



.whb-peptide-site-contacts__panel-link--phone:hover .whb-peptide-site-contacts__panel-text {

	color: var(--wd-primary-color, rgb(32, 128, 201));

}



.whb-peptide-site-contacts__panel-phone-icon {

	flex-shrink: 0;

	display: inline-flex;

	align-items: center;

	justify-content: center;

	width: 32px;

	height: 32px;

	border-radius: 50%;

	background-color: rgba(32, 128, 201, 0.12);

	color: var(--wd-primary-color, rgb(32, 128, 201));

	font-size: 14px;

	line-height: 1;

}

.whb-peptide-site-contacts__panel-phone-icon i,
.whb-peptide-site-contacts__panel-phone-icon svg {

	display: block;

	width: 1em;

	height: 1em;

}



.whb-peptide-site-contacts__panel-messenger-icon {

	flex-shrink: 0;

	display: inline-flex;

}

.whb-peptide-site-contacts__messenger-icons.wd-social-icons {

	display: inline-flex;

	gap: 0;

	margin: 0;

	pointer-events: none;

	vertical-align: middle;

}

.whb-peptide-site-contacts__messenger-icons .wd-social-icon {

	margin: 0;

	pointer-events: none;

}



.whb-peptide-site-contacts__panel-text {

	flex: 1;

	min-width: 0;

}



@media (max-width: 1024px) {

	.whb-peptide-site-contacts__desktop {

		display: none;

	}



	.whb-peptide-site-contacts__mobile {

		display: block;

	}



	.whb-peptide-site-contacts--inline {

		flex-direction: row;

		align-items: center;

	}

}


