/* Belgian Art Frontend Manager - complements the theme's WooCommerce styles, doesn't replace them */

.bafm-current-image img,
.bafm-gallery-item img {
	max-width: 80px;
	height: auto;
	display: block;
	margin-bottom: 4px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
}

.bafm-current-image {
	margin-bottom: 8px;
}

.bafm-gallery-current {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}

.bafm-gallery-item {
	text-align: center;
	font-size: 12px;
}

.bafm-attributes,
.bafm-categories,
.bafm-custom-fields {
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 20px;
}

.bafm-attributes legend,
.bafm-categories legend,
.bafm-custom-fields legend {
	font-weight: 600;
	padding: 0 5px;
}

.bafm-attribute-select {
	width: 100%;
}

.bafm-category-item {
	display: block;
	margin-bottom: 8px;
}

.bafm-checkbox-row label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bafm-form .form-row {
	margin-bottom: 15px;
}

.bafm-notice {
	background: #fff8e5;
	border-left: 4px solid #ffb900;
	padding: 10px 15px;
}

.bafm-field-hint {
	display: block;
	font-size: 12px;
	color: #767676;
	margin-top: 4px;
}

.bafm-form input:disabled {
	background: #f2f2f2;
	cursor: not-allowed;
}

@media ( min-width: 768px ) {
	.bafm-form .form-row-first,
	.bafm-form .form-row-last {
		width: 47%;
	}

	.bafm-form .form-row-first {
		float: left;
	}

	.bafm-form .form-row-last {
		float: right;
	}
}

.bafm-form::after {
	content: '';
	display: table;
	clear: both;
}

.bafm-products-list .bafm-table td[data-title] img,
.bafm-exhibitions-list .bafm-table td[data-title] img {
	vertical-align: middle;
}
