/* Bristle Up Kit Collapse */

/* Defaults = the "Outlined card" preset. The plugin prints the saved Appearance right after this file. */
.bundle_form {
	--kt-bg: #ffffff;
	--kt-hover: #fdf3ef;
	--kt-label: #c05530;
	--kt-meta: #6b6b6b;
	--kt-icon: #c05530;
	--kt-border: #c05530;
	--kt-bw: 2px;
	--kt-radius: 12px;
	--kt-pad: 14px 18px;
	--kt-size: 16px;
	--kt-weight: 700;
	--kt-case: none;
	--kt-ls: normal;
	--kt-deco: none;
	--kt-width: 100%;
	--kt-wrap-justify: flex-start;
	--kt-justify: flex-start;
	--kt-text-align: left;
}

.bundle_form .bu-kit-hidden {
	display: none !important;
}

.bundle_form .bu-kit-toggle-wrap {
	display: flex;
	justify-content: var(--kt-wrap-justify);
	margin: 6px 0 22px;
}

/* Grid and Tabular layouts: the toggle follows the grid or the table, below any floated grid items. */
.bundle_form .bu-kit-toggle-wrap--after {
	clear: both;
}

/* Reset Flatsome's generic button styles, then style ours. */
.bundle_form .bu-kit-toggle,
.bundle_form .bu-kit-toggle:hover,
.bundle_form .bu-kit-toggle:focus {
	box-shadow: none;
	text-shadow: none;
}

.bundle_form .bu-kit-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: var(--kt-justify);
	gap: 12px;
	width: var(--kt-width);
	max-width: 100%;
	min-height: 0;
	margin: 0;
	padding: var(--kt-pad);
	border: var(--kt-bw) solid var(--kt-border);
	border-radius: var(--kt-radius);
	background: var(--kt-bg);
	color: var(--kt-label);
	font: inherit;
	font-size: 1rem;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: var(--kt-text-align);
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.bundle_form .bu-kit-toggle:hover {
	background: var(--kt-hover);
	color: var(--kt-label);
}

/* Visible focus ring in every preset. */
.bundle_form .bu-kit-toggle:focus-visible {
	outline: 3px solid var(--kt-border);
	outline-offset: 2px;
}

.bundle_form .bu-kit-toggle__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

/* Count line beside the label instead of below it. */
.bundle_form .bu-kit-toggle--inline .bu-kit-toggle__text {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

.bundle_form .bu-kit-toggle__label {
	font-size: var(--kt-size);
	font-weight: var(--kt-weight);
	color: var(--kt-label);
	text-transform: var(--kt-case);
	letter-spacing: var(--kt-ls);
	text-decoration: var(--kt-deco);
	text-underline-offset: 3px;
}

.bundle_form .bu-kit-toggle__meta {
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--kt-meta);
	text-transform: none;
	letter-spacing: normal;
}

.bundle_form .bu-kit-toggle__meta[hidden] {
	display: none;
}

/* Icons: chevron, plus/minus, arrow. */
.bundle_form .bu-kit-toggle__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 14px;
	height: 14px;
	color: var(--kt-icon);
}

