/* ==========================================================================
   Frosted Bloom — Pooja Combo Kits (virtual bundles).
   Rendered by inc/combo-kits.php on the cart and via [gfd_combo_kits].
   ========================================================================== */

.gfd-kits {
	--gfd-k-primary: var(--gfd-primary, #e08a12);
	--gfd-k-primary-dark: var(--gfd-primary-dark, #b3660d);
	--gfd-k-heading: var(--gfd-heading, #7a3d0a);
	--gfd-k-ink: #2e2e3a;
	--gfd-k-ink-soft: #5a5a6a;
	--gfd-k-glass: rgba(255, 255, 255, 0.82);
	--gfd-k-border: rgba(255, 255, 255, 0.9);
	--gfd-k-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
	max-width: 1160px;
	margin: 28px auto;
	padding: 0 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Montserrat', sans-serif;
	color: var(--gfd-k-ink);
	box-sizing: border-box;
}
.gfd-kits * { box-sizing: border-box; }
.gfd-kits__title { font-size: 24px; font-weight: 800; color: var(--gfd-k-heading); text-align: center; margin: 0 0 4px; }
.gfd-kits__sub { font-size: 14.5px; color: var(--gfd-k-ink-soft); text-align: center; margin: 0 0 22px; }

.gfd-kits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px;
	align-items: start;
}

/* Card */
.gfd-kit-card {
	background: var(--gfd-k-glass);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border: 1px solid var(--gfd-k-border);
	border-radius: 20px;
	box-shadow: var(--gfd-k-shadow);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gfd-kit-card__head { display: flex; align-items: flex-start; gap: 12px; }
.gfd-kit-card__icon {
	flex: 0 0 auto; font-size: 22px; line-height: 1;
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(var(--gfd-primary-rgb, 224, 138, 18), .12); border-radius: 12px;
}
.gfd-kit-card__title { font-size: 18px; font-weight: 800; color: var(--gfd-k-heading); margin: 0 0 3px; line-height: 1.2; }
.gfd-kit-card__blurb { font-size: 13.5px; color: var(--gfd-k-ink-soft); margin: 0; line-height: 1.5; }

/* Component thumbnails */
.gfd-kit-items {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 10px;
}
.gfd-kit-item { width: 84px; text-align: center; }
.gfd-kit-item__img {
	display: block; width: 84px; height: 84px; border-radius: 12px; overflow: hidden;
	background: #fff4f8; border: 1px solid var(--gfd-k-border);
}
.gfd-kit-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gfd-kit-item__name {
	display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.3; color: var(--gfd-k-ink-soft);
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Footer — price + button */
.gfd-kit-card__foot {
	margin-top: auto; padding-top: 6px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.gfd-kit-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.gfd-kit-price__was { font-size: 14px; color: var(--gfd-k-ink-soft); text-decoration: line-through; }
.gfd-kit-price__now { font-size: 20px; font-weight: 800; color: var(--gfd-k-heading); }
.gfd-kit-price__save {
	font-size: 12px; font-weight: 700; color: #1f7a3d;
	background: rgba(31, 122, 61, .1); padding: 3px 9px; border-radius: 999px;
}
.gfd-kit-add.button {
	background: linear-gradient(135deg, var(--gfd-k-primary), var(--gfd-k-primary-dark));
	color: #fff !important; border: 0; font-weight: 700; font-size: 14px;
	padding: 11px 22px; border-radius: 999px; text-decoration: none !important;
	box-shadow: 0 10px 22px rgba(var(--gfd-primary-rgb, 224, 138, 18), .26);
	transition: filter .12s ease, transform .12s ease, opacity .12s ease;
	cursor: pointer; white-space: nowrap;
}
.gfd-kit-add.button:hover { filter: brightness(1.05); transform: translateY(-1px); color: #fff !important; }
.gfd-kit-add.is-loading { opacity: .6; pointer-events: none; }
.gfd-kit-add.is-added { background: #1f7a3d; box-shadow: none; }

/* Toast */
.gfd-kit-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
	background: #26263a; color: #fff; padding: 12px 18px; border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .28); font-size: 14px; z-index: 99999;
	display: flex; align-items: center; gap: 14px; opacity: 0; transition: opacity .2s ease, transform .2s ease;
	max-width: calc(100vw - 32px);
}
.gfd-kit-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.gfd-kit-toast a { color: #ffd08a; font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 600px) {
	.gfd-kits__grid { grid-template-columns: 1fr; }
	.gfd-kit-add.button { width: 100%; text-align: center; }
	.gfd-kit-card__foot { justify-content: center; }
}
