/* Be Related Products widget - base styles.
   Elementor Style controls override most of this via inline CSS,
   these rules just provide sensible defaults / structural layout. */

.Be_related-products-wrapper {
	width: 100%;
}

.Be_related-products-grid {
	--be-columns: 4;
	display: grid;
	grid-template-columns: repeat( var( --be-columns ), 1fr );
	column-gap: 20px;
	row-gap: 20px;
}

.Be_product-item {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.Be_product-item:hover {
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.08 );
}

.Be_product-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.Be_product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e9fbfb;
	height: 220px;
	overflow: hidden;
}

.Be_product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.Be_product-content {
	padding: 15px;
}

.Be_product-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #1b1b1b;
}

.Be_product-price {
	margin: 0 0 8px 0;
	font-size: 15px;
	font-weight: 700;
	color: #6e1e5c;
}

.Be_product-price del {
	opacity: 0.6;
	font-weight: 400;
	margin-right: 6px;
}

.Be_product-meta {
	font-size: 13px;
	color: #8a8a8a;
}

.Be_meta-separator {
	margin: 0 4px;
	opacity: 0.6;
}

.Be_product-button {
	padding: 0 15px 15px;
	margin-top: 0;
}

.Be_add-to-cart {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 10px 16px;
	border-radius: 4px;
	background-color: #6e1e5c;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.25s ease, color 0.25s ease;
	box-sizing: border-box;
}

.Be_add-to-cart:hover {
	background-color: #521647;
	color: #ffffff;
}

.Be_no-products {
	text-align: center;
	padding: 20px;
	color: #8a8a8a;
}

/* Responsive fallback if Elementor responsive column controls
   are somehow not applied (e.g. very narrow containers). */
@media ( max-width: 767px ) {
	.Be_related-products-grid {
		--be-columns: 2;
	}
}

@media ( max-width: 480px ) {
	.Be_related-products-grid {
		--be-columns: 1;
	}
}
