/**
 * AlVilla Slider Pro - Common Styles
 * Weight: < 3 KB (Zero bloat)
 */

.alvilla-carousel-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
}

.alvilla-carousel-container {
	display: flex;
	will-change: transform;
	backface-visibility: hidden;
}

/* Navigational Arrows */
.alvilla-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #1C1917;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	outline: none;
}

.alvilla-nav-btn:hover {
	background: #ffffff;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.alvilla-nav-btn.prev {
	left: 16px;
}

.alvilla-nav-btn.next {
	right: 16px;
}

.alvilla-nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: translateY(-50%) scale(1);
}

.alvilla-nav-btn::after {
	content: '';
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: inline-block;
}

.alvilla-nav-btn.prev::after {
	transform: rotate(-135deg);
	margin-left: 2px;
}

.alvilla-nav-btn.next::after {
	transform: rotate(45deg);
	margin-right: 2px;
}

/* Pagination Dots */
.alvilla-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(6px);
	border-radius: 20px;
}

.alvilla-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	border: none;
	padding: 0;
	transition: all 0.25s ease;
}

.alvilla-dot.is-active {
	background: #ffffff;
	width: 22px;
	border-radius: 6px;
}

/* Video Facade General */
.alvilla-video-facade {
	position: relative;
	width: 100%;
	height: 100%;
	cursor: pointer;
	overflow: hidden;
	background-color: #0c0a09;
}

.alvilla-video-facade .facade-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.alvilla-video-facade:hover .facade-poster {
	transform: scale(1.03);
}

.alvilla-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	border: 2px solid rgba(255, 255, 255, 0.85);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
	z-index: 2;
}

.alvilla-video-play-btn::after {
	content: '';
	margin-left: 3px;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #ffffff;
}

.alvilla-video-facade:hover .alvilla-video-play-btn {
	transform: translate(-50%, -50%) scale(1.12);
	background: rgba(42, 111, 104, 0.85);
	border-color: #ffffff;
}

.alvilla-video-player-active {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}

/* WooCommerce Quick-Cart Toast Notification */
.alvilla-wc-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: #1C1917;
	color: #ffffff;
	padding: 12px 20px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	font-size: 13px;
	font-weight: 600;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 10px;
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border-left: 4px solid #2A6F68;
}

.alvilla-wc-toast.show {
	transform: translateY(0);
	opacity: 1;
}
