/*
 * Base rules of the product modules. They carry over what Divi's stylesheet
 * set for the WooCommerce modules these replace (et_pb_wc_title and friends),
 * so the pages look the same.
 */

.et_pb_lw_product_title,
.et_pb_lw_product_description,
.et_pb_lw_product_price {
	word-wrap: break-word;
}

/* Divi's headings have 10px padding below, the WooCommerce title had none. */
.et_pb_lw_product_title h1 {
	padding-bottom: 0;
}

/* Image with the magnifier button of the fullscreen view ---------------- */

.et_pb_lw_product_image .lw-product-image {
	position: relative;
}

.et_pb_lw_product_image .lw-product-image img {
	display: block;
	width: 100%;
	height: auto;
}

.et_pb_lw_product_image .lw-product-image__trigger {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	z-index: 99;
	box-sizing: content-box;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 100%;
	background: #fff;
	cursor: pointer;
	font-size: 2em;
	text-indent: -9999px;
}

.et_pb_lw_product_image .lw-product-image__trigger::before {
	content: "";
	display: block;
	position: absolute;
	top: 9px;
	left: 9px;
	box-sizing: content-box;
	width: 10px;
	height: 10px;
	border: 2px solid #000;
	border-radius: 100%;
}

.et_pb_lw_product_image .lw-product-image__trigger::after {
	content: "";
	display: block;
	position: absolute;
	top: 19px;
	left: 22px;
	box-sizing: content-box;
	width: 2px;
	height: 8px;
	border-radius: 6px;
	background: #000;
	transform: rotate(-45deg);
}
