/**
 * mmm-kit-manager / frontend.css
 * Styles for the Components and Kits product tabs on the WooCommerce storefront.
 * Only loaded on single product pages.
 */

/* ── Components table ───────────────────────────────────────────────────── */

.mmm-frontend-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}

.mmm-frontend-table th {
	text-align: left;
	padding: 8px 10px;
	background: #f5f5f5;
	border-bottom: 2px solid #ddd;
	font-size: 13px;
}

.mmm-frontend-table td {
	padding: 10px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.mmm-frontend-table .mmm-col-img {
	width: 56px;
}

.mmm-frontend-table .mmm-col-img img {
	display: block;
	border-radius: 3px;
	object-fit: cover;
}

.mmm-frontend-table .mmm-col-sku {
	color: #777;
	font-family: monospace;
	font-size: 12px;
}

.mmm-frontend-table .mmm-col-qty {
	width: 50px;
	text-align: center;
	font-weight: 700;
}

.mmm-frontend-table a {
	text-decoration: none;
}

.mmm-frontend-table a:hover {
	text-decoration: underline;
}

/* ── OR group rows ──────────────────────────────────────────────────────── */

.mmm-or-row .mmm-col-name {
	line-height: 1.8;
}

.mmm-or-divider {
	display: block;
	font-size: 11px;
	color: #999;
	font-style: italic;
	margin: 1px 0;
}

/* ── Kits list ──────────────────────────────────────────────────────────── */

.mmm-kits-list {
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.mmm-kits-list li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.mmm-kits-list li:last-child {
	border-bottom: none;
}

.mmm-kits-list a {
	font-weight: 600;
}
