.ftm-kb-selector {
	border: 1px solid #d7dde5;
	margin: 1.25rem 0;
	padding: 1rem;
	background: #fff;
	color: inherit;
}

.ftm-kb-selector h3,
.ftm-kb-selector h4 {
	margin: 0 0 0.75rem;
}

.ftm-kb-selector-note {
	margin: 0 0 1rem;
	color: #58616f;
}

.ftm-kb-component-card {
	border: 1px solid #e1e7ef;
	margin-bottom: 1rem;
	padding: 1rem;
	background: #fff;
}

.ftm-kb-layout-cards .ftm-kb-component-card {
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ftm-kb-layout-compact .ftm-kb-component-card {
	padding: 0.75rem;
	margin-bottom: 0.75rem;
}

.ftm-kb-component-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.ftm-kb-component-title strong {
	line-height: 1.25;
}

.ftm-kb-component-requirement {
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 0.125rem 0.5rem;
	font-size: 0.8125rem;
	color: #334155;
	background: #f8fafc;
	white-space: nowrap;
}

.ftm-kb-option-control,
.ftm-kb-component-control {
	width: 100%;
	max-width: 100%;
}

.ftm-kb-radio-group {
	display: grid;
	gap: 0.625rem;
}

.ftm-kb-layout-cards .ftm-kb-radio-group {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ftm-kb-radio-option {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	border: 1px solid #e1e7ef;
	border-radius: 8px;
	padding: 0.75rem;
	background: #fff;
	cursor: pointer;
}

.ftm-kb-radio-option:has(input:checked) {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 1px #1d4ed8 inset;
}

.ftm-kb-radio-option input {
	margin-top: 0.2rem;
}

.ftm-kb-radio-option input:disabled + .ftm-kb-radio-copy,
.ftm-kb-option-detail-disabled,
.ftm-kb-option-detail-invalid {
	opacity: 0.68;
}

.ftm-kb-radio-copy {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.ftm-kb-option-name,
.ftm-kb-option-detail-label {
	font-weight: 650;
}

.ftm-kb-option-product,
.ftm-kb-option-sku,
.ftm-kb-option-price,
.ftm-kb-option-stock,
.ftm-kb-option-quantity,
.ftm-kb-option-none-copy {
	color: #58616f;
	font-size: 0.92rem;
}

.ftm-kb-option-price {
	color: #0f172a;
	font-weight: 650;
}

.ftm-kb-option-details-heading {
	margin-top: 0.9rem;
	font-size: 0.95rem;
}

.ftm-kb-option-details {
	display: grid;
	gap: 0.5rem;
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.ftm-kb-option-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	align-items: baseline;
	border-top: 1px solid #eef2f6;
	padding-top: 0.5rem;
}

.ftm-kb-none-muted .ftm-kb-none-option {
	background: #f8fafc;
	color: #64748b;
}

.ftm-kb-warning,
.ftm-kb-component-message,
.ftm-kb-preview-message {
	color: #8a4b00;
}

.ftm-kb-warning {
	margin: 0.4rem 0;
	font-weight: 600;
}

.ftm-kb-component-message {
	margin-top: 0.5rem;
	font-size: 0.92rem;
}

.ftm-kb-price-preview {
	border: 1px solid #d7dde5;
	border-radius: 8px;
	background: #f8fafc;
	padding: 1rem;
}

.ftm-kb-admin-render-error {
	margin: 1rem 0;
	border: 1px solid #f0c36d;
	border-radius: 8px;
	background: #fff8e5;
	color: #4f3500;
	padding: 0.9rem 1rem;
}

.ftm-kb-preview-list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.ftm-kb-preview-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
}

.ftm-kb-preview-main {
	min-width: 0;
}

.ftm-kb-preview-sku,
.ftm-kb-preview-qty {
	color: #58616f;
	font-size: 0.92rem;
}

.ftm-kb-preview-price {
	text-align: right;
}

.ftm-kb-preview-total {
	border-top: 1px solid #d7dde5;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.5rem;
	padding-top: 0.75rem;
	font-weight: 700;
}

.ftm-kb-hide-sku .ftm-kb-option-sku,
.ftm-kb-hide-sku .ftm-kb-preview-sku,
.ftm-kb-hide-sku .ftm-kb-selected-option-sku,
.ftm-kb-hide-stock .ftm-kb-option-stock,
.ftm-kb-hide-stock .ftm-kb-selected-option-stock,
.ftm-kb-hide-price .ftm-kb-option-price,
.ftm-kb-hide-price .ftm-kb-preview-price,
.ftm-kb-hide-price .ftm-kb-selected-option-price {
	display: none;
}

@media (max-width: 640px) {
	.ftm-kb-selector {
		padding: 0.875rem;
	}

	.ftm-kb-component-title {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.4rem;
	}

	.ftm-kb-layout-cards .ftm-kb-radio-group,
	.ftm-kb-preview-list li {
		grid-template-columns: 1fr;
	}

	.ftm-kb-preview-price {
		text-align: left;
	}
}

@media (min-width: 900px) {
	body.single-product.ftm-kb-enabled-product div.product {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(360px, min(40vw, 430px));
		grid-auto-rows: auto;
		column-gap: clamp(24px, 3.5vw, 48px);
		row-gap: 0;
		align-items: start;
	}

	body.single-product.ftm-kb-enabled-product div.product div.images,
	body.single-product.ftm-kb-enabled-product div.product .woocommerce-product-gallery {
		float: none !important;
		grid-column: 1;
		grid-row: 2;
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary {
		display: contents !important;
		float: none !important;
		width: auto !important;
		max-width: none;
		min-width: 0;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > *:not(form.cart):not(script):not(style) {
		grid-column: 1;
		max-width: 100%;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > .product_title,
	body.single-product.ftm-kb-enabled-product div.product div.summary > h1.product_title,
	body.single-product.ftm-kb-enabled-product div.product div.summary > .entry-title {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		margin-top: 0;
		margin-bottom: 0.85rem;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > .product_meta,
	body.single-product.ftm-kb-enabled-product div.product div.summary > .sku_wrapper,
	body.single-product.ftm-kb-enabled-product div.product div.summary > .woocommerce-product-details__short-description {
		grid-column: 1;
		width: 100%;
		max-width: 100%;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > .product_meta,
	body.single-product.ftm-kb-enabled-product div.product div.summary > .sku_wrapper {
		grid-row: 3;
		margin-top: 0.8rem;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > .woocommerce-product-details__short-description {
		grid-row: 4;
		margin-top: 1rem;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary > form.cart {
		grid-column: 2;
		grid-row: 1 / span 5;
		align-self: start;
		width: 100%;
		max-width: 430px;
		margin-top: 0 !important;
	}

	body.single-product.ftm-kb-enabled-product div.product .woocommerce-tabs,
	body.single-product.ftm-kb-enabled-product div.product .related,
	body.single-product.ftm-kb-enabled-product div.product .upsells {
		grid-column: 1 / -1;
		width: 100%;
	}
}

body.single-product.ftm-kb-enabled-product div.product div.summary {
	min-width: min(100%, 380px);
}

body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product div.summary > p.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product div.summary > span.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product > p.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product > span.price {
	display: none !important;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .summary p.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .summary span.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .entry-summary p.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .entry-summary span.price,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .single-product-summary .price:not(.ftm-kb-option-price):not(.ftm-kb-selected-option-price):not(.ftm-kb-preview-price),
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .product-summary .price:not(.ftm-kb-option-price):not(.ftm-kb-selected-option-price):not(.ftm-kb-preview-price),
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .summary .price:not(.ftm-kb-option-price):not(.ftm-kb-selected-option-price):not(.ftm-kb-preview-price),
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .entry-summary .price:not(.ftm-kb-option-price):not(.ftm-kb-selected-option-price):not(.ftm-kb-preview-price),
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .summary > .price .woocommerce-Price-amount,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .entry-summary > .price .woocommerce-Price-amount,
body.single-product.ftm-kb-enabled-product.ftm-kb-zero-parent-price div.product .woocommerce-variation-price {
	display: none !important;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-hidden-parent-price {
	display: none !important;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-empty-layout-placeholder {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready div.product {
	display: block !important;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, min(40vw, 430px));
	gap: clamp(24px, 3.5vw, 44px);
	align-items: start;
	width: 100%;
	max-width: 100%;
	clear: both;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-right {
	min-width: 0;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left {
	display: grid;
	gap: 0.9rem;
	align-content: start;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product_title,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .entry-title {
	margin-top: 0;
	margin-bottom: 0;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product_meta,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .sku_wrapper {
	margin: 0;
	color: #475569;
	line-height: 1.45;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .woocommerce-product-gallery,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left div.images,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product-images,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product-gallery,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product_image,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .product-image {
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0;
}

body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs,
body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery ol.flex-control-thumbs,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs,
body.single-product.ftm-kb-enabled-product div.images ol.flex-control-thumbs {
	display: flex !important;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow: visible;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs li,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs li {
	display: block !important;
	float: none !important;
	flex: 0 0 clamp(58px, 11vw, 82px);
	width: clamp(58px, 11vw, 82px) !important;
	max-width: 82px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs li::marker,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs li::marker {
	content: "" !important;
	font-size: 0 !important;
}

body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: 4px;
	opacity: 0.72;
	transition: border-color 0.15s ease, opacity 0.15s ease;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs img.flex-active,
body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs img:hover {
	border-color: #0ea5d7;
	opacity: 1;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 35px 0 0;
	clear: none;
	float: none !important;
	grid-column: 1 / -1;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved .tabs,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved ul.tabs {
	box-sizing: border-box;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved .woocommerce-Tabs-panel,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved .woocommerce-tabs-panel,
body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-left .ftm-kb-tabs-moved #tab-description {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: clamp(1rem, 2vw, 1.35rem);
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0 8px 8px 8px;
	line-height: 1.55;
	overflow-wrap: normal;
	word-break: normal;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-right {
	width: 100%;
	max-width: 430px;
	justify-self: end;
	align-self: start;
}

body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-right form.cart {
	width: 100%;
	max-width: 100%;
	margin-top: 0 !important;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selector {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0.75rem 0 1rem;
	padding: clamp(0.8rem, 1.45vw, 1rem);
	border-radius: 10px;
	line-height: 1.45;
	overflow: visible;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selector,
body.single-product.ftm-kb-enabled-product .ftm-kb-selector * {
	word-break: normal;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selector h3 {
	margin-bottom: 0.35rem;
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.25;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selector-note {
	margin: 0 0 0.65rem;
	line-height: 1.45;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-component-card {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 0.7rem;
	padding: clamp(0.75rem, 1.35vw, 0.95rem);
	border-radius: 10px;
	min-width: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-component-title {
	align-items: flex-start;
	gap: 0.65rem 1rem;
	margin-bottom: 0.75rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-component-title strong {
	min-width: 0;
	line-height: 1.35;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-component-requirement {
	flex: 0 0 auto;
	margin-top: 0.1rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-control {
	min-width: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-component-control {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-detail {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.85rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	line-height: 1.4;
	min-width: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-title,
body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-product,
body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-empty {
	display: block;
	min-width: 0;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-title {
	font-weight: 650;
	color: #0f172a;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-product {
	margin-top: 0.15rem;
	color: #475569;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.85rem;
	margin-top: 0.45rem;
	min-width: 0;
	color: #58616f;
	font-size: 0.92rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-sku {
	overflow-wrap: anywhere;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-selected-option-na {
	color: #64748b;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-availability-message {
	display: block;
	flex: 0 0 100%;
	margin-top: 0.45rem;
	color: #92400e;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.4;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-special-order-status {
	display: block;
	flex: 0 0 100%;
	margin-top: 0.45rem;
	color: #2f855a;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-special-order-status + .ftm-kb-option-availability-message {
	margin-top: 0.12rem;
	color: #2f855a;
	font-weight: 600;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-notify-link {
	display: inline-block;
	width: fit-content;
	margin-top: 0.55rem;
	padding: 0.38rem 0.7rem;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	color: #1d4ed8;
	font-size: 0.86rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-notify-link:hover,
body.single-product.ftm-kb-enabled-product .ftm-kb-option-notify-link:focus {
	border-color: #93c5fd;
	background: #eff6ff;
	color: #1e40af;
	text-decoration: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-cards .ftm-kb-radio-group {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 0.75rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-option {
	min-width: 0;
	padding: 0.85rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-cards .ftm-kb-component-card {
	margin-bottom: 0.8rem;
	padding: clamp(0.85rem, 1.45vw, 1.05rem);
	border: 1px solid #e1e7ef;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-cards .ftm-kb-radio-option {
	padding: 0.9rem;
	border-radius: 10px;
	background: #fff;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-cards .ftm-kb-selected-option-detail {
	padding: 0.9rem;
	border-radius: 9px;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact {
	font-size: 0.94rem;
	line-height: 1.35;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact h3 {
	margin-bottom: 0.2rem;
	font-size: 1.08rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-selector-note {
	margin-bottom: 0.45rem;
	font-size: 0.9rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-component-card {
	margin-bottom: 0.45rem;
	padding: 0.58rem 0.65rem;
	border-radius: 7px;
	box-shadow: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-component-title {
	margin-bottom: 0.45rem;
	gap: 0.45rem 0.7rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-component-requirement {
	padding: 0.05rem 0.38rem;
	font-size: 0.74rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-component-control {
	min-height: 34px;
	font-size: 0.92rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-selected-option-detail {
	margin-top: 0.45rem;
	padding: 0.52rem 0.6rem;
	border-radius: 6px;
	font-size: 0.9rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-selected-option-meta {
	gap: 0.15rem 0.55rem;
	margin-top: 0.28rem;
	font-size: 0.86rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-radio-group {
	gap: 0.38rem;
	grid-template-columns: 1fr;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-radio-option {
	gap: 0.45rem;
	padding: 0.52rem 0.58rem;
	border-radius: 6px;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-radio-copy {
	gap: 0.12rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-name {
	font-size: 0.92rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-sku,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-price,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-stock,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-quantity,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-special-order-status,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-availability-message,
body.single-product.ftm-kb-enabled-product .ftm-kb-layout-compact .ftm-kb-option-notify-link {
	font-size: 0.84rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-option.ftm-kb-option-stock-outofstock {
	border-color: #f59e0b;
	background: #fffaf0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-option.ftm-kb-option-stock-outofstock:has(input:checked) {
	border-color: #d97706;
	box-shadow: 0 0 0 1px #d97706 inset;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-option.ftm-kb-option-special-order {
	border-color: #38a169;
	background: #f0fff4;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-option.ftm-kb-option-special-order:has(input:checked) {
	border-color: #2f855a;
	box-shadow: 0 0 0 1px #2f855a inset;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-radio-copy,
body.single-product.ftm-kb-enabled-product .ftm-kb-option-name,
body.single-product.ftm-kb-enabled-product .ftm-kb-option-product,
body.single-product.ftm-kb-enabled-product .ftm-kb-option-detail-label {
	min-width: 0;
	line-height: 1.4;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-sku,
body.single-product.ftm-kb-enabled-product .ftm-kb-preview-sku {
	overflow-wrap: anywhere;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-details-heading {
	margin-top: 1rem;
	margin-bottom: 0.45rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-details {
	gap: 0.65rem;
	margin-top: 0.6rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.8rem;
	align-items: baseline;
	min-width: 0;
	padding-top: 0.7rem;
	line-height: 1.4;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-detail-label,
body.single-product.ftm-kb-enabled-product .ftm-kb-option-detail .ftm-kb-option-product {
	flex: 0 0 100%;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-option-price {
	white-space: nowrap;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview {
	display: none !important;
	margin-top: 1.25rem;
	padding: clamp(1rem, 2vw, 1.25rem);
	border-radius: 10px;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview h4 {
	margin-bottom: 0.8rem;
	line-height: 1.25;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-list {
	gap: 0.75rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-list li {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	min-width: 0;
	gap: 0.25rem 0.9rem;
	align-items: baseline;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #e2e8f0;
	word-break: normal;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-main {
	flex: 1 1 100%;
	min-width: 0;
	font-weight: 650;
	line-height: 1.4;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-component,
body.single-product.ftm-kb-enabled-product .ftm-kb-preview-option {
	display: block;
	min-width: 0;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-option {
	margin-top: 0.1rem;
	color: #475569;
	font-weight: 500;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-meta {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.25rem 0.85rem;
	min-width: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-price {
	flex: 0 0 auto;
	margin-left: auto;
	white-space: nowrap;
	text-align: right;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-preview-total {
	align-items: center;
	margin-top: 0.85rem;
	font-size: 1.05rem;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-list {
	display: block;
	width: 100%;
	margin: 0 0 0.75rem;
	padding: 0;
	list-style: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-price-preview-row {
	display: block;
	width: 100%;
	min-width: 0;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
	word-break: normal !important;
	overflow-wrap: normal !important;
	white-space: normal;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-price-preview-row:last-child {
	border-bottom: 0;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-line-main {
	display: block;
	width: 100%;
	min-width: 0;
	margin-bottom: 4px;
	line-height: 1.4;
	word-break: normal !important;
	overflow-wrap: normal !important;
	white-space: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-component,
body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-option {
	display: inline;
	min-width: 0;
	word-break: normal !important;
	overflow-wrap: normal !important;
	white-space: normal;
	hyphens: none;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-component {
	font-weight: 700;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-option {
	margin-left: 0.25rem;
	color: inherit;
	font-weight: 500;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-line-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	width: 100%;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-sku {
	overflow-wrap: anywhere;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-price {
	flex: 0 0 auto;
	font-weight: 700;
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-price-preview-total,
body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0 0 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid #d7dde5;
	font-weight: 700;
	line-height: 1.4;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

body.single-product.ftm-kb-enabled-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.65rem;
	margin-top: 0.95rem;
	padding: clamp(0.9rem, 1.7vw, 1.15rem);
	border: 1px solid #d7dde5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
	clear: none;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-selector {
	order: 1;
	flex: 0 0 100%;
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total {
	order: 2;
	display: block;
	flex: 0 0 100%;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 0.1rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid #d7dde5;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
	font-size: 0.98rem;
	line-height: 1.35;
	word-break: normal;
	overflow-wrap: normal;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-main {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.9rem;
	width: 100%;
	min-width: 0;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-label {
	min-width: 0;
	font-weight: 650;
	word-break: normal;
	overflow-wrap: normal;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-price {
	flex: 0 0 auto;
	color: #0f172a;
	font-size: 1.05rem;
	white-space: nowrap;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-warning {
	display: block;
	width: 100%;
	margin: 0.32rem 0 0;
	color: #92400e;
	font-size: 0.86rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.35;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-warning[hidden] {
	display: none !important;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .quantity {
	order: 3;
	margin: 0;
	flex: 0 0 auto;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .quantity input.qty,
body.single-product.ftm-kb-enabled-product div.product form.cart .quantity .qty,
body.single-product.ftm-kb-enabled-product div.product form.cart .quantity button {
	min-height: 42px;
	box-sizing: border-box;
}

body.single-product.ftm-kb-enabled-product div.product form.cart .button,
body.single-product.ftm-kb-enabled-product div.product form.cart button.single_add_to_cart_button {
	order: 4;
	min-width: min(100%, 180px);
	flex: 1 1 180px;
	align-self: stretch;
	margin: 0;
	min-height: 42px;
}

.ftm-kb-cart-summary {
	display: grid;
	gap: 0.12rem;
	margin: 0.15rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.94em;
	line-height: 1.35;
}

.ftm-kb-cart-summary li {
	margin: 0;
	padding: 0;
}

.ftm-kb-cart-summary-component {
	font-weight: 650;
}

.ftm-kb-cart-summary-option,
.ftm-kb-cart-child-summary {
	color: #475569;
}

.ftm-kb-cart-child-summary {
	display: inline;
	line-height: 1.4;
}

@media (max-width: 899px) {
	body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-layout {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	body.single-product.ftm-kb-enabled-product.ftm-kb-layout-ready .ftm-kb-product-right {
		max-width: 100%;
		justify-self: stretch;
	}

	body.single-product.ftm-kb-enabled-product div.product,
	body.single-product.ftm-kb-enabled-product div.product div.images,
	body.single-product.ftm-kb-enabled-product div.product .woocommerce-product-gallery,
	body.single-product.ftm-kb-enabled-product div.product div.summary {
		display: block;
		float: none !important;
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
	}

	body.single-product.ftm-kb-enabled-product div.product div.summary {
		margin-top: 1.5rem;
	}
}

@media (max-width: 640px) {
	body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs,
	body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs {
		gap: 8px;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 2px !important;
	}

	body.single-product.ftm-kb-enabled-product .woocommerce-product-gallery .flex-control-thumbs li,
	body.single-product.ftm-kb-enabled-product div.images .flex-control-thumbs li {
		flex-basis: 58px;
		width: 58px !important;
		max-width: 58px;
	}

	body.single-product.ftm-kb-enabled-product .ftm-kb-component-title {
		flex-direction: column;
		align-items: flex-start;
	}

	body.single-product.ftm-kb-enabled-product .ftm-kb-preview-list li {
		grid-template-columns: 1fr;
	}

	body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-line-meta {
		display: block;
	}

	body.single-product.ftm-kb-enabled-product .ftm-kb-preview-price {
		text-align: left;
	}

	body.single-product.ftm-kb-enabled-product .ftm-kb-price-preview .ftm-kb-preview-price {
		display: block;
		margin-left: 0;
		margin-top: 4px;
		text-align: left;
	}

	body.single-product.ftm-kb-enabled-product div.product form.cart {
		align-items: stretch;
	}

	body.single-product.ftm-kb-enabled-product div.product form.cart .ftm-kb-compact-total-main {
		align-items: baseline;
	}

	body.single-product.ftm-kb-enabled-product div.product form.cart .button,
	body.single-product.ftm-kb-enabled-product div.product form.cart button.single_add_to_cart_button {
		flex: 1 1 100%;
		width: 100%;
		margin-top: 0.2rem;
	}
}