.bundle_form .bu-kit-toggle__chev {
	width: 9px;
	height: 9px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.bundle_form .bu-kit-toggle[aria-expanded="true"] .bu-kit-toggle__chev {
	transform: translateY(2px) rotate(-135deg);
}

.bundle_form .bu-kit-toggle__pm {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.bundle_form .bu-kit-toggle__arr {
	font-size: 13px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.bundle_form .bu-kit-toggle[aria-expanded="true"] .bu-kit-toggle__arr {
	transform: rotate(90deg);
}

/* ------------------------------------------------------------------
 * Layout (1.3.0)
 * ------------------------------------------------------------------ */

/* Rows Kit Display adds inside a Grid's ul (li) or a Tabular table's tbody (tr > td): the button row ("top") and
   the Kit list bars. Full width, no bullets, no table cell padding. The main item inside the kit (WO-017) opens
   under its bar like an add-on. */
.bundle_form li.bu-kit-toggle-row,
.bundle_form li.bu-kit-bar,
.bundle_form.bu-kit-list ul.bundled_products > li.bu-kit-extra,
.bundle_form.bu-kit-list ul.bundled_products > li.bu-kit-main-in {
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	list-style: none;
}

.bundle_form li.bu-kit-toggle-row,
.bundle_form li.bu-kit-bar {
	padding: 0;
}

.bundle_form tr.bu-kit-toggle-row > td,
.bundle_form tr.bu-kit-bar > td {
	padding: 0 !important;
	border: 0 !important;
	background: none;
}

.bundle_form .bu-kit-toggle-row .bu-kit-toggle-wrap {
	margin: 6px 0 16px;
}

/* Tabular: the cell whose image box moved into the details cell (see liftImage() in kit-collapse.js). */
.bundle_form td.bu-kit-cell-off {
	display: none !important;
}

/* Main kit chooser, image above its title at a share of the column, keeping the image's own shape. */
.bundle_form.bu-kit-main-above .bu-kit-main .bundled_product_images {
	float: none !important;
	width: var(--bu-main-w, 50%) !important;
	max-width: 100% !important;
	margin: 0 auto 1em !important;
}

.bundle_form.bu-kit-main-above .bu-kit-main .bundled_product_images img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.bundle_form.bu-kit-main-above .bu-kit-main .details {
	float: none !important;
	width: 100% !important;
	padding-left: 0 !important;
}

/* Add-ons: image beside the title or above it, at its own width. */
.bundle_form.bu-kit-extra-beside .bu-kit-extra .bundled_product_images {
	float: left !important;
	width: var(--bu-extra-w, 120px) !important;
	max-width: 45% !important;
	margin: 0 1.25rem 0.75em 0 !important;
}

.bundle_form.bu-kit-extra-beside .bu-kit-extra .details {
	display: flow-root;
	float: none !important;
	width: auto !important;
	padding-left: 0 !important;
}

/* Narrow forms (Product Bundles' small_width): only the image and the title block sit side by side. The item's
   options, quantity and the rest of its cart content run full width below the image. */
.bundle_form.small_width.bu-kit-extra-beside .bu-kit-extra .details {
	display: block;
}

.bundle_form.small_width.bu-kit-extra-beside .bu-kit-extra .bundled_product_title {
	display: flow-root;
	width: auto;
}

.bundle_form.small_width.bu-kit-extra-beside .bu-kit-extra .bundled_item_cart_content {
	clear: both;
}

.bundle_form.small_width.bu-kit-extra-beside .bu-kit-extra .details::after {
	content: "";
	display: table;
	clear: both;
}

/* Grid with full items: each item keeps its own image inside it, so a short item's image can't push the next items'
   images and text across. */
.bundle_form.layout_grid.bu-kit-full.bu-kit-extra-beside li.bu-kit-extra::after {
	content: "";
	display: table;
	clear: both;
}

.bundle_form.bu-kit-extra-above .bu-kit-extra .bundled_product_images {
	float: none !important;
	width: var(--bu-extra-w, 120px) !important;
	max-width: 100% !important;
	margin: 0 0 0.75em !important;
}

.bundle_form.layout_grid.bu-kit-extra-above .bu-kit-extra .bundled_product_images {
	margin-left: auto !important;
	margin-right: auto !important;
}

.bundle_form.bu-kit-extra-above .bu-kit-extra .details {
	float: none !important;
	width: 100% !important;
	padding-left: 0 !important;
}

.bundle_form .bu-kit-extra .bundled_product_images img {
	width: 100%;
	height: auto;
}

/* Kit list: the item's own checkbox stays in the form, in step with its bar, out of sight (an optional main item's
   too, inside the kit: WO-017). */
.bundle_form.bu-kit-list .bu-kit-extra .bundled_product_optional_checkbox,
.bundle_form.bu-kit-list .bu-kit-main-in .bundled_product_optional_checkbox {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.bundle_form.bu-kit-list .bu-kit-extra,
.bundle_form.bu-kit-list .bu-kit-main-in {
	margin-bottom: 14px;
}

/* Kit list bars: the saved Appearance in a lighter weight than the main button (thin border, body text). */
.bundle_form .bu-kit-bar {
	margin: 0 0 8px;
}

.bundle_form .bu-kit-bar__btn,
.bundle_form .bu-kit-bar__btn:hover,
.bundle_form .bu-kit-bar__btn:focus {
	box-shadow: none;
	text-shadow: none;
}

.bundle_form .bu-kit-bar__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #d6d6d6;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: min(var(--kt-radius), 14px);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bundle_form .bu-kit-bar__btn:hover {
	background: color-mix(in srgb, var(--kt-border) 6%, transparent);
	color: inherit;
}

.bundle_form .bu-kit-bar__btn:focus-visible {
	outline: 2px solid var(--kt-border);
	outline-offset: 2px;
}

.bundle_form .bu-kit-bar.is-open .bu-kit-bar__btn,
.bundle_form .bu-kit-bar.is-in .bu-kit-bar__btn {
	border-color: var(--kt-border);
}

.bundle_form .bu-kit-bar__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.bundle_form .bu-kit-bar__name {
	font-weight: 600;
}

/* Bar text never takes the button's colours (they are chosen for the button's own background, and bars sit on the
   page): the price, the pills and the icon are in the body text colour, set apart by size and weight (WO-011 F2). */
.bundle_form .bu-kit-bar__price {
	color: inherit;
	font-size: 0.8125rem;
}

.bundle_form .bu-kit-bar__btn .bu-kit-toggle__icon {
	color: inherit;
}

.bundle_form .bu-kit-bar__pill {
	flex: 0 0 auto;
	padding: 2px 9px;
	border: 1px solid var(--kt-border);
	border-radius: 999px;
	color: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.bundle_form .bu-kit-bar__pill[hidden] {
	display: none;
}

.bundle_form .bu-kit-bar__pill--choose {
	border-color: #b45309;
	background: #fff7ed;
	color: #9a3412;
}

.bundle_form .bu-kit-bar__pill--included,
.bundle_form .bu-kit-bar__pill--load {
	border-color: #c9c9c9;
}

.bundle_form .bu-kit-bar__pill--fail {
	border-color: #b45309;
	background: #fff7ed;
	color: #9a3412;
}

/* An add-on whose options aren't in yet (WO-027): shown while it is ticked, whether or not Product Bundles' script has run. */
.bundle_form .bundled_product.bu-kit-asked .bu-kit-wait {
	display: block !important;
}

.bundle_form .bu-kit-wait__text {
	margin: 8px 0;
}

.bundle_form .bu-kit-wait__retry {
	min-height: 40px;
	margin: 0 8px 0 0;
	padding: 4px 12px;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.3;
	text-transform: none;
	cursor: pointer;
}

.bundle_form .bu-kit-showall {
	display: inline-block;
	padding: 8px 0;
	text-decoration: underline;
}

.bundle_form .bu-kit-bar__btn[aria-expanded="true"] .bu-kit-toggle__chev {
	transform: translateY(2px) rotate(-135deg);
}

.bundle_form .bu-kit-bar__btn[aria-expanded="true"] .bu-kit-toggle__arr {
	transform: rotate(90deg);
}

/* Kept bars (WO-013, "keep"): the choice and its price under the title, and a Remove button over the bar's end. The
   button is the bar button's sibling in the bar's row (div, li or td, which keep their own display), and the bar
   button leaves room for it (--bu-rm-w, measured by kit-collapse.js). Like the bar text it never takes the main
   button's colours: body text colour on the page, a thin border in that colour (WO-011 F2). */
.bundle_form div.bu-kit-bar.is-kept,
.bundle_form li.bu-kit-bar.is-kept,
.bundle_form tr.bu-kit-bar.is-kept > td {
	position: relative;
}

.bundle_form .bu-kit-bar.is-kept .bu-kit-bar__btn {
	min-height: 52px;
	padding-right: calc(var(--bu-rm-w, 5.5rem) + 22px);
}

.bundle_form .bu-kit-bar__line {
	font-size: 0.8125rem;
}

.bundle_form .bu-kit-bar__choice[hidden] {
	display: none;
}

.bundle_form .bu-kit-bar__remove,
.bundle_form .bu-kit-bar__remove:hover,
.bundle_form .bu-kit-bar__remove:focus {
	box-shadow: none;
	text-shadow: none;
}

.bundle_form .bu-kit-bar__remove {
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	transform: translateY(-50%);
	border: 1px solid #8a8a8a;
	border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.bundle_form .bu-kit-bar__remove:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: inherit;
}

.bundle_form .bu-kit-bar__remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bundle_form .bu-kit-bar__remove[hidden] {
	display: none;
}

/* ------------------------------------------------------------------
 * The closed kit's summary and the bar pictures (WO-014)
 * ------------------------------------------------------------------ */

/* The kit button and its summary share a box as wide as the button (or as the panel, if that is wider). With the
   summary off there is no box and the button sits in its wrapper as before. */
.bundle_form .bu-kit-toggle-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: var(--kt-width);
	max-width: 100%;
	min-width: 0;
}

.bundle_form .bu-kit-toggle-box > .bu-kit-toggle {
	width: 100%;
}

/* While the summary shows, the button's bottom corners are square and the panel hangs from them. */
.bundle_form .bu-kit-has-sum .bu-kit-toggle {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* The panel sits on the page: body text colour, no fill, and an outline in the button's border colour. Its text and
   buttons never take the main button's colours (WO-011 F2). The button's bottom edge closes the panel's top; a look
   whose button has no border (Link: no fill either) gets a 1px top edge of its own, so the panel is never open at the
   top. */
.bundle_form .bu-kit-sum {
	margin: 0;
	padding: 6px 14px 10px;
	border-style: solid;
	border-color: var(--kt-border);
	border-width: max(0px, 1px - var(--kt-bw)) max(var(--kt-bw), 1px) max(var(--kt-bw), 1px);
	border-radius: 0 0 min(var(--kt-radius), 14px) min(var(--kt-radius), 14px);
	background: transparent;
	color: inherit;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
}

.bundle_form .bu-kit-sum[hidden] {
	display: none;
}

.bundle_form .bu-kit-sum__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
}

.bundle_form .bu-kit-sum__title {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.bundle_form .bu-kit-sum--line .bu-kit-sum__title {
	font-weight: 400;
}

.bundle_form .bu-kit-sum__list,
.bundle_form .bu-kit-sum__row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	list-style: none !important;
}

.bundle_form .bu-kit-sum__list {
	padding: 0 !important;
	margin-top: 4px !important;
}

.bundle_form .bu-kit-sum__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0 !important;
	border-top: 1px solid #e3e3e3;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.bundle_form .bu-kit-sum__img {
	flex: 0 0 auto;
	width: 40px !important;
	height: 40px !important;
	max-width: none !important;
	margin: 0 !important;
	border-radius: 6px;
	object-fit: cover;
}

.bundle_form .bu-kit-sum__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.bundle_form .bu-kit-sum__name {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.bundle_form .bu-kit-sum__line {
	font-size: 0.8125rem;
}

.bundle_form .bu-kit-sum__line[hidden] {
	display: none;
}

/* Remove all, × and Change (WO-017): the kept bar's Remove button style, at least 40 × 40 px. */
.bundle_form .bu-kit-sum__all,
.bundle_form .bu-kit-sum__all:hover,
.bundle_form .bu-kit-sum__all:focus,
.bundle_form .bu-kit-sum__x,
.bundle_form .bu-kit-sum__x:hover,
.bundle_form .bu-kit-sum__x:focus,
.bundle_form .bu-kit-sum__change,
.bundle_form .bu-kit-sum__change:hover,
.bundle_form .bu-kit-sum__change:focus {
	box-shadow: none;
	text-shadow: none;
}

.bundle_form .bu-kit-sum__all,
.bundle_form .bu-kit-sum__x,
.bundle_form .bu-kit-sum__change {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #8a8a8a;
	border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}

.bundle_form .bu-kit-sum__x {
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
}

.bundle_form .bu-kit-sum__all:hover,
.bundle_form .bu-kit-sum__x:hover,
.bundle_form .bu-kit-sum__change:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: inherit;
}

.bundle_form .bu-kit-sum__all:focus-visible,
.bundle_form .bu-kit-sum__x:focus-visible,
.bundle_form .bu-kit-sum__change:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* The removals' live region: read out, never seen. */
.bundle_form .bu-kit-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

/* Bar pictures (bar_thumb "show"): a square at the start of the bar button, beside the title. */
.bundle_form .bu-kit-bar__thumb {
	flex: 0 0 auto;
	width: var(--bu-thumb, 44px) !important;
	height: var(--bu-thumb, 44px) !important;
	max-width: none !important;
	margin: 0 !important;
	border-radius: 6px;
	object-fit: cover;
}

/* Narrow forms (Product Bundles' small_width, WO-015): a bar showing a pill lays out in two rows. Row 1 is the picture,
   the title and the choice · price line across the bar's inner width; row 2 is the pill, the chevron and Remove on one
   line at the right. A bar shows its pill exactly while it is in the kit (is-in) and Remove only while it is kept, so
   a bar with only its chevron ("Add …") keeps its one row. The button's ::before breaks the rows; on a kept bar its
   ::after keeps row 2's room for Remove, which stays the button's sibling, placed over that room. The same rules
   apply on any screen 600px wide or less (WO-016): see the @media block after this one. */
.bundle_form.small_width .bu-kit-bar.is-in .bu-kit-bar__btn {
	flex-wrap: wrap;
	row-gap: 4px;
}

.bundle_form.small_width .bu-kit-bar.is-in .bu-kit-bar__btn::before {
	content: "";
	order: 1;
	flex: 0 0 100%;
	height: 0;
}

.bundle_form.small_width .bu-kit-bar.is-in .bu-kit-bar__text {
	flex: 1 1 0%;
}

.bundle_form.small_width .bu-kit-bar.is-in .bu-kit-bar__pill {
	order: 2;
	margin-left: auto;
}

.bundle_form.small_width .bu-kit-bar.is-in .bu-kit-bar__btn > .bu-kit-toggle__icon {
	order: 2;
}

.bundle_form.small_width .bu-kit-bar.is-kept .bu-kit-bar__btn {
	min-height: 0;
	padding-right: 14px;
}

.bundle_form.small_width .bu-kit-bar.is-kept .bu-kit-bar__btn::after {
	content: "";
	order: 3;
	flex: 0 0 auto;
	width: var(--bu-rm-w, 5.5rem);
	height: 40px;
}

/* Over the room the ::after keeps: 15px in from the bar button's right edge (its 14px right padding and 1px border)
   and 11px up from its bottom edge (its 10px bottom padding and 1px border). */
.bundle_form.small_width .bu-kit-bar.is-kept .bu-kit-bar__remove {
	top: auto;
	right: 15px;
	bottom: 11px;
	transform: none;
}

/* Phones (WO-016): the same two-row rules on any screen 600px wide or less, for the forms Product Bundles doesn't call
   narrow (at 412 or 430px its form is wider than its 380px breakpoint, or 320px with Flatsome's Quick View). CSS can't
   join a class and a media query in one rule, so this block repeats the eight rules above with the same declarations
   and the same specificity (:not(.small_width) in place of .small_width): keep the two blocks identical. */
@media (max-width: 600px) {
	.bundle_form:not(.small_width) .bu-kit-bar.is-in .bu-kit-bar__btn {
		flex-wrap: wrap;
		row-gap: 4px;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-in .bu-kit-bar__btn::before {
		content: "";
		order: 1;
		flex: 0 0 100%;
		height: 0;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-in .bu-kit-bar__text {
		flex: 1 1 0%;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-in .bu-kit-bar__pill {
		order: 2;
		margin-left: auto;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-in .bu-kit-bar__btn > .bu-kit-toggle__icon {
		order: 2;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-kept .bu-kit-bar__btn {
		min-height: 0;
		padding-right: 14px;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-kept .bu-kit-bar__btn::after {
		content: "";
		order: 3;
		flex: 0 0 auto;
		width: var(--bu-rm-w, 5.5rem);
		height: 40px;
	}

	.bundle_form:not(.small_width) .bu-kit-bar.is-kept .bu-kit-bar__remove {
		top: auto;
		right: 15px;
		bottom: 11px;
		transform: none;
	}
}

/* Zoom overlay for the main kit chooser's image, used only when Product Bundles' own lightbox isn't there. */
.bu-kit-zoom {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 16px 16px;
	background: rgba(0, 0, 0, 0.86);
	cursor: zoom-out;
}

.bu-kit-zoom__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
}

.bu-kit-zoom__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #111111;
	font: 400 28px/44px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
}

.bu-kit-zoom__close:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

/* The main item inside the kit (WO-017): its row in the closed kit's summary, first in the panel. "list": under "In your
   kit (n)", the add-ons' rows below it and Remove add-ons at the foot; "line": above the count line; "off": alone. Its
   pill sits under its choice and price, so the title keeps its width beside Change on a phone. */
.bundle_form .bu-kit-sum__main[hidden],
.bundle_form .bu-kit-sum__foot[hidden],
.bundle_form .bu-kit-sum__all[hidden] {
	display: none;
}

.bundle_form .bu-kit-sum > .bu-kit-sum__main:first-child {
	border-top: 0;
}

.bundle_form .bu-kit-sum__main + .bu-kit-sum__head {
	padding-top: 6px;
	border-top: 1px solid #e3e3e3;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.bundle_form .bu-kit-sum__text > .bu-kit-sum__pill {
	align-self: flex-start;
	margin-top: 3px;
}

.bundle_form .bu-kit-sum__foot {
	display: flex;
	justify-content: flex-end;
	padding-top: 6px;
	border-top: 1px solid #e3e3e3;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

/* Reveal */
@keyframes buKitReveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.bundle_form .bu-kit-reveal {
	animation: buKitReveal 0.25s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
	.bundle_form .bu-kit-reveal {
		animation: none;
	}
	.bundle_form .bu-kit-toggle,
	.bundle_form .bu-kit-toggle__chev,
	.bundle_form .bu-kit-toggle__arr,
	.bundle_form .bu-kit-bar__btn {
		transition: none;
	}
}

/* ------------------------------------------------------------------
 * The main item's gallery (WO-018): where the bundle's gallery was (left) or under the title and price (right). Its
 * space is reserved from the first paint (the view keeps photo 1's shape; dots and thumbnails are printed by the
 * server), so nothing moves as photos load. The controls use fixed neutral colours, the same in every look: text and
 * dots at least 4.5:1 on white, focus rings dark with a white edge so they show on any photo.
 * ------------------------------------------------------------------ */
.bu-kit-gal {
	position: relative;
	margin: 0 0 1.25em;
}

.bu-kit-gal__view {
	position: relative;
	aspect-ratio: var(--bu-gal-ar, 1);
	overflow: hidden;
	background: #ffffff;
}

.bu-kit-gal__track {
	display: flex;
	width: 100%;
	height: 100%;
	overflow: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.bu-kit-gal__track::-webkit-scrollbar {
	display: none;
}

/* Swipeable once kit-collapse.js has run; without it only photo 1 shows (its file is the only one in the HTML). */
.bu-kit-gal.is-live .bu-kit-gal__track {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.bu-kit-gal.is-drag .bu-kit-gal__track {
	scroll-snap-type: none;
	cursor: grabbing;
	user-select: none;
}

.bu-kit-gal__slide {
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	cursor: zoom-in;
}

.bu-kit-gal.is-drag .bu-kit-gal__slide {
	cursor: grabbing;
}

.bu-kit-gal__slide:focus-visible {
	outline: 3px solid #1d1d1d;
	outline-offset: -3px;
	box-shadow: inset 0 0 0 6px #ffffff;
}

.bu-kit-gal .bu-kit-gal__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	object-fit: contain;
	-webkit-user-drag: none;
}

.bu-kit-gal:not(.is-live) .bu-kit-gal__arrow,
.bu-kit-gal:not(.is-live) .bu-kit-gal__count,
.bu-kit-gal:not(.is-live) .bu-kit-gal__dots,
.bu-kit-gal:not(.is-live) .bu-kit-gal__thumbs {
	visibility: hidden;
}

/* Arrows: computers only (601px and up), 40 x 40. Flatsome's generic button styles reset first. */
.bu-kit-gal .bu-kit-gal__arrow,
.bu-kit-gal .bu-kit-gal__dot,
.bu-kit-gal .bu-kit-gal__thumb {
	min-height: 0;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 1;
	letter-spacing: normal;
	text-shadow: none;
	text-transform: none;
	cursor: pointer;
}

.bu-kit-gal .bu-kit-gal__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border: 1px solid #8c8f94;
	border-radius: 50%;
	background: #ffffff;
	color: #1d1d1d;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.bu-kit-gal .bu-kit-gal__arrow::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 auto;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
}

.bu-kit-gal .bu-kit-gal__arrow--prev {
	left: 10px;
}

.bu-kit-gal .bu-kit-gal__arrow--prev::before {
	transform: translateX(2px) rotate(135deg);
}

.bu-kit-gal .bu-kit-gal__arrow--next {
	right: 10px;
}

.bu-kit-gal .bu-kit-gal__arrow--next::before {
	transform: translateX(-2px) rotate(-45deg);
}

@media (min-width: 601px) {
	.bu-kit-gal .bu-kit-gal__arrow {
		display: block;
	}
}

.bu-kit-gal .bu-kit-gal__arrow[hidden] {
	display: none;
}

.bu-kit-gal .bu-kit-gal__arrow:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #1d1d1d;
}

/* The "2 / 4" counter, on the photo. */
.bu-kit-gal__count {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 1px 9px;
	border: 1px solid #8c8f94;
	border-radius: 999px;
	background: #ffffff;
	color: #1d1d1d;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	line-height: 18px;
}

/* Dots: always shown, each a 24px target. */
.bu-kit-gal__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
	min-height: 28px;
	padding-top: 4px;
}

.bu-kit-gal .bu-kit-gal__dot {
	position: relative;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: none;
	box-shadow: none;
}

.bu-kit-gal .bu-kit-gal__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: #767676;
}

.bu-kit-gal .bu-kit-gal__dot[aria-current="true"]::before {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	background: #1d1d1d;
}

.bu-kit-gal .bu-kit-gal__dot:focus-visible,
.bu-kit-gal .bu-kit-gal__thumb:focus-visible {
	outline: 2px solid #1d1d1d;
	outline-offset: 2px;
}

/* Thumbnails (gallery_thumbs "show"): computers only, so a phone never loads them. */
.bu-kit-gal__thumbs {
	display: none;
}

@media (min-width: 601px) {
	.bu-kit-gal__thumbs {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 4px;
	}
}

.bu-kit-gal .bu-kit-gal__thumb {
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: none;
}

.bu-kit-gal .bu-kit-gal__thumb[aria-current="true"] {
	border: 2px solid #1d1d1d;
}

.bu-kit-gal .bu-kit-gal__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

/* The main item's own image box, left empty as a stand-in (see gallery_image_classes()), and its details taking its room. */
.bundled_product_images.bu-kit-gal-moved {
	display: none !important;
}

.bundle_form .bu-kit-gal-item .details {
	float: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}
