.tpb-bundle-card {
	margin: 18px 0;
	padding: 16px;
	border: 1px solid rgba(17, 24, 39, 0.09);
	border-radius: 8px;
	background: linear-gradient(180deg, #fff, #fafafa);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	color: #1f2937;
}

.tpb-bundle-top,
.tpb-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 2;
}

.tpb-kicker {
	display: block;
	margin-bottom: 4px;
	color: #6b7280;
	font-size: 12px;
}

.tpb-bundle-top strong {
	font-size: 15px;
	line-height: 1.8;
}

.tpb-saving {
	flex: 0 0 auto;
	padding: 7px 10px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #027a48;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.tpb-stack {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
	gap: 10px;
	max-height: 242px;
	margin: 18px 0 14px;
	padding: 2px 2px 8px;
	overflow: auto;
	scrollbar-width: thin;
	overscroll-behavior: contain;
}

.tpb-mini-product {
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: center;
	gap: 10px;
	min-height: 66px;
	padding: 8px;
	border: 1px solid #eef0f3;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tpb-mini-product:hover {
	border-color: #16a34a;
	box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.22), 0 8px 18px rgba(22, 163, 74, 0.1);
	transform: none;
	color: inherit;
	text-decoration: none;
}

.tpb-thumb {
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 8px;
	background: #f3f4f6;
}

.tpb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tpb-meta {
	min-width: 0;
}

.tpb-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.65;
}

.tpb-qty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 22px;
	margin-top: 4px;
	padding: 0 7px;
	border-radius: 999px;
	background: #f4f4f5;
	color: #52525b;
	font-size: 12px;
	font-weight: 700;
}

.tpb-total {
	padding-top: 12px;
	border-top: 1px dashed #e5e7eb;
	font-size: 13px;
}

.tpb-total span {
	color: #6b7280;
	text-decoration: none;
}

.tpb-total strong {
	color: #dc0f52;
	font-size: 15px;
}

@media (max-width: 480px) {
	.tpb-bundle-card {
		padding: 12px;
	}

	.tpb-bundle-top,
	.tpb-total {
		align-items: flex-start;
		flex-direction: column;
	}

	.tpb-stack {
		grid-template-columns: 1fr;
		max-height: 286px;
	}
}
