/**
* Theme Name: Radist Child
* Description: This is a child theme of Radist, generated by Merlin WP.
* Author: <a href="https://prestabrain.com/">Prestabrain Team</a>
* Template: radist
* Version: 1.0.8
*/

/* --- Skylight Product Slider Styling --- */
.skylight-product-slider-outer-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.skylight-product-slider-wrapper {
	position: relative;
	width: 100%;
	overflow: visible;
}

.skylight-product-slider {
	width: 100%;
	height: auto;
}

/* Card Styling */
.skylight-product-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	box-sizing: border-box;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skylight-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
	border-color: #cbd5e1;
}

/* Image wrapper styling */
.skylight-image-link {
	display: block;
	text-decoration: none;
	width: 100%;
}

.skylight-image-wrapper {
	position: relative;
	background-color: #f8fafc;
	height: 280px; /* Adjust height according to standard product visual aspect */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	overflow: hidden;
	transition: background-color 0.3s ease;
}

.skylight-product-card:hover .skylight-image-wrapper {
	background-color: #f1f5f9;
}

.skylight-product-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.5s ease;
}

.skylight-product-card:hover .skylight-product-image {
	transform: scale(1.04);
}

/* Details wrapper styling */
.skylight-details-wrapper {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background-color: #ffffff;
}

/* Category text styling */
.skylight-product-category {
	display: block;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.8px;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Title styling */
.skylight-product-title {
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 16px 0;
	color: #0f172a;
	min-height: 44px; /* Fix line heights for perfect alignment */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.skylight-product-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.skylight-product-title a:hover {
	color: #475569; /* Slightly lighter shade on hover */
}

/* Read More styling */
.skylight-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #0f172a;
	text-decoration: none;
	margin-top: auto; /* Push read more button to bottom of text block */
	width: fit-content;
	transition: color 0.2s ease;
}

.skylight-read-more:hover {
	color: #475569;
}

.skylight-arrow-icon {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.skylight-read-more:hover .skylight-arrow-icon {
	transform: translateX(4px);
}

/* Pagination container styling */
.skylight-pagination-container {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.skylight-product-slider-outer-wrapper .swiper-pagination {
	position: static;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: auto;
}

.skylight-product-slider-outer-wrapper .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #cbd5e1;
	opacity: 1;
	border-radius: 50%;
	transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
	margin: 0 !important;
	cursor: pointer;
}

.skylight-product-slider-outer-wrapper .swiper-pagination-bullet-active {
	background: #0f172a;
	width: 8px;
	border-radius: 50%;
}

/* Swiper navigation buttons */
.skylight-swiper-button-prev,
.skylight-swiper-button-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0f172a;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.skylight-swiper-button-prev:hover,
.skylight-swiper-button-next:hover {
	background-color: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.skylight-swiper-button-prev {
	left: -22px;
}

.skylight-swiper-button-next {
	right: -22px;
}

@media (max-width: 1024px) {
	.skylight-swiper-button-prev {
		left: -10px;
	}
	.skylight-swiper-button-next {
		right: -10px;
	}
}

@media (max-width: 768px) {
	.skylight-image-wrapper {
		height: 220px;
		padding: 16px;
	}
	.skylight-swiper-button-prev,
	.skylight-swiper-button-next {
		display: none; /* Hide arrows on mobile for better touch experience */
	}
}