/**
 * 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 {
	background: white;
	border: 1px solid var(--e-global-color-primary);
	transition: border-color 0.3s ease;
	position: relative;
	overflow: hidden;
}

.ctm-product-card:hover {
	border-color: #000;
}

.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: 100%;
	height: 190px;
	overflow: hidden;
}

.ctm-product-img a,
.ctm-product-img a img {
	width: 100%;
	height: 100%;
}

.ctm-product-img a img {
	height: 100%;
	object-fit: cover;
}

.ctm-product-card .ctm-product-name {
	line-height: 1;
	margin: 0 !important;
	margin-bottom: 8px !important;
	margin-top: 14px !important;
}

.ctm-product-card .ctm-product-name a {
	font-family: "Louis George Cafe", sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--e-global-color-primary) !important;
	display: -webkit-box;
    -webkit-line-clamp: 1;   /* limit to 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctm-product-card ul {
	display: flex;
	flex-wrap: nowrap;
    overflow: hidden;
}

.ctm-product-card ul li + li::before {
	content: ', ';
}

.ctm-product-card .ctm-product-category {
	font-size: 14px;
	color: var(--e-global-color-secondary);
}

.ctm-product-card .ctm-product-details {
	padding: 10px;
}

.ctm-product-card .ctm-flex-row-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ctm-product-card .ctm-product-add-to-cart-btn {
	background: linear-gradient(45deg, var(--e-global-color-primary), var(--e-global-color-secondary));
	color: #fff;
	border: 1px solid var(--e-global-color-primary);
	padding: 10px 30px;
	padding-bottom: 12px;
	border-radius: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background 0.3s ease, color 0.3s ease;
}

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

.ctm-product-card .ctm-product-add-to-cart-btn svg {
	width: 16px;
	fill: white;
	transition: fill 0.3s ease;
}

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

.ctm-product-card span {
	font-size: 18px;
	font-family: "Signika", sans-serif;
	font-weight: 600;
	color: #000;
}

.ctm-product-card .ctm-product-price {
	font-family: "Montserrat", sans-serif !important;
	font-size: 18px !important;
	margin-bottom: 0 !important;
	width: 40%;
	text-align: right;
}

/* .ctm-product-card span.woocommerce-Price-currencySymbol {
	font-size: 12px;
	font-weight: 400;
	text-decoration: none;
} */

.ctm-product-card ins,
.ctm-product-card del {
	text-decoration: none;
}

.ctm-product-card del span {
	text-decoration: line-through;
	color: #888;
}

@media (max-width: 768px) {
	.ctm-product-card .ctm-product-name {
		margin-top: 10px;
	}
	.ctm-product-options {
		display: none;
	}
}