.lipseys-elementor-product-field {
	--lipseys-product-accent: #c16c18;
}

.lipseys-elementor-product-field:empty {
	display: none;
}

.lipseys-elementor-product-empty {
	padding: 12px;
	border: 1px dashed #b7b7b7;
	background: #f7f7f7;
	color: #555;
	font-size: 13px;
	text-align: center;
}

.lipseys-elementor-product-field .price {
	margin: 0;
}

.lipseys-elementor-product-field .stock {
	display: inline-block;
	margin: 0;
}

.lipseys-elementor-product-field .cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.lipseys-elementor-product-field .woocommerce-product-gallery {
	float: none;
	width: 100%;
	margin: 0;
}

.lipseys-elementor-product-field .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
}

/* Product Images widget — archive-style contain scaling */
.lipseys-el-images {
	--lip-img-max-w: 600px;
	--lip-img-max-h: 450px;
}

.lipseys-el-images .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	max-width: var(--lip-img-max-w);
	margin: 0 !important;
}

.lipseys-el-images .woocommerce-product-gallery__wrapper {
	max-width: 100%;
}

.lipseys-el-images .woocommerce-product-gallery__image {
	display: grid;
	place-items: center;
	max-width: var(--lip-img-max-w);
	max-height: var(--lip-img-max-h);
	background: #fff;
}

.lipseys-el-images .woocommerce-product-gallery__image a {
	display: grid;
	place-items: center;
	max-width: 100%;
	max-height: var(--lip-img-max-h);
}

.lipseys-el-images .woocommerce-product-gallery__image img {
	width: auto !important;
	height: auto !important;
	max-width: min(100%, var(--lip-img-max-w)) !important;
	max-height: var(--lip-img-max-h) !important;
	object-fit: contain;
	display: block;
}

.lipseys-elementor-product-field .product_meta > span {
	display: block;
}

.lipseys-product-field {
	display: block;
}

.lipseys-product-field__label {
	font-weight: 700;
}

.lipseys-product-field__value {
	display: inline;
}

/* Let Elementor Style color/typography cascade into WooCommerce markup */
.lipseys-el-widget .product_title,
.lipseys-el-widget .price,
.lipseys-el-widget .amount,
.lipseys-el-widget .woocommerce-Price-amount,
.lipseys-el-widget .stock,
.lipseys-el-widget .product_meta,
.lipseys-el-widget .woocommerce-breadcrumb,
.lipseys-el-widget .woocommerce-product-details__short-description,
.lipseys-el-widget .woocommerce-product-description,
.lipseys-el-widget .woocommerce-Tabs-panel,
.lipseys-el-widget .wc-tabs a,
.lipseys-el-widget table,
.lipseys-el-widget .woocommerce-loop-product__title,
.lipseys-el-widget h2 {
	color: inherit;
}
