.bafw-buy-all {
	--bafw-heading-color: #888888;
	--bafw-product-name-color: inherit;
	--bafw-product-hover-color: #c9a961;
	--bafw-product-price-color: inherit;
	--bafw-selected-subtotal-color: #333333;
	--bafw-item-bg: #f5f5f5;
	--bafw-item-border: transparent;
	--bafw-divider-color: currentColor;
	--bafw-offer-bg: #ffffff;
	--bafw-offer-border: #c9a961;
	--bafw-offer-title-color: #c9a961;
	--bafw-compare-price-color: inherit;
	--bafw-bundle-price-color: #6fbf73;
	--bafw-note-color: inherit;
	--bafw-btn-text: #c9a961;
	--bafw-btn-bg: transparent;
	--bafw-btn-border: #c9a961;
	--bafw-btn-hover-text: #ffffff;
	--bafw-btn-hover-bg: #c9a961;
	--bafw-radius: 8px;
	--bafw-accent: #c9a961;
	--bafw-savings: #6fbf73;
	margin-top: 2rem;
	padding-top: 0;
	border-top: 0;
	color: inherit;
}

.bafw-buy-all--primary {
	margin-top: 1rem;
}

.bafw-series-heading {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bafw-heading-color);
	opacity: 1;
}

.bafw-series-list {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.bafw-series-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bafw-item-border);
	border-radius: var(--bafw-radius);
	background: var(--bafw-item-bg);
}

.bafw-buy-all--selectable .bafw-series-item {
	gap: 0.75rem;
	cursor: pointer;
}

.bafw-buy-all--selectable .bafw-series-item a.bafw-series-name {
	cursor: pointer;
}

.bafw-series-select {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0;
}

.bafw-series-checkbox {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--bafw-accent);
}

.bafw-selected-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}

.bafw-selected-subtotal {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	width: 100%;
	color: var(--bafw-selected-subtotal-color);
}

.bafw-selected-subtotal-label,
.bafw-selected-subtotal-value {
	color: inherit;
}

.bafw-selected-subtotal-label {
	font-weight: 600;
}

.bafw-selected-hint {
	flex: 1 1 100%;
	margin: 0;
	font-size: 0.82rem;
	color: var(--bafw-heading-color);
}

.bafw-add-selected-form {
	margin: 0;
}

.bafw-buy-all .bafw-add-selected-button[disabled],
.bafw-buy-all .bafw-add-selected-button:disabled,
.bafw-buy-all .bafw-add-selected-button.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale( 0.35 );
}

.bafw-series-item--current {
	box-shadow: inset 0 0 0 1px var(--bafw-offer-border);
}

.bafw-series-badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.12rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.06);
}

.bafw-series-name-wrap {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.25rem;
	min-width: 0;
	justify-content: flex-start;
	text-align: left;
}

.bafw-buy-all .bafw-series-item .bafw-series-name,
.bafw-buy-all .bafw-series-item a.bafw-series-name,
.bafw-buy-all .bafw-series-item a.bafw-series-name:link,
.bafw-buy-all .bafw-series-item a.bafw-series-name:visited,
.woocommerce .bafw-buy-all .bafw-series-item a.bafw-series-name,
.woocommerce .bafw-buy-all .bafw-series-item a.bafw-series-name:link,
.woocommerce .bafw-buy-all .bafw-series-item a.bafw-series-name:visited {
	color: var(--bafw-product-name-color) !important;
	text-decoration: none;
	font-weight: 500;
	line-height: 1.35;
}

.bafw-buy-all .bafw-series-item a.bafw-series-name:hover,
.bafw-buy-all .bafw-series-item a.bafw-series-name:focus,
.woocommerce .bafw-buy-all .bafw-series-item a.bafw-series-name:hover,
.woocommerce .bafw-buy-all .bafw-series-item a.bafw-series-name:focus {
	color: var(--bafw-product-hover-color) !important;
	text-decoration: underline;
}

.bafw-series-price {
	flex-shrink: 0;
	font-weight: 600;
	white-space: nowrap;
	color: var(--bafw-product-price-color);
}

.bafw-or-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 1.25rem 0;
	color: var(--bafw-divider-color);
	opacity: 1;
}

.bafw-or-divider::before,
.bafw-or-divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid currentColor;
	opacity: 0.45;
}

.bafw-or-divider span {
	padding: 0 0.85rem;
	font-size: 0.8rem;
	text-transform: lowercase;
	font-style: italic;
}

.bafw-or-divider--uppercase span {
	text-transform: uppercase;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.bafw-or-divider--labeled span {
	text-transform: none;
	font-style: normal;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.bafw-or-divider--labeled span {
		white-space: normal;
		text-align: center;
	}
}

.bafw-buy-all--offer-top .bafw-bundle-offer {
	margin-bottom: 0;
}

.bafw-buy-all--offer-bottom .bafw-bundle-offer {
	margin-top: 0;
}

.bafw-bundle-offer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--bafw-offer-border);
	border-radius: var(--bafw-radius);
	background: var(--bafw-offer-bg);
}

.bafw-bundle-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.bafw-bundle-title {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--bafw-offer-title-color);
}

