.product-swiper {
	
}

/* Ensure all product thumbnails fill the swiper slide width */
.product-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Add some space around the slide */
    box-sizing: border-box; /* Include padding in width */
}

/* Updated container size to match slide width */
.product-swiper .product-thumbnail {
    width: 100%; /* Take full width of slide */
    max-width: 213px; /* Optional: Limit maximum width to maintain consistency */
    aspect-ratio: 3 / 4; /* Maintain aspect ratio */
    background-color: #eee; /* Light grey background */
    padding: 5px; /* Padding to prevent tight fitting */
    box-sizing: border-box;
    border-radius: 5px; /* Optional: Add rounded corners */
}

/* Ensure images fit inside properly without cropping */
.product-swiper .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain aspect ratio without cropping */
}

.product-swiper .product-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* Number of lines to show */
    max-height: 3.2em; /* Adjust based on line height */
    line-height: 1.6em; /* Control spacing between lines */
    white-space: normal; /* Ensures text wraps properly */	
	text-align: center;
	margin: 2px auto;
	font-size: 14px;
	height: 45px;
}

.product-author {
	height: 20px;
	text-align: center;
	margin: 2px auto;
	font-size: 14px;
}

/* Price amount */
.product-swiper .woocommerce-Price-amount.amount {
	display: block;
	margin: 0 auto 4px auto;
	font-weight: bold;
}

/* Price / Button P */
.product-swiper .product.woocommerce.add_to_cart_inline {
	text-align: center;
	margin: auto auto 0 auto;
	padding-top: 0px;
}

/* Add to cart button */
.product.woocommerce.add_to_cart_inline a.button {
	display: block;
	margin: 0 auto;
	width: 100%;
	padding: 10px;
}

/* Default alignment for mobile-first (center-aligned) */
.swiper-heading {
    text-align: center;
}

/* Left-align for larger screens */
@media (min-width: 768px) {
    .swiper-heading {
        text-align: left;
		margin-left: 20px;
    }
}

/* Default alignment for mobile-first (center-aligned) */
.swiper-cta {
    text-align: center;
}

/* Left-align for larger screens */
@media (min-width: 768px) {
    .swiper-cta {
        text-align: right;
		margin-right: 20px;
    }
}
	
}
