/**
 * مشخصات فنی — ظاهر نزدیک به ردیف برند قالب باکالا.
 * بدون عنوان اضافه و بدون خط افقی.
 */

.kalaoma-specs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	direction: rtl;
	text-align: right;
}

.kalaoma-specs__group-title {
	display: none;
}

.kalaoma-specs__row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.kalaoma-specs__label {
	display: flex;
	align-items: center;
	margin: 0;
	margin-left: 15px;
	padding: 10px 16px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: #f3f4f6;
	font-weight: 400;
	line-height: 1.6;
	box-sizing: border-box;
	min-width: 22%;
	max-width: 22%;
	color: #545455;
}

.kalaoma-specs__value {
	display: flex;
	align-items: center;
	flex: 1 1 0;
	min-width: 75%;
	max-width: 75%;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: #f3f4f6;
	font-weight: 400;
	line-height: 1.6;
	box-sizing: border-box;
	color: #545455;
}

.kalaoma-specs__value a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 767px) {
	.kalaoma-specs__row {
		flex-wrap: nowrap;
		align-items: stretch;
	}

	.kalaoma-specs__label {
		flex: 0 1 38%;
		min-width: 49%;
		margin-left: 8px;
		padding: 8px 12px;
		overflow-wrap: anywhere;
		width: 49%;
	}

	.kalaoma-specs__value {
		flex: 1 1 0%;
		min-width: 49%;
		padding: 8px 12px;
		overflow-wrap: anywhere;
	}
}

#woocommerce-product-data ul.wc-tabs li.kalaoma_specs_tab a::before {
	font-family: Dashicons, sans-serif;
	content: "\f107";
}

.kalaoma-admin-specs {
	padding: 12px 16px 20px;
}

.kalaoma-admin-specs__preview {
	margin: 0 12px 16px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	max-height: 360px;
	overflow: auto;
}

.kalaoma-admin-specs__empty {
	margin: 0;
	padding: 12px 16px;
	color: #646970;
}

.kalaoma-admin-specs__editor {
	margin: 0 12px 16px;
}

.kalaoma-admin-specs__hint {
	margin: 0 0 10px;
	color: #646970;
}

.kalaoma-admin-specs__table-wrap {
	max-height: 420px;
	overflow: auto;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.kalaoma-admin-specs__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	direction: rtl;
	text-align: right;
}

.kalaoma-admin-specs__table th {
	padding: 8px 10px;
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
	font-weight: 600;
}

.kalaoma-admin-specs__table td {
	padding: 6px 8px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}

.kalaoma-admin-specs__table tr:last-child td {
	border-bottom: 0;
}

.kalaoma-admin-specs__table .kalaoma-admin-specs__input {
	width: 100%;
	max-width: none !important;
	box-sizing: border-box;
}

.kalaoma-admin-specs__actions {
	width: 72px;
	white-space: nowrap;
}

.kalaoma-admin-specs__toolbar {
	margin: 10px 0 0;
}
