#slider-pager li {
	list-style: none;
	float: left;
	display: inline;
	width: 90px;
	height: 90px;
	margin-bottom: 15px;
}

#slider img {
	max-height: 500px;
	max-width: 500px;
	/* width:auto; */
	/* width: fit-content; */
	height: fit-content;
	margin: 0 auto !important;
	object-fit: contain;
}

#slider li {
	min-height: 400px !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.rslides_tabs {
	width: 100% !important;
	float: left;
	position: relative;
	left: 0;
	top: 0;
	z-index: 2;
	padding-left: 0px !important;
}

.rslides_tabs img {
	width: 60px;
}

.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 0;
	float: left;
	margin-bottom: 20px;
}

#variation-color-picker ul li img {
	width: 40px;
	padding: 2px;
	border: solid thin #999;
	border-radius: 3px;
}

#variation-talle-picker ul li {
	border: solid thin #ccc;
	border-radius: 4px;
	padding: 5px 10px;
    margin-right: 10px;
}

.variation-picker ul li {
	display: inline;
	float: left;
	padding: 10px;
}

/* ===== VIDEO YOUTUBE STYLES ===== */

/* Video container responsive 16:9 */
#video-container {
	width: 100%;
	margin-bottom: 20px;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	border-radius: 4px;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Video thumbnail in pager */
#video-thumb-item {
	list-style: none;
	float: left;
	display: inline;
	width: 90px;
	height: 90px;
	margin-bottom: 15px;
}

.video-thumb-wrapper {
	position: relative;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 4px;
	border: 2px solid #666;
	transition: border-color 0.2s ease;
}

.video-thumb-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	transition: background 0.2s ease;
}

.video-play-overlay i {
	font-size: 28px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#video-thumb-link:hover .video-thumb-wrapper {
	border-color: #dc3545;
}

#video-thumb-link:hover .video-play-overlay {
	background: rgba(220, 53, 69, 0.6);
}

#video-thumb-link.active .video-thumb-wrapper {
	border-color: #dc3545;
}

#video-thumb-link.active .video-play-overlay {
	background: rgba(220, 53, 69, 0.7);
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.video-wrapper {
		border-radius: 0;
	}

	#video-thumb-item {
		width: 70px;
		height: 70px;
	}

	.video-thumb-wrapper {
		width: 50px;
		height: 50px;
	}

	.video-play-overlay i {
		font-size: 22px;
	}
}
