.lobify-wa-demo-shell {
	width: min(100%, 470px);
	margin-inline: auto;
}

.lobify-wa-demo {
	--lobify-navy: #12384f;
	--lobify-blue: #5e8ca8;
	--lobify-coral: #e87580;
	--lobify-green: #39a875;
	--lobify-surface: #f5f8fa;
	display: flex;
	flex-direction: column;
	width: min(100%, 470px);
	margin-inline: auto;
	font-family: inherit;
}

.lobify-wa-demo-shell > .lobify-wa-demo {
	--lobify-demo-max-width: 470px;
	width: min(100%, var(--lobify-demo-max-width));
	max-width: none;
	margin: 0;
	transform-origin: top left;
}

.lobify-wa-demo__tabs {
	order: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 14px;
	padding: 5px;
	border: 1px solid rgba(18, 56, 79, 0.12);
	border-radius: 16px;
	background: var(--lobify-surface);
}

.lobify-wa-demo__phone {
	order: 2;
}

.lobify-wa-demo__mobile-toggle {
	order: 3;
}

.lobify-wa-demo__hint {
	order: 4;
}

.lobify-wa-demo--tabs-abajo .lobify-wa-demo__phone {
	order: 1;
}

.lobify-wa-demo--tabs-abajo .lobify-wa-demo__tabs {
	order: 2;
	margin-top: 14px;
	margin-bottom: 0;
}

.lobify-wa-demo--website .lobify-wa-demo__phone {
	order: 1;
}

.lobify-wa-demo--website .lobify-wa-demo__mobile-toggle {
	order: 2;
}

.lobify-wa-demo--website .lobify-wa-demo__hint {
	order: 3;
}

.lobify-wa-demo__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 48px;
	margin: 0;
	padding: 9px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	color: #52616b;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.lobify-wa-demo__tab:hover,
.lobify-wa-demo__tab:focus-visible {
	background: rgba(255, 255, 255, 0.8);
	color: var(--lobify-navy);
}

.lobify-wa-demo__tab:focus-visible {
	outline: 3px solid rgba(94, 140, 168, 0.35);
	outline-offset: 2px;
}

.lobify-wa-demo__tab.is-active {
	background: #ffffff;
	box-shadow: 0 5px 16px rgba(18, 56, 79, 0.12);
	color: var(--lobify-navy);
	transform: translateY(-1px);
}

.lobify-wa-demo__tab-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(18, 56, 79, 0.08);
	font-size: 14px;
	font-weight: 800;
}

.lobify-wa-demo__tab--payment.is-active .lobify-wa-demo__tab-icon {
	background: rgba(232, 117, 128, 0.15);
	color: #c94f5c;
}

.lobify-wa-demo__tab--confirmation.is-active .lobify-wa-demo__tab-icon {
	background: rgba(57, 168, 117, 0.15);
	color: #23845a;
}

.lobify-wa-demo__phone {
	position: relative;
	isolation: isolate;
	width: 100%;
}

