/*
 * SAC Bundle Savings: Product Bundles (fixed bundle) page styles.
 * Same brand tokens as the Mix and Match styles.
 */
.product-type-bundle form.bundle_form,
.product-type-bundle .sac-bundle-total {
	--sac-accent: var(--e-global-color-accent, #CC7163);
	--sac-olive: var(--e-global-color-44e0f62, #9B9D4E);
	--sac-brown: var(--e-global-color-9f8f2ca, #674700);
	--sac-text: var(--e-global-color-text, #312E29);
	--sac-muted: #8A8580;
	--sac-line: #E6E1DC;
	--sac-tint: #FDF1EF;
	--sac-head: "Poppins", sans-serif;
	--sac-body: "Nunito", sans-serif;
	--sac-price: "Playfair Display", serif;
}

/* ---------- Layout (Elementor single product template 402) ---------- */
.product-type-bundle.elementor-location-single > .elementor-element-318c1d47 { margin-top: 24px !important; }
.product-type-bundle .elementor-element-318c1d47 > .e-con-inner { flex-wrap: wrap; }
.product-type-bundle .elementor-element-430afc5a { width: 100%; max-width: 100%; flex-basis: 100%; padding-right: 0 !important; }
.product-type-bundle .elementor-element-df34609 { display: none; }
.product-type-bundle .elementor-element-5c3721e6 { margin-bottom: 8px !important; }

/* ---------- Item cards ---------- */
.product-type-bundle form.bundle_form ul.bundled_products {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 32px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.product-type-bundle form.bundle_form ul.bundled_products::before,
.product-type-bundle form.bundle_form ul.bundled_products::after { display: none; }

.product-type-bundle form.bundle_form .bundled_product {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	padding: 18px 12px !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border: 1px solid var(--sac-line);
}

/* "+" between cards (one row on desktop) */
.product-type-bundle form.bundle_form .bundled_product + .bundled_product::before {
	content: "+";
	position: absolute;
	top: 50%;
	left: -32px;
	width: 32px;
	transform: translateY(-50%);
	font-family: var(--sac-head);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	color: var(--sac-accent);
}

.product-type-bundle form.bundle_form .bundled_product_images { width: 100%; margin: 0 0 12px; float: none; }
.product-type-bundle form.bundle_form .bundled_product_images img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0 !important;
}
.product-type-bundle form.bundle_form .bundled_product .details { width: 100%; float: none; padding: 0; }

.product-type-bundle form.bundle_form .bundled_product_title {
	margin: 0 0 6px;
	font-family: var(--sac-head);
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sac-text);
}
.product-type-bundle form.bundle_form .bundled_product_title .item_qty,
.product-type-bundle form.bundle_form .bundled_product_title_link { display: none; }

/* Every item is a fixed Single Bag: hide the excerpt, the static size row and variation note */
.product-type-bundle form.bundle_form .bundled_product_excerpt,
.product-type-bundle form.bundle_form .bundled_product table.variations,
.product-type-bundle form.bundle_form .bundled_product .woocommerce-variation-description { display: none; }

.product-type-bundle form.bundle_form .bundled_product .stock {
	margin: 0;
	font-family: var(--sac-body);
	font-size: 13px;
	letter-spacing: .3px;
	color: var(--sac-olive);
}
.product-type-bundle form.bundle_form .bundled_product .stock.out-of-stock {
	display: inline-block;
	padding: 5px 10px;
	font-family: var(--sac-head);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--sac-accent);
	background: var(--sac-tint);
}

/* ---------- Summary bar: total left, Add to Cart right ---------- */
.product-type-bundle form.bundle_form .bundle_data { margin-top: 32px; }
.product-type-bundle form.bundle_form .bundle_wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 24px 28px;
	background: #FBF7F4;
	border: 1px solid var(--sac-line);
}
.product-type-bundle form.bundle_form .bundle_availability { flex-basis: 100%; order: 3; margin: 0; }
.product-type-bundle form.bundle_form .bundle_availability:empty,
.product-type-bundle form.bundle_form .bundle_availability .stock.in-stock { display: none; }
.product-type-bundle form.bundle_form .bundle_error { flex-basis: 100%; order: 4; }

.product-type-bundle .sac-bundle-total {
	order: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	font-family: var(--sac-price);
	font-weight: 600;
	color: #000;
}
.product-type-bundle .sac-bundle-total .sac-label {
	flex-basis: 100%;
	font-family: var(--sac-head);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--sac-muted);
}
.product-type-bundle .sac-bundle-total del { font-size: 20px; font-weight: 400; color: var(--sac-muted); }
.product-type-bundle .sac-bundle-total ins { font-size: 30px; text-decoration: none; }
.product-type-bundle .sac-bundle-total .sac-save {
	align-self: center;
	padding: 5px 12px;
	font-family: var(--sac-head);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #fff;
	background: var(--sac-olive);
}

.product-type-bundle form.bundle_form .bundle_button { order: 2; display: flex; align-items: center; margin: 0; }
.product-type-bundle form.bundle_form .bundle_button .quantity { display: none !important; }
.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button {
	margin: 0 !important;
	padding: 20px 64px !important;
	font-family: var(--sac-head);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff !important;
	background: var(--sac-accent) !important;
	border: 0;
	border-radius: 0;
	box-shadow: 0 6px 16px rgba(204, 113, 99, .28);
	transition: background-color .15s ease;
}
.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button:hover { background: var(--sac-brown) !important; }
.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button.disabled,
.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button:disabled {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}
.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button:focus-visible {
	outline: 3px solid var(--sac-brown);
	outline-offset: 3px;
}

/* ---------- Tablet: 4 per row, no "+" ---------- */
@media (max-width: 1024px) {
	.product-type-bundle form.bundle_form ul.bundled_products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.product-type-bundle form.bundle_form .bundled_product + .bundled_product::before { display: none; }
}

/* ---------- Mobile: 2 per row ---------- */
@media (max-width: 767px) {
	.product-type-bundle.elementor-location-single > .elementor-element-318c1d47 { margin-top: 8px !important; }
	.product-type-bundle form.bundle_form ul.bundled_products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-type-bundle form.bundle_form .bundled_product { padding: 14px 10px !important; }
	.product-type-bundle form.bundle_form .bundle_wrap { padding: 20px 18px; }
	.product-type-bundle form.bundle_form .bundle_button,
	.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button { width: 100%; }
	.product-type-bundle form.bundle_form .bundle_button button.single_add_to_cart_button { padding: 18px 24px !important; }
}
