/**
 * EMPORAS — Κουμπί Viber / WhatsApp
 * @package EMPORAS
 * @since   1.18.15
 */

/* Κάτω από το μενού κινητού (250) και πάνω από την κάτω μπάρα (90). */
.emporas-chat {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	font-family: var(--font-body);
}

.emporas-chat__toggle {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: var(--emporas-navy);
	color: var(--white);
	box-shadow: 0 8px 24px rgba(30, 42, 94, 0.3);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
}
.emporas-chat__toggle:hover { background: var(--emporas-navy-light); transform: translateY(-2px); }
.emporas-chat__toggle:focus-visible { outline: 3px solid var(--emporas-steel-light); outline-offset: 3px; }
.emporas-chat__icon-close,
.emporas-chat.is-open .emporas-chat__icon-open { display: none; }
.emporas-chat.is-open .emporas-chat__icon-close { display: block; }

.emporas-chat__panel {
	width: 260px;
	background: var(--white);
	border-radius: var(--radius-md, 10px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(30, 42, 94, 0.08);
	padding: 18px;
}
.emporas-chat__panel[hidden] { display: none; }

.emporas-chat__title {
	margin: 0 0 4px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: var(--emporas-navy);
}
.emporas-chat__text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--graphite);
}

.emporas-chat__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--white);
	text-decoration: none;
	transition: filter 0.2s ease;
}
.emporas-chat__btn + .emporas-chat__btn { margin-top: 8px; }
.emporas-chat__btn:hover { filter: brightness(0.92); color: var(--white); }
.emporas-chat__btn--whatsapp { background: #1DA851; }
.emporas-chat__btn--viber { background: #7360F2; }

@media (max-width: 768px) {
	.emporas-chat {
		right: 16px;
		bottom: calc(var(--mobile-bottombar-h, 60px) + 12px + env(safe-area-inset-bottom, 0px));
	}
	.emporas-chat__toggle { width: 52px; height: 52px; }
}

@media print {
	.emporas-chat { display: none; }
}
