.happy_face {
	padding-bottom: 130px;
}

.carousel-3d-container {
	position: relative;
	width: 100%;
	user-select: none;
}

.carousel-3d-container .owl-carousel .owl-stage {
	display: flex;
	align-items: center;
	padding: 100px 0;
}

.carousel-3d-container .owl-carousel .owl-item {
	z-index: 1;
	position: relative;
}

.carousel-3d-container .owl-carousel .owl-item.active.center {
	z-index: 3;
}

.carousel-3d-container .owl-carousel .owl-item.prev,
.carousel-3d-container .owl-carousel .owl-item.next {
	z-index: 2;
}

.carousel-3d-container .carousel-3d-card {
	width: 100%;
	margin: 0 auto;
	transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	border: 3px solid #10b981;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transform: scale(0.7);
	opacity: 0.8;
}

.carousel-3d-container .carousel-3d-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.carousel-3d-container .owl-item.active.center .carousel-3d-card {
	transform: scale(1.3);
	border-color: #10b981;
	box-shadow: 0 10px 40px rgba(16, 185, 129, 0.6);
	opacity: 1;
}

.carousel-3d-container .owl-item.prev .carousel-3d-card {
	transform: translateX(0%) scale(1.05);
	border-color: #10b981;
	box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.carousel-3d-container .owl-item.next .carousel-3d-card {
	transform: translateX(0%) scale(1.05);
	border-color: #10b981;
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.carousel-3d-container .owl-item.prev-2 .carousel-3d-card {
	transform: translateX(10%) scale(0.85);
	border-color: #22c55e;
	opacity: 0.9;
}

.carousel-3d-container .owl-item.next-2 .carousel-3d-card {
	transform: translateX(-10%) scale(0.85);
	border-color: #22c55e;
	opacity: 0.9;
}

.carousel-3d-container .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 4;
}

.carousel-3d-container .owl-carousel .owl-nav button.owl-prev,
.carousel-3d-container .owl-carousel .owl-nav button.owl-next {
	pointer-events: auto;
	color: white !important;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 18px !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.7);
	transition: all 0.3s ease !important;
	margin: 0 30px !important;
	background: #0009 !important;
	position: relative;
}

.carousel-3d-container .owl-carousel .owl-nav button.owl-prev::after,
.carousel-3d-container .owl-carousel .owl-nav button.owl-next::after {
	content: '';
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: inherit;
	background: linear-gradient(90deg, #00FF1E 0%, #FFFFFF 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	width: 100%;
	left: 0;
	right: 0;
	height: 100%;
	border-radius: 100px;
}

.carousel-3d-container .owl-carousel .owl-nav button.owl-prev:hover,
.carousel-3d-container .owl-carousel .owl-nav button.owl-next:hover {
	background: #10b981 !important;
	color: white !important;
	transform: scale(1.1);
}

.carousel-3d-card .owl-lazy {
	max-height: 271px !important;
	opacity: 1 !important;
}

.happy-face-card,
.happy-face-media {
	position: relative;
}

.happy-face-thumb {
	display: block;
}

.happy-face-video-wrap {
	position: absolute;
	inset: 0;
	background: #000;
}

.happy-face-video-wrap[hidden] {
	display: none;
}

.happy-face-video-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.happy-face-card.is-playing .happy-face-thumb {
	visibility: hidden;
}

.happy-face-card .view-flex-row {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: flex-end;
	padding: 10px 15px;
	z-index: 3;
	pointer-events: none;
}

.happy-face-card .view-flex-row span.view-count-happy-faces {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	background: #2fb463;
	border-radius: 100px;
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	font-family: Roboto, sans-serif;
	line-height: 1.3;
}

.happy-face-card.is-playing .view-flex-row {
	display: none;
}

.happy-face-play-button {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
	cursor: pointer;
	z-index: 2;
}

.happy-face-play-button::before {
	content: '';
	position: absolute;
	left: 23px;
	top: 17px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #fff;
}

.happy-face-card.is-playing .happy-face-play-button {
	display: none;
}

@media (max-width: 1699px) {
	.carousel-3d-container .owl-carousel .owl-stage {
		display: flex;
		align-items: center;
		padding: 70px 0;
	}

	.carousel-3d-card .owl-lazy {
		max-height: 260px !important;
	}

	.happy_face {
		padding-bottom: 90px;
	}
}

@media (max-width: 1199px) {
	.happy_face {
		padding-bottom: 50px;
	}
}

@media (max-width: 991px) {
	.carousel-3d-card .owl-lazy {
		max-height: 180px !important;
	}
}

@media (max-width: 767px) {
	.carousel-3d-container .owl-carousel .owl-nav button.owl-prev,
	.carousel-3d-container .owl-carousel .owl-nav button.owl-next {
		margin: 0 -10px !important;
	}
}

@media (max-width: 479px) {
	.carousel-3d-card .owl-lazy {
		max-height: 140px !important;
	}
}
