/* Elementor Addon Nextra - Flip Box */

.ean-widget-flip-box {
	perspective: 1200px;
}

.ean-widget-flip-box .ean-flip-box {
	position: relative;
	min-height: 320px;
	transform-style: preserve-3d;
}

.ean-widget-flip-box .ean-flip-inner {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.ean-widget-flip-box.ean-is-flipped .ean-flip-inner {
	transform: rotateY(180deg);
}

.ean-widget-flip-box[data-direction="vertical"] .ean-flip-inner {
	transform-origin: center;
}

.ean-widget-flip-box[data-direction="vertical"].ean-is-flipped .ean-flip-inner {
	transform: rotateX(180deg);
}

.ean-widget-flip-box .ean-flip-face {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 18px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.ean-widget-flip-box .ean-flip-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 36px 32px;
	text-align: center;
}

.ean-widget-flip-box .ean-flip-front {
	background: linear-gradient(145deg, #6c63ff, #4f46e5);
}

.ean-widget-flip-box .ean-flip-back {
	background: linear-gradient(145deg, #2b2d42, #1a1b2e);
	transform: rotateY(180deg);
}

.ean-widget-flip-box[data-direction="vertical"] .ean-flip-back {
	transform: rotateX(180deg);
}

.ean-widget-flip-box .ean-flip-front-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 22px;
	font-size: 36px;
	line-height: 1;
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
}

.ean-widget-flip-box .ean-flip-front-icon i {
	line-height: 1;
}

.ean-widget-flip-box .ean-flip-front-title,
.ean-widget-flip-box .ean-flip-back-title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
}

.ean-widget-flip-box .ean-flip-front-text,
.ean-widget-flip-box .ean-flip-back-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #f0f0f0;
}

.ean-widget-flip-box .ean-flip-back-button {
	display: inline-block;
	margin-top: 20px;
	padding: 11px 28px;
	background-color: #ffffff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ean-widget-flip-box .ean-flip-back-button:hover {
	background-color: #6c63ff;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
	.ean-widget-flip-box .ean-flip-box {
		min-height: 300px;
	}
}
