/*
 * Postomatic Public Styles
 *
 * Front-end styles for the Postomatic plugin
 */

/* Related Products List */
.postomatic-related-products-list {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	/*flex-wrap: wrap;*/
	margin: 20px auto;
	max-width: 100%;
	gap: 20px;
	overflow: auto;
}

.postomatic-related-products-list br {
	display: none !important;
}

.postomatic-related-products-item {
	background: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	font-family: Arial, sans-serif;
	overflow-y: auto;
	border: 1px solid rgb(204, 204, 204);
	padding: 10px;
	border-radius: 5px;
	text-align: center;
	min-width: 150px;
	min-height: 300px;
	font-size: medium;
}

.postomatic-related-products-item img {
	object-fit: cover;
	display: block;
	height: 100px;
	width: 100%;
}

/*tables*/
.postomatic-product-comparison-div table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	border: 1px solid rgb(221, 221, 221);
}

.postomatic-product-comparison-div th {
	padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	background-color: #f2f2f2;
	font-weight: bold;
	text-align: left;
}

.postomatic-product-comparison-div table th,
.postomatic-product-comparison-div table td{
	border: 1px solid rgb(221, 221, 221);
	padding: 8px;
	text-align: left;
	font-size: smaller;
}
.postomatic-product-comparison-div img{
	max-width: 100px;
	height: auto;
	border: 1px solid rgb(221, 221, 221);
	padding: 5px;
}

.postomatic-product-comparison-div.postomatic-product-comparison-div-right table,
.postomatic-product-comparison-div.postomatic-product-comparison-div-right th,
.postomatic-product-comparison-div.postomatic-product-comparison-div-right td{
	direction: rtl;
	text-align: right;
}

.postomatic-image-body{
	max-width: 100%;
}