.lobify-wa-demo__frame {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.lobify-wa-demo__screen {
	position: absolute;
	z-index: 1;
	top: 2.9%;
	right: 4.25%;
	bottom: 3%;
	left: 4.25%;
	overflow-x: hidden;
	overflow-y: auto;
	border-radius: 4.5% / 2.8%;
	background: #0b141a;
	scrollbar-width: none;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.lobify-wa-demo__screen::-webkit-scrollbar {
	display: none;
}

.lobify-wa-demo__screen:focus-visible {
	outline: 3px solid var(--lobify-coral);
	outline-offset: -5px;
}

.lobify-wa-demo__message {
	display: block;
	width: 100%;
	height: auto;
	min-height: 100%;
	margin: 0;
	transition: opacity 160ms ease;
}

.lobify-wa-chat {
	min-height: 100%;
	padding: 18px 12px 44px;
	background-color: #0b141a;
	background-image: url("../images/whatsapp-pattern.svg");
	background-position: center top;
	background-size: 180px 180px;
	color: #f4f7f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: clamp(10.5px, 2.8vw, 13.5px);
	line-height: 1.48;
	transition: opacity 160ms ease;
}

.lobify-wa-chat__conversation[hidden] {
	display: none !important;
}

.lobify-wa-chat__bubble {
	position: relative;
	width: calc(100% - 8px);
	margin-left: auto;
	padding: 14px 15px 30px;
	border-radius: 9px 4px 9px 9px;
	background: #075e4f;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
	color: #f7faf8;
	user-select: text;
}

.lobify-wa-chat__bubble::after {
	position: absolute;
	top: 0;
	right: -7px;
	width: 0;
	height: 0;
	border-top: 9px solid #075e4f;
	border-right: 8px solid transparent;
	content: "";
}

.lobify-wa-chat__bubble p {
	margin: 0 0 11px;
	color: inherit;
	font: inherit;
}

.lobify-wa-chat__bubble p:last-of-type {
	margin-bottom: 0;
}

.lobify-wa-chat__greeting,
.lobify-wa-chat__hero-title,
.lobify-wa-chat__section-title,
.lobify-wa-chat__details strong,
.lobify-wa-chat__signature {
	font-weight: 700;
}

.lobify-wa-chat__hero-title {
	margin-block: 17px 14px !important;
	color: #ffffff !important;
	font-size: 1.08em !important;
}

.lobify-wa-chat__section-title {
	margin: 17px 0 10px;
	padding: 7px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.78);
	border-bottom: 1px solid rgba(255, 255, 255, 0.78);
	color: #ffffff !important;
	font: inherit;
	font-size: 1.02em;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.lobify-wa-chat__details {
	display: grid;
	gap: 3px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.lobify-wa-chat__details li {
	display: block;
	margin: 0;
	padding: 0 0 0 11px;
	color: inherit;
	font: inherit;
	line-height: 1.46;
}

.lobify-wa-chat__details li::before {
	float: left;
	margin-left: -10px;
	content: "•";
}

.lobify-wa-chat__details strong,
.lobify-wa-chat__details span,
.lobify-wa-chat__details a {
	display: inline;
}

.lobify-wa-chat__details .is-emphasized {
	margin-top: 2px;
}

.lobify-wa-chat__details .is-emphasized span {
	font-weight: 800;
}

.lobify-wa-chat__details--links li {
	margin-bottom: 4px;
}

.lobify-wa-chat__link {
	color: #53bdeb !important;
	font: inherit;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.lobify-wa-chat__link:hover,
.lobify-wa-chat__link:focus-visible {
	color: #8ad7f7 !important;
}

.lobify-wa-chat__link:focus-visible {
	outline: 2px solid #8ad7f7;
	outline-offset: 2px;
}

.lobify-wa-chat__link--disabled {
	opacity: 0.84;
	text-decoration-style: dotted;
}

.lobify-wa-chat__note {
	padding-left: 10px;
	border-left: 2px solid rgba(83, 189, 235, 0.8);
	font-size: 0.94em !important;
	opacity: 0.94;
}

.lobify-wa-chat__signature {
	margin-top: 16px !important;
}

.lobify-wa-chat__meta {
	position: absolute;
	right: 9px;
	bottom: 7px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.84em;
	line-height: 1;
}

.lobify-wa-chat__ticks {
	color: #53bdeb;
	font-weight: 800;
	letter-spacing: -0.24em;
}

.lobify-wa-demo.is-changing .lobify-wa-chat,
.lobify-wa-demo.is-changing .lobify-wa-demo__message {
	opacity: 0.28;
}

.lobify-wa-demo__hint {
	margin: 12px 0 0;
	color: #687881;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

.lobify-wa-demo__mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 14px;
	border: 1px solid rgba(18, 56, 79, 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: var(--lobify-navy);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.lobify-wa-demo__pause,
.lobify-wa-demo__mobile-toggle[aria-pressed="true"] .lobify-wa-demo__play {
	display: none;
}

.lobify-wa-demo__mobile-toggle[aria-pressed="true"] .lobify-wa-demo__pause {
	display: inline;
}

@media (max-width: 767px), (hover: none) {
	.lobify-wa-demo-shell {
		width: min(100%, 410px);
	}

	.lobify-wa-demo {
		width: min(100%, 410px);
	}

	.lobify-wa-demo-shell > .lobify-wa-demo {
		--lobify-demo-max-width: 410px;
		width: min(100%, var(--lobify-demo-max-width));
	}

	.lobify-wa-demo__mobile-toggle {
		display: flex;
	}

	.lobify-wa-demo__hint {
		display: none;
	}

	.lobify-wa-chat {
		padding-inline: 10px;
	}
}

@media (max-width: 390px) {
	.lobify-wa-demo__tab {
		padding-inline: 7px;
		font-size: 12px;
	}

	.lobify-wa-demo__tab-icon {
		flex-basis: 21px;
		width: 21px;
		height: 21px;
	}

	.lobify-wa-chat__bubble {
		padding-inline: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lobify-wa-demo__tab,
	.lobify-wa-demo__message,
	.lobify-wa-chat {
		transition: none;
	}
}
