/* ============================================================
   Smart Product Bundles — Frontend Styles
   ============================================================ */

.spb-bundled-products {
	margin: 20px 0;
	padding: 16px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
}

.spb-bundled-products__title {
	font-size: 1.1em;
	font-weight: 600;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0e0e0;
}

.spb-bundled-products__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spb-bundled-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #ebebeb;
}

.spb-bundled-item:last-child {
	border-bottom: none;
}

.spb-bundled-item--optional {
	opacity: 0.85;
}

.spb-bundled-item__image {
	flex: 0 0 60px;
}

.spb-bundled-item__image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.spb-bundled-item__details {
	flex: 1;
}

.spb-bundled-item__name {
	margin: 0 0 4px;
	font-weight: 500;
}

.spb-bundled-item__name a {
	text-decoration: none;
	color: inherit;
}

.spb-bundled-item__name a:hover {
	text-decoration: underline;
}

.spb-bundled-item__qty {
	color: #666;
	font-size: 0.9em;
}

.spb-bundled-item__optional {
	background: #f0f0f0;
	color: #555;
	font-size: 0.8em;
	padding: 1px 6px;
	border-radius: 3px;
	margin-left: 4px;
}

.spb-bundled-item__desc {
	margin: 4px 0;
	font-size: 0.85em;
	color: #555;
}

.spb-bundled-item__price {
	margin: 4px 0 0;
	font-size: 0.95em;
}

.spb-bundled-item__discount {
	background: #e46c0a;
	color: #fff;
	font-size: 0.8em;
	padding: 1px 5px;
	border-radius: 3px;
	margin-left: 4px;
}

.spb-bundled-products__total {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 2px solid #e0e0e0;
	font-size: 1.05em;
}

/* Cart: bundled child indentation */
.spb-bundled-child td {
	background: #f9f9f9;
	font-size: 0.9em;
	color: #555;
}
