/* ==========================================================================
   Contact popup
   ========================================================================== */

.contact-popup {
	--contact-popup-blue: #386FA4;
	--contact-popup-text: #333333;
	--contact-popup-muted: #888682;

	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.contact-popup[hidden] {
	display: none;
}

.contact-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.contact-popup__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.contact-popup__dialog {
	position: relative;
	width: 460px;
	max-width: 100%;
	max-height: calc(100vh - 40px);
	padding: 50px 40px 40px;
	overflow-y: auto;
	text-align: center;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	outline: none;
	transform: translateY(20px);
	transition: transform 0.3s;
}

.contact-popup.is-open .contact-popup__dialog {
	transform: translateY(0);
}

.contact-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--contact-popup-text);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s;
}

.contact-popup__close:hover,
.contact-popup__close:focus-visible {
	background-color: #F2F2F2;
}

.contact-popup__close svg {
	width: 14px;
	height: 16px;
}

.contact-popup .contact-popup__title {
	margin: 0 0 26px;
	font-size: 38px;
	font-weight: 500;
	line-height: 42px;
	text-transform: none;
	color: var(--contact-popup-blue);
}

/* Phone / location */
.contact-popup .contact-popup__list {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.contact-popup .contact-popup__list li {
	margin: 0;
	padding: 0;
	font-family: var(--osh-font-text) !important;
	font-size: 16px;
	line-height: 24px;
	color: var(--contact-popup-text);
}

.contact-popup .contact-popup__list li + li {
	margin-top: 12px;
}

.contact-popup__row,
.contact-popup__row:hover,
.contact-popup__row:focus {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--contact-popup-text);
	text-decoration: none;
}

.contact-popup__row-icon {
	display: flex;
	flex-shrink: 0;
	color: var(--contact-popup-blue);
}

.contact-popup__row-icon svg {
	width: auto;
	height: 18px;
}

.contact-popup__row-text {
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, color 0.3s;
}

.contact-popup__row:hover .contact-popup__row-text {
	color: var(--contact-popup-blue);
	border-bottom-color: currentColor;
}

/* WhatsApp / Instagram / Table booking */
.contact-popup__actions {
	display: flex;
	justify-content: center;
	gap: 28px;
	padding-top: 28px;
	border-top: 1px solid #E8E4E0;
}

.contact-popup__action,
.contact-popup__action:hover,
.contact-popup__action:focus {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 90px;
	text-decoration: none;
}

.contact-popup__action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	color: #FFFFFF;
	border-radius: 50%;
	transition: transform 0.3s, box-shadow 0.3s;
}

.contact-popup__action-icon svg {
	width: auto;
	height: 26px;
}

.contact-popup__action:hover .contact-popup__action-icon {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.contact-popup__action--whatsapp .contact-popup__action-icon {
	background-color: #25D366;
}

.contact-popup__action--instagram .contact-popup__action-icon {
	background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
}

.contact-popup__action--booking .contact-popup__action-icon {
	background-color: var(--contact-popup-blue);
}

.contact-popup__action-label {
	font-family: var(--osh-font-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	color: var(--contact-popup-text);
}

body.contact-popup-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.contact-popup__dialog {
		padding: 46px 22px 30px;
	}

	.contact-popup .contact-popup__title {
		font-size: 30px;
		line-height: 34px;
	}

	.contact-popup__actions {
		gap: 14px;
	}

	.contact-popup__action-icon {
		width: 52px;
		height: 52px;
	}
}