.bafw-bundle-pricing {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.bafw-bundle-pricing del {
	opacity: 0.75;
	text-decoration: line-through;
	color: var(--bafw-compare-price-color);
}

.bafw-bundle-pricing del .woocommerce-Price-amount {
	color: inherit;
}

.bafw-bundle-pricing ins {
	text-decoration: none;
	font-weight: 700;
	color: var(--bafw-bundle-price-color);
}

.bafw-saving {
	color: var(--bafw-bundle-price-color);
	font-weight: 600;
}

.bafw-bundle-note {
	margin: 0.5rem 0 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--bafw-note-color);
	opacity: 1;
}

.bafw-buy-all-form {
	flex: 0 0 auto;
	margin: 0;
}

.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button {
	display: inline-block;
	min-width: 7.5rem;
	padding: 0.75rem 1.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--bafw-radius);
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--outline,
.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--solid,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--outline,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--solid {
	border: 1px solid var(--bafw-btn-border);
	background: var(--bafw-btn-bg);
	color: var(--bafw-btn-text);
}

.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--outline:hover,
.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--outline:focus,
.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--solid:hover,
.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--solid:focus,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--outline:hover,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--outline:focus,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--solid:hover,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--solid:focus {
	background: var(--bafw-btn-hover-bg);
	color: var(--bafw-btn-hover-text);
	border-color: var(--bafw-btn-border);
	opacity: 1;
}

.bafw-buy-all .bafw-buy-all-form button.bafw-buy-all-button--theme,
.bafw-buy-all .bafw-add-selected-form button.bafw-buy-all-button--theme {
	text-transform: none;
	letter-spacing: normal;
	font-weight: 600;
	min-width: 7.5rem;
}

@media (max-width: 640px) {
	.bafw-selected-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.bafw-add-selected-button {
		width: 100%;
	}

	.bafw-bundle-offer {
		flex-direction: column;
		align-items: stretch;
	}

	.bafw-buy-all-form {
		width: 100%;
	}

	.bafw-buy-all-button {
		width: 100%;
	}
}

.bafw-bundle-label {
	font-weight: 600;
}

.bafw-bundle-badge {
	display: inline-block;
	margin-right: 0.35rem;
	padding: 0.1rem 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.06);
}

.bafw-bundle-container-name {
	font-weight: 600;
}

.bafw-bundle-child-name {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding-left: 2rem;
	font-weight: 400;
}

.bafw-bundle-child-name::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-top: 0.15rem;
	flex-shrink: 0;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: 0.35;
}

/* Classic cart row indent */
tr.bafw-bundle-child td.product-thumbnail,
tr.bafw-bundle-child td.product-name,
tr.bafw-bundle-child td.product-price,
tr.bafw-bundle-child td.product-quantity,
tr.bafw-bundle-child td.product-subtotal,
.woocommerce-cart-form__cart-item.bafw-bundle-child td.product-thumbnail,
.woocommerce-cart-form__cart-item.bafw-bundle-child td.product-name {
	vertical-align: top;
}

tr.bafw-bundle-child td.product-thumbnail,
.woocommerce-cart-form__cart-item.bafw-bundle-child td.product-thumbnail {
	padding-left: 1.25rem !important;
}

tr.bafw-bundle-child td.product-name,
.woocommerce-cart-form__cart-item.bafw-bundle-child td.product-name {
	padding-left: 0.75rem !important;
}

tr.bafw-bundle-child .product-thumbnail img {
	max-width: 56px;
}

.woocommerce-mini-cart-item.bafw-bundle-child .bafw-bundle-child-name {
	padding-left: 1.25rem;
}

.bafw-bundle-child-marker {
	display: none;
}

.bafw-bundle-price-note {
	font-size: 0.9em;
	opacity: 0.85;
}

.bafw-bundle-container .bafw-bundle-pricing del {
	opacity: 0.65;
	margin-right: 0.35rem;
}

.bafw-bundle-container .bafw-bundle-pricing ins {
	text-decoration: none;
	font-weight: 700;
}

.bafw-bundle-container .wc-block-components-sale-badge,
.bafw-bundle-container .wc-block-components-product-badge {
	display: none !important;
}

.bafw-bundle-qty {
	opacity: 0.85;
}

.woocommerce-cart-form__cart-item.bafw-bundle-container,
.woocommerce-table__line-item.bafw-bundle-container,
.order_item.bafw-bundle-container {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.woocommerce-cart-form__cart-item.bafw-bundle-container:first-child,
.woocommerce-table__line-item.bafw-bundle-container:first-child {
	border-top: 0;
}

.woocommerce-cart-form__cart-item.bafw-bundle-child + .bafw-bundle-container,
.woocommerce-table__line-item.bafw-bundle-child + .bafw-bundle-container,
.order_item.bafw-bundle-child + .bafw-bundle-container {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cart .bafw-bundle-item + .bafw-bundle-item.bafw-bundle-child,
.woocommerce-table .bafw-bundle-item + .bafw-bundle-item.bafw-bundle-child {
	border-top: 0;
}

.bafw-refund-hint,
.bafw-order-item-note {
	margin-top: 0.35rem;
	color: #646970;
}

.bafw-order-item-note .woocommerce-Price-amount {
	font-weight: 600;
}

.bafw-buy-all.is-loading .bafw-buy-all-button {
	opacity: 0.6;
	pointer-events: none;
}

.bafw-elementor-placeholder {
	padding: 1rem 1.25rem;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	color: #646970;
	background: #f6f7f7;
}
