/* =========================================================
   KG Code – Bundle Products
   ========================================================= */

.kgcode-bundle-products {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
}

.kgcode-bundle-products,
.kgcode-bundle-products * {
	box-sizing: border-box;
}

.kgcode-bundle-products__card {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	align-items: stretch;
	gap: 46px;
	width: 100%;
	padding: 30px;
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 32px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
}

.kgcode-bundle-products__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	aspect-ratio: 1.72 / 1;
	overflow: hidden;
	border-radius: 26px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18);
}

.kgcode-bundle-products__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.kgcode-bundle-products__image-placeholder {
	width: 100%;
	height: 100%;
}

.kgcode-bundle-products__content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	min-width: 0;
}

.kgcode-bundle-products__title {
	margin: 0 0 4px;
	padding: 0;
	color: #222;
	font-size: 29px;
	font-weight: 700;
	line-height: 1.25;
}

.kgcode-bundle-products__description {
	margin: 0 0 12px;
	color: #555;
	font-size: 17px;
	line-height: 1.8;
}

.kgcode-bundle-products__description p {
	margin: 0;
}

.kgcode-bundle-products__members {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.kgcode-bundle-products__member {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 16px;
	line-height: 1.5;
}

.kgcode-bundle-products__check {
	display: block;
	flex: 0 0 21px;
	width: 21px;
	height: 21px;
	object-fit: contain;
}

.kgcode-bundle-products__member-name {
	font-weight: 400;
}

.kgcode-bundle-products__member-size,
.kgcode-bundle-products__member-quantity {
	color: #444;
}

.kgcode-bundle-products__pricing {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 14px;
}

.kgcode-bundle-products__bundle-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 9px;
	color: #222;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.25;
}

.kgcode-bundle-products__bundle-price .woocommerce-Price-amount,
.kgcode-bundle-products__bundle-price .woocommerce-Price-currencySymbol {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.kgcode-bundle-products__price-regular {
	color: #d9272e;
	font-size: 16px;
	font-weight: 400;
	text-decoration: line-through;
}

.kgcode-bundle-products__price-regular .woocommerce-Price-amount,
.kgcode-bundle-products__price-regular .woocommerce-Price-currencySymbol {
	color: inherit;
	font-size: inherit;
}

.kgcode-bundle-products__price-current {
	color: #222;
	font-size: inherit;
	font-weight: 700;
}

.kgcode-bundle-products__separate-price {
	color: #555;
	font-size: 15px;
	font-weight: 400;
}

.kgcode-bundle-products__separate-price .woocommerce-Price-amount,
.kgcode-bundle-products__separate-price .woocommerce-Price-currencySymbol {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.kgcode-bundle-products__add-to-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 57px;
	margin: 0;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: #30836f;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.kgcode-bundle-products__add-to-cart:hover {
	background: #276f5e;
	color: #fff;
}

.kgcode-bundle-products__add-to-cart:active {
	transform: translateY(1px);
}

.kgcode-bundle-products__add-to-cart:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.kgcode-bundle-products__cart-icon {
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.kgcode-bundle-products__feedback {
	min-height: 0;
	margin-top: 0;
	color: #30836f;
	font-size: 14px;
	line-height: 1.4;
}

.kgcode-bundle-products__feedback:not(:empty) {
	margin-top: 9px;
}

.kgcode-bundle-products__feedback.is-error {
	color: #c62828;
}

.kgcode-bundle-products__empty {
	padding: 20px;
	color: #555;
}

/* Tablet */
@media (max-width: 900px) {
	.kgcode-bundle-products__card {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 26px;
		padding: 22px;
		border-radius: 26px;
	}

	.kgcode-bundle-products__title {
		font-size: 25px;
	}

	.kgcode-bundle-products__description {
		font-size: 15px;
		line-height: 1.65;
	}

	.kgcode-bundle-products__member {
		font-size: 15px;
	}

	.kgcode-bundle-products__bundle-price {
		font-size: 22px;
	}
}

/* Mobile */
@media (max-width: 650px) {
	.kgcode-bundle-products {
		gap: 20px;
	}

	.kgcode-bundle-products__card {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding: 16px;
		border-radius: 22px;
	}

	.kgcode-bundle-products__visual {
		aspect-ratio: 1.55 / 1;
		border-radius: 18px;
	}

	.kgcode-bundle-products__content {
		justify-content: flex-start;
	}

	.kgcode-bundle-products__title {
		font-size: 23px;
	}

	.kgcode-bundle-products__description {
		margin-bottom: 12px;
		font-size: 15px;
	}

	.kgcode-bundle-products__members {
		gap: 8px;
		margin-bottom: 13px;
	}

	.kgcode-bundle-products__member {
		font-size: 14px;
	}

	.kgcode-bundle-products__pricing {
		gap: 8px 12px;
		margin-bottom: 13px;
	}

	.kgcode-bundle-products__bundle-price {
		font-size: 22px;
	}

	.kgcode-bundle-products__separate-price {
		font-size: 14px;
	}

	.kgcode-bundle-products__add-to-cart {
		min-height: 54px;
		font-size: 15px;
	}
}
