/**
 * Bundle Contents — "What's Included" row
 *
 * Matches the single product template: soft cream cards, rounded corners,
 * numbered captions below each card.
 *
 * @package GG_Skincare_Commerce
 */

.gg-bundle-contents {
	margin: 0 0 40px;
}

.gg-bundle-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--gg-bundle-cols, 5), minmax(0, 1fr));
	gap: 16px;
}

.gg-bundle-item {
	margin: 0;
	padding: 0;
}

.gg-bundle-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Card */
.gg-bundle-thumb {
	display: block;
	background: #F0E9E1;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
}

.gg-bundle-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.gg-bundle-link:hover .gg-bundle-thumb {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(31, 24, 20, 0.10);
}

.gg-bundle-thumb .gg-bundle-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #B6A99B;
	font-size: 28px;
	background: #F0E9E1;
}

/* Caption under the card */
.gg-bundle-caption {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 12px;
	font-family: Manrope, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #1F1814;
}

.gg-bundle-num {
	color: #8C8078;
	font-variant-numeric: tabular-nums;
	flex: none;
}

.gg-bundle-name {
	color: #1F1814;
}

/* Discount pill — [gg_discount_badge] */
.gg-discount-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 13px;
	border-radius: 999px;
	background: #E7E0D6;
	color: #1F1814;
	font-family: Manrope, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
	line-height: 1;
}

/* Benefit lists — [gg_product_field] */
.gg-field-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: Manrope, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #3B322C;
}

.gg-field-list li {
	position: relative;
	padding-left: 26px;
	margin: 0;
}

.gg-field-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C8763F;
	flex: none;
}

.gg-field-prose {
	margin: 0;
	font-family: Manrope, sans-serif;
	font-size: 15px;
	line-height: 1.75;
	color: #3B322C;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.gg-bundle-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}

/* ---- Mobile: horizontal scroll strip ---- */
@media (max-width: 767px) {
	.gg-bundle-contents {
		margin-bottom: 28px;
	}

	.gg-bundle-grid {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		gap: 12px;
		padding-bottom: 6px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.gg-bundle-item {
		flex: 0 0 30%;
		scroll-snap-align: start;
	}

	.gg-bundle-caption {
		font-size: 12px;
		gap: 6px;
		margin-top: 9px;
	}
}
