/**
 * UI block styles: store choice modal of the app.
 * Built on .me-offcanvas (backdrop, scroll lock, Escape); offcanvas.js waits for the panel transform transition on close.
 *
 * @package medexpress
 */

.me-offcanvas--app-stores {
	justify-content: center;
	align-items: center;
	padding: 16px;
}

.me-offcanvas--app-stores .me-offcanvas__panel {
	width: 480px;
	max-width: 100%;
	padding: 40px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
	opacity: 0;
	transform: translateY(16px);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.me-offcanvas.is-open.me-offcanvas--app-stores .me-offcanvas__panel {
	opacity: 1;
	transform: translateY(0);
}

.me-app-stores__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: none;
	border: none;
	color: #B6B9BE;
	cursor: pointer;
}

@media (min-width: 769px) {
	.me-app-stores__close:hover {
		color: var(--primary-color);
	}
}

.me-app-stores__title {
	margin: 0 32px 12px 0;
}

.me-app-stores__text {
	margin: 0 0 24px;
}

.me-app-stores__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.me-app-stores__buttons a {
	display: block;
	line-height: 0;
}

@media (min-width: 769px) {
	.me-app-stores__buttons a:hover {
		opacity: 0.8;
	}
}

@media (max-width: 768px) {
	.me-offcanvas--app-stores .me-offcanvas__panel {
		width: 100%;
		padding: 32px 20px 24px;
	}
}
