/* apcs-public.css */

.apcs-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: visible; /* so shadows aren't cut off */
	padding: 20px 0;
}

.apcs-swiper-container {
	width: 100%;
	padding-bottom: 50px; /* space for pagination */
	overflow: hidden;
}

/* Ensure swiper-slide clips to the card's border-radius */
.apcs-swiper-container .swiper-slide {
	overflow: hidden;
}

.apcs-ticker-mode .swiper-wrapper {
	transition-timing-function: linear !important;
}

.apcs-product-card {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px !important;
	overflow: hidden !important;
	position: relative;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	background: #fff;
	-webkit-mask-image: -webkit-radial-gradient(white, black); /* force GPU clip on Safari */
}

.apcs-product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
	border-radius: inherit !important;
}

/* Hover Effects */
.hover-effect-scale .apcs-product-card:hover .apcs-product-image {
	transform: scale(1.1);
}

.hover-effect-lift_up .apcs-product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.hover-effect-glow .apcs-product-card:hover {
	box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
	transform: translateY(-2px);
}

/* Navigation Overrides */
.apcs-nav-next, .apcs-nav-prev {
	color: #ffffff;
	background: #222222;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	transition: all 0.3s ease;
}

.apcs-nav-next:hover, .apcs-nav-prev:hover {
	background: #000000;
	transform: scale(1.1);
}

.apcs-nav-next::after, .apcs-nav-prev::after {
	font-size: 18px;
	font-weight: bold;
}

.apcs-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #ccc;
	opacity: 0.6;
	transition: all 0.3s ease;
}

.apcs-pagination .swiper-pagination-bullet-active {
	background: #222222;
	opacity: 1;
	transform: scale(1.3);
}

.apcs-shop-now-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	display: flex;
	justify-content: center;
	align-items: flex-end;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.apcs-product-card:hover .apcs-shop-now-wrapper {
	opacity: 1;
}

.apcs-shop-now-btn {
	background: #00e676;
	color: #000;
	font-weight: bold;
	padding: 10px 24px;
	border-radius: 30px;
	text-transform: uppercase;
	font-size: 14px;
	box-shadow: 0 4px 15px rgba(0,230,118,0.4);
	transition: transform 0.3s ease, background 0.3s ease;
}

.apcs-shop-now-btn:hover {
	transform: scale(1.05);
	background: #00c853;
}
