.yatb-contact-widget {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 619;
	width: 0;
	height: 0;
	pointer-events: none;
}

.yatb-contact-widget__toggle {
	position: fixed;
	top: calc(50% + 24px);
	right: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-width: 52px;
	min-height: 48px;
	padding: 0 12px 0 14px;
	border-radius: 0 0 0 16px;
	background: linear-gradient(135deg, #2bb063, #1e8a4a);
	color: #fff;
	box-shadow: 0 16px 38px rgba(30, 138, 74, 0.28);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	pointer-events: auto;
	transition:
		gap 0.2s ease,
		padding 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.yatb-contact-widget__toggle:hover,
.yatb-contact-widget__toggle:focus-visible {
	gap: 9px;
	padding-left: 16px;
	background: linear-gradient(135deg, #259f57, #1a7a41);
	color: #fff;
	box-shadow: 0 18px 42px rgba(30, 138, 74, 0.38);
	transform: translateX(-2px);
}

.yatb-contact-widget__toggle i {
	font-size: 1.1rem;
	line-height: 1;
	min-width: 22px;
	text-align: center;
}

.yatb-contact-widget__toggle-text {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	white-space: nowrap;
	transform: translateX(8px);
	transition:
		max-width 0.24s cubic-bezier(0.22, 0.78, 0.24, 1),
		opacity 0.16s ease,
		transform 0.2s ease;
}

.yatb-contact-widget__toggle:hover .yatb-contact-widget__toggle-text,
.yatb-contact-widget__toggle:focus-visible .yatb-contact-widget__toggle-text {
	max-width: 190px;
	opacity: 1;
	transform: translateX(0);
}

.yatb-contact-widget__scrim {
	position: fixed;
	inset: 0;
	z-index: 3;
	background: rgba(10, 22, 35, 0.38);
	backdrop-filter: blur(2px);
	pointer-events: auto;
	cursor: pointer;
}

.yatb-contact-widget__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	width: min(360px, 92vw);
	overflow-y: auto;
	background: #fff;
	box-shadow: -24px 0 64px rgba(10, 22, 35, 0.18);
	pointer-events: auto;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.yatb-contact-widget__panel:not([hidden]) {
	transform: translateX(0);
}

.yatb-contact-widget__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 16px;
	border-bottom: 1px solid rgba(10, 22, 35, 0.08);
	background: #fff;
}

.yatb-contact-widget__header h2 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	color: rgba(10, 22, 35, 0.88);
}

.yatb-contact-widget__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(10, 22, 35, 0.06);
	color: rgba(10, 22, 35, 0.55);
	font-size: 1rem;
	flex-shrink: 0;
	transition: background 0.16s ease, color 0.16s ease;
}

.yatb-contact-widget__close:hover {
	background: rgba(10, 22, 35, 0.12);
	color: rgba(10, 22, 35, 0.85);
}

.yatb-contact-widget__intro {
	padding: 16px 20px 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(10, 22, 35, 0.5);
	margin: 0;
}

.yatb-contact-widget__body {
	flex: 1;
	padding: 16px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.yatb-contact-widget__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yatb-contact-widget__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(10, 22, 35, 0.08);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yatb-contact-widget__item:hover {
	border-color: rgba(10, 22, 35, 0.15);
	box-shadow: 0 4px 16px rgba(10, 22, 35, 0.07);
}

.yatb-contact-widget__item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #fff;
	font-size: 1.2rem;
	flex-shrink: 0;
	background: #2196F3;
}

.yatb-contact-widget__item--whatsapp .yatb-contact-widget__item-icon {
	background: #25D366;
}

.yatb-contact-widget__item--phone .yatb-contact-widget__item-icon {
	background: #2196F3;
}

.yatb-contact-widget__item--mobile .yatb-contact-widget__item-icon {
	background: #9C27B0;
}

.yatb-contact-widget__item--email .yatb-contact-widget__item-icon {
	background: #FF9800;
}

.yatb-contact-widget__item--website .yatb-contact-widget__item-icon,
.yatb-contact-widget__item--address .yatb-contact-widget__item-icon,
.yatb-contact-widget__item--map_url .yatb-contact-widget__item-icon {
	background: #00BCD4;
}

.yatb-contact-widget__item--working_hours .yatb-contact-widget__item-icon {
	background: #607D8B;
}

.yatb-contact-widget__item-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.yatb-contact-widget__item-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(10, 22, 35, 0.4);
}

.yatb-contact-widget__item-value {
	font-size: 0.92rem;
	color: rgba(10, 22, 35, 0.82);
	font-weight: 500;
	word-break: break-word;
	text-decoration: none;
}

.yatb-contact-widget__social {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yatb-contact-widget__social-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(10, 22, 35, 0.4);
}

.yatb-contact-widget__social-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.yatb-contact-widget__social-link--discord {
	display: none;
}

.yatb-contact-widget__item--instagram .yatb-contact-widget__item-icon {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.yatb-contact-widget__item--facebook .yatb-contact-widget__item-icon {
	background: #1877F2;
}

.yatb-contact-widget__item--twitter .yatb-contact-widget__item-icon,
.yatb-contact-widget__item--x-twitter .yatb-contact-widget__item-icon {
	background: #000;
}

.yatb-contact-widget__item--youtube .yatb-contact-widget__item-icon {
	background: #FF0000;
}

.yatb-contact-widget__item--tiktok .yatb-contact-widget__item-icon {
	background: #010101;
}

.yatb-contact-widget__item--pinterest .yatb-contact-widget__item-icon {
	background: #E60023;
}

.yatb-contact-widget__item--threads .yatb-contact-widget__item-icon {
	background: #101010;
}

.yatb-contact-widget__item--linkedin .yatb-contact-widget__item-icon {
	background: #0A66C2;
}

.yatb-contact-widget__item--telegram .yatb-contact-widget__item-icon {
	background: #26A5E4;
}

.yatb-contact-widget__item--discord {
	display: none;
}

.yatb-contact-widget__item--whatsapp-social .yatb-contact-widget__item-icon {
	background: #25D366;
}

@media (max-width: 1023px) {
	.yatb-contact-widget__toggle {
		display: none;
	}
}