/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

.ctm-product-card {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

@media (min-width: 1023px) {
	.ctm-product-card:hover {
		transform: scale(1.05);
		box-shadow: 0 5px 25px -10px rgba(0, 0, 0, 0.7);
	/* 	border: 1px solid var(--e-global-color-primary); */
	}
}

.ctm-product-options {
	position: absolute;
	top: 0;
	right: 0;
	transform: translateX(100%) rotateY(90deg);
	opacity: 0;
	transition: transform 0.3s, opacity 0.3s;
	z-index: 10;
}

.ctm-product-card:hover .ctm-product-options {
	transform: translateX(0%) rotateY(0deg);
	opacity: 1;
}

.ctm-product-options a {
	width: 40px;
	height: 40px;
	background: var(--e-global-color-primary);
	display: flex;
	justify-content: center;
	align-items: center;
}

.ctm-product-options img {
	width: 16px !important;
	height: 16px !important;
	margin-bottom: 0 !important;
	transform: translateX(4px);
}

.ctm-product-img {
	width: calc(100% - 2px);
	transform: translateX(1px);
	height: auto;
	aspect-ratio: 1;
	background: #fff;
}

.ctm-product-img a {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

.ctm-product-img a img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	margin-bottom: 0 !important;
}

.ctm-product-details h3,
.ctm-product-details p {
	font-family: "Montserrat", sans-serif;
	text-align: center;
}

.ctm-product-price {
	font-weight: 600;
	color: #000;
}

.ctm-product-price del {
	color: #888 !important;
}

.ctm-product-card .ctm-product-add-to-cart-btn {
	font-family: "Montserrat", sans-serif;
	background: var(--e-global-color-primary);
	color: #fff;
	border-radius: 0;
	border-top: 1px solid var(--e-global-color-primary);
	padding: 14px 0;
	display: block !important;
	width: 100%;
	margin-top: 10px;
	text-align: center;
	opacity: 0;
	transform: translateY(30px) rotateX(90deg);
	transition: all 0.3s ease-in-out;
}

.ctm-product-card:hover .ctm-product-add-to-cart-btn {
	opacity: 1;
	transform: translateY(0) rotateX(0deg);
}

.ctm-product-card .ctm-product-add-to-cart-btn:hover {
	background: transparent;
	color: var(--e-global-color-primary);
}

@media (max-width: 1024px) {
	.ctm-product-details h3 {
		font-size: 14px;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		height: 26px;
	}
	
	.ctm-product-card .ctm-product-add-to-cart-btn {
		font-size: 14px !important;
		opacity: 1 !important;
		transform: translateY(0) rotateX(0deg) !important;
	}
	
	.ctm-product-card .ctm-product-options {
		display: none !important;
	}
}