/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Product card – mockup: white, radius 6px, soft shadow, 16:10 image */
body.banaco-shop-layout .products .product-small .box {
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
	height: 100%;
	display: flex;
	flex-direction: column;
}

body.banaco-shop-layout .products .product-small .box-image {
	margin: 0;
}

body.banaco-shop-layout .products .product-small .box-image > div {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	position: relative;
	background: #f5f0e8;
}

body.banaco-shop-layout .products .product-small .box-image a {
	display: block;
	height: 100%;
	position: relative;
}

body.banaco-shop-layout .products .product-small .box-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Card text: padding ~20px (mockup 15–20px) */
body.banaco-shop-layout .products .product-small .box-text.banaco-loop-text,
body.banaco-shop-layout .products .product-small .box-text.banaco-loop-text.box-text-products {
	text-align: left;
	padding: 20px !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}

body.banaco-shop-layout .products .product-small .banaco-loop-text .title-wrapper {
	width: 100%;
}

body.banaco-shop-layout .products .product-small .product-title {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 8px;
	text-align: left;
}

body.banaco-shop-layout .products .product-small .product-title a {
	color: #222;
	text-decoration: none;
}

body.banaco-shop-layout .products .product-small .product-title a:hover {
	opacity: 0.75;
}

body.banaco-shop-layout .products .product-small .banaco-loop-excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: #777;
	margin: 0 0 16px;
	text-align: left;
	font-weight: 400;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* number of lines to show */
			line-clamp: 2; 
	-webkit-box-orient: vertical
}

body.banaco-shop-layout .products .product-small .banaco-loop-view-details {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #193c26;
	text-decoration: none;
	text-align: left;
	margin-top: auto;
}

body.banaco-shop-layout .products .product-small .banaco-loop-view-details:hover {
	opacity: 0.65;
}

body.banaco-shop-layout .products .product-small .banaco-loop-view-details span {
	margin-left: 0.25em;
}

body.banaco-shop-layout .products .product-small .image-tools,
body.banaco-shop-layout .products .product-small .add-to-cart-button {
	display: none !important;
}

/* UX Builder Products / Featured Products – same card body as shop */
.product-small .box-text.banaco-loop-text {
	text-align: left;
	padding: 20px !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-small .box-text.banaco-loop-text .title-wrapper {
	width: 100%;
}

.product-small .banaco-loop-text .product-title {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 8px;
	text-align: left;
}

.product-small .banaco-loop-text .product-title a {
	color: #222;
	text-decoration: none;
}

.product-small .banaco-loop-excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: #777;
	margin: 0 0 16px;
	text-align: left;
	font-weight: 400;
}

.product-small .banaco-loop-view-details {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1a8769;
	text-decoration: none;
	text-align: left;
	margin-top: auto;
}

.product-small .banaco-loop-view-details:hover {
	opacity: 0.65;
}

.product-small .banaco-loop-view-details span {
	margin-left: 0.25em;
}

.product-small .banaco-loop-text .price-wrapper:empty {
	display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
