.betty-corner-promo {
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0s linear 0.25s;
}

.betty-corner-promo.is-visible {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.betty-corner-promo__inner {
	position: relative;
	transform: translateY(10px);
	transition: transform 0.25s ease;
}

.betty-corner-promo.is-visible .betty-corner-promo__inner {
	transform: translateY(0);
}

.betty-corner-promo__close {
	position: absolute;
	top: -8px;
	right: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	color: var(--accent);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}

.betty-corner-promo__close:hover,
.betty-corner-promo__close:focus-visible {
	background: rgba(0, 0, 0, 0.85);
}

.betty-corner-promo__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.betty-corner-promo {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 999;
	width: 220px;
	pointer-events: none;
}

.betty-corner-promo__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	pointer-events: auto;
}

.betty-corner-promo__media {
	position: relative;
	z-index: 1;
	width: 180px;
	display: flex;
	justify-content: center;
}

.betty-corner-promo__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
    max-height: 150px;
}

.betty-corner-promo__content {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: -2px;
}

.betty-corner-promo .betty-promo-banner__button {
	white-space: nowrap;
	flex-shrink: 0;
}
.betty-corner-promo .title-arrow {
	margin-bottom: 0;
}
.betty-corner-promo__button-text {
	display: inline-flex;
	align-items: center;
}

@media (max-width: 767px) {
	.betty-corner-promo {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: min(340px, calc(100vw - 24px));
		bottom: max(8px, env(safe-area-inset-bottom));
        
	}

	.betty-corner-promo__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: end;
		column-gap: 12px;
		row-gap: 0;
	}

	.betty-corner-promo__media {
		width: 100%;
		justify-content: center;
		align-self: end;
	}

	.betty-corner-promo__media img {
		width: 100%;
		height: auto;
	}

	.betty-corner-promo__content {
		width: 100%;
		justify-content: center;
		align-items: flex-end;
		align-self: end;
		margin-top: 0;
	}

	.betty-corner-promo .betty-promo-banner__button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.betty-corner-promo {
		width: calc(100vw - 20px);
		bottom: max(6px, env(safe-area-inset-bottom));
	}

	.betty-corner-promo__inner {
		column-gap: 10px;
	}
}