/* Shared component skins. Native Row/Column/Stack own widths and responsive layout. */
.fkit-native {
	color: var(--fkit-ink);
}
.fkit-native-cards .col-inner > .fkit-card {
	height: 100%;
}
.fkit-preset-product .fkit-purchase-panel > .col-inner {
	overflow: hidden;
}
.fkit-preset-product .product-title {
	font-size: 2em;
	font-weight: 500;
	line-height: 1.2;
}
.fkit-preset-product .price {
	color: var(--fkit-ink);
}
.fkit-preset-product .product-short-description {
	font-size: 14px;
	color: var(--fkit-muted);
	margin-block: 24px;
}
.fkit-preset-product .woocommerce-product-gallery__image img {
	aspect-ratio: 1;
	object-fit: contain;
	width: 100%;
	height: auto;
}
.fkit-preset-product .product-gallery-stacked .woocommerce-product-gallery__image {
	aspect-ratio: 1;
	overflow: hidden;
}
.fkit-preset-product .product_meta {
	font-size: 12px;
	color: var(--fkit-muted);
}
.fkit-preset-product .cart .button {
	border-radius: 99px;
	letter-spacing: 0;
	text-transform: none;
	min-height: 44px;
	font-size: 0.875em;
}
.fkit-preset-product .quantity input {
	height: 44px;
	box-shadow: none;
}
.fkit-preset-product .woocommerce-tabs {
	border: 0;
	margin-block: 24px;
}
.fkit-preset-product .product-section {
	border: 0;
}
.fkit-preset-product .panel {
	padding: 24px;
	background: #fff;
	border-radius: var(--fkit-radius);
}
.fkit-preset-product .product-tabs {
	overflow-x: auto;
	flex-wrap: nowrap;
}
/* Showcase template: full-width gallery, then a narrow centred column. */
.fkit-preset-product--showcase .section-content > .row:last-child {
	margin-bottom: var(--fkit-section-gap, 48px);
}
.fkit-preset-product--showcase .section-content > .row + .row {
	margin-top: 32px;
}
/* Flatsome's wide gallery sets an inline dark background; only !important overrides it. */
.fkit-preset-product--showcase .product-gallery-slider {
	background-color: var(--fkit-surface) !important;
}
.fkit-preset-product--showcase .product-gallery-slider .woocommerce-product-gallery__image img {
	aspect-ratio: 4 / 3;
	max-height: 72vh;
	width: auto;
	max-width: 100%;
	margin-inline: auto;
}
.fkit-preset-product--showcase .fkit-showcase__summary .product-title,
.fkit-preset-product--showcase .fkit-showcase__summary .price-wrapper,
.fkit-preset-product--showcase .fkit-showcase__summary .product-short-description {
	text-align: center;
}
.fkit-preset-product--showcase .fkit-showcase__summary .woocommerce-product-rating {
	display: flex;
	justify-content: center;
}
/* Story template: a photograph shown whole and large, details set straight on the page, and the
   product description below at full width. */
.fkit-preset-product--story .woocommerce-product-gallery__image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.fkit-preset-product--story .fkit-story__summary .product-title {
	font-size: 2.4em;
	line-height: 1.1;
}
.fkit-preset-product--story .fkit-story__summary .price-wrapper {
	margin-block: 12px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--fkit-line);
}
.fkit-preset-product--story .fkit-story__summary .product-short-description {
	font-size: 1em;
	color: var(--fkit-ink);
}
.fkit-preset-product--story .fkit-story__summary .fkit-layout-copy table {
	font-size: var(--fkit-small-size, 14px);
	margin-bottom: 24px;
}
.fkit-preset-product--story .fkit-story__summary .accordion {
	margin-top: 24px;
}
@media (max-width: 549px) {
	.fkit-preset-product--story .fkit-story__summary {
		padding-top: 24px;
	}
	.fkit-preset-product--story .fkit-story__summary .product-title {
		font-size: 1.9em;
	}
}
/* Breadcrumb inside a product layout: a quiet line above the title, not a second heading. */
.fkit-preset-product .product-breadcrumb-container {
	margin-bottom: 14px;
}
.fkit-preset-product .product-breadcrumb-container :is(.woocommerce-breadcrumb, .breadcrumbs) {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fkit-ink);
}
.fkit-preset-product .product-breadcrumb-container a {
	color: var(--fkit-muted);
}
.fkit-preset-product .product-breadcrumb-container a:hover {
	color: var(--fkit-ink);
}
.fkit-preset-product .product-breadcrumb-container .divider {
	margin: 0 6px;
	opacity: 0.45;
}
/* Product gallery options: one frame for every photo, whatever the layout. */
.fkit-preset-product
	:is(.fkit-gallery-ratio--1x1, .fkit-gallery-ratio--4x5, .fkit-gallery-ratio--2x3)
	.woocommerce-product-gallery__image
	img {
	aspect-ratio: var(--fkit-gallery-ratio);
}
.fkit-gallery-ratio--1x1 {
	--fkit-gallery-ratio: 1;
}
.fkit-gallery-ratio--4x5 {
	--fkit-gallery-ratio: 4 / 5;
}
.fkit-gallery-ratio--2x3 {
	--fkit-gallery-ratio: 2 / 3;
}
.fkit-preset-product
	:is(.fkit-gallery-ratio--1x1, .fkit-gallery-ratio--4x5, .fkit-gallery-ratio--2x3)
	.product-gallery-stacked
	.woocommerce-product-gallery__image {
	aspect-ratio: var(--fkit-gallery-ratio);
}
.fkit-preset-product .fkit-gallery-fit--contain .woocommerce-product-gallery__image img {
	object-fit: contain;
}
.fkit-preset-product .fkit-gallery-fit--cover .woocommerce-product-gallery__image img {
	object-fit: cover;
}
/* Compact template: tabs sit inside the purchase panel, so drop the nested panel frame. */
.fkit-preset-product--compact .fkit-purchase-panel .woocommerce-tabs {
	margin-block: 24px 0;
	padding-top: 16px;
	border-top: 1px solid var(--fkit-line);
}
.fkit-preset-product--compact .fkit-purchase-panel .panel {
	padding: 16px 0 0;
	background: transparent;
}
.fkit-preset-product--compact .product-title {
	font-size: 1.5em;
}
.fkit-preset-product--compact .fkit-layout-copy table {
	font-size: var(--fkit-small-size, 14px);
	margin-bottom: 16px;
}
.fkit-native-accordion .accordion-title {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	color: inherit;
	font-size: 13px;
	letter-spacing: 0.03em;
	border: 0;
	background: transparent;
}
.fkit-native-accordion .accordion-title .toggle {
	position: static;
	order: 2;
	margin: 0 0 0 auto;
	width: 20px;
	height: 20px;
	min-width: 20px;
	padding: 0;
	background: transparent;
	border: 0;
	display: grid;
	place-content: center;
	line-height: 1;
}
.fkit-native-accordion .accordion-title .toggle i {
	display: none;
}
.fkit-native-accordion .accordion-title .toggle::before {
	content: '+';
	font-size: 22px;
	font-weight: 400;
}
.fkit-native-accordion .accordion-title.active .toggle::before {
	content: '−';
}
.fkit-native-accordion .accordion-inner {
	padding: 12px 22px 24px;
}
.fkit-native-accordion.fkit-accordion--separated .accordion-item {
	border-radius: var(--fkit-radius);
	background: #fff;
	margin-bottom: 10px;
	overflow: hidden;
}
.fkit-native-accordion.fkit-accordion--divided .accordion-item {
	border-bottom: 1px solid var(--fkit-line);
}
.fkit-native-accordion.fkit-accordion--compact .accordion-title {
	padding: 12px 16px;
}
.fkit-copy-status {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	padding: 12px 20px;
	border-radius: 12px;
	background: var(--primary-color, #263247);
	color: white;
	z-index: 100000;
	font-size: 13px;
	box-shadow: 0 8px 28px #0002;
}
@media (max-width: 849px) {
	.fkit-preset-product .product-title {
		font-size: 1.75em;
	}
	.fkit-preset-product--compact .product-title {
		font-size: 1.375em;
	}
	.fkit-preset-product--showcase .section-content > .row + .row {
		margin-top: 20px;
	}
	.fkit-native-cards .row-small > .col {
		padding-bottom: 12px;
	}
	.fkit-preset-product .panel {
		padding: 18px;
	}
	.fkit-native-accordion .accordion-title {
		padding: 16px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.fkit-native * {
		scroll-behavior: auto;
		transition: none;
	}
}
.fkit-hide-attribute-labels table.variations th.label {
	display: none;
}
.fkit-preset-product .ux-swatches .ux-swatch {
	margin: 0 8px 8px 0;
	border-radius: 6px;
	min-width: 38px;
	min-height: 38px;
}
.fkit-preset-product .ux-swatches .ux-swatch--color {
	border-radius: 50%;
}
/* Calendar family: compact anchored date picker; native fields remain usable without JS. */
/* Composite date fields own their border; global input skins must not nest boxes. */
.fkit.fkit-date {
	max-width: 440px;
}
.fkit.fkit-date .fkit-date__field {
	display: flex;
	gap: 0;
	align-items: stretch;
	min-height: var(--fkit-field-height, 44px);
	border: 1px solid var(--fkit-line);
	border-radius: var(--fkit-field-radius, 10px);
	background: var(--fkit-card-bg, #fff);
	overflow: hidden;
}
.fkit.fkit-date .fkit-date__field:focus-within {
	outline: 2px solid var(--fkit-accent);
	outline-offset: 3px;
}
.fkit.fkit-date .fkit-date__field > input[type] {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	max-width: none;
	height: auto;
	min-height: var(--fkit-field-height, 44px);
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: var(--fkit-small-size, 13px);
}
.fkit.fkit-date .fkit-date__field > input[type]:focus {
	outline: none;
	box-shadow: none;
	background: transparent;
}
.fkit.fkit-date .fkit-date__field > span {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding-inline: 2px;
	color: var(--fkit-muted);
}
.fkit.fkit-date .fkit-date__trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	height: auto;
	min-height: var(--fkit-field-height, 44px);
	margin: 0;
	padding: 0;
	border: 0;
	border-inline-start: 1px solid var(--fkit-line);
	border-radius: 0;
	background: transparent;
	color: inherit;
	line-height: 1;
	box-shadow: none;
}
.fkit.fkit-date .fkit-date__trigger svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: none;
}
.fkit.fkit-date .fkit-date__trigger:focus-visible {
	outline: 2px solid var(--fkit-accent);
	outline-offset: -4px;
}
.fkit-date__field input::-webkit-calendar-picker-indicator {
	opacity: 0.4;
}
@media (max-width: 549px) {
	.fkit.fkit-date .fkit-date__field > input[type] {
		font-size: 16px;
		padding-inline: 8px;
	}
}
.fkit-date .fkit-calendar {
	font-family: inherit;
	border-radius: 12px;
	width: 320px;
	padding: 16px;
	box-shadow: 0 10px 35px #17251b22;
	font-size: 13px;
}
.fkit-date dialog.fkit-calendar {
	position: fixed;
	margin: 0;
	bottom: auto;
	right: auto;
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
}
.fkit-date dialog.fkit-calendar::backdrop {
	background: #161d181a;
}
.fkit-date div.fkit-calendar {
	margin-top: 12px;
	box-shadow: none;
}
.fkit-date .fkit-calendar button {
	font-size: 13px;
	min-height: 36px;
	font-weight: 400;
	letter-spacing: 0;
}
.fkit-calendar__days button[data-range] {
	background: var(--fkit-surface);
}
.fkit-calendar__days button[aria-pressed='true'] {
	border-radius: 8px;
}
.fkit-date .fkit-calendar header strong {
	text-transform: capitalize;
	font-size: 14px;
	font-weight: 600;
}

.fkit-date[data-mode='inline'] div.fkit-calendar {
	display: block;
}
.fkit-date.is-enhanced:not([data-mode='inline'])
	input[type='date']::-webkit-calendar-picker-indicator {
	display: none;
}
/* Native swatch geometry: clip both paint halves to the same circle. */
.fkit-native .ux-swatches .ux-swatch--color {
	width: 36px;
	height: 36px;
	min-width: 36px;
	min-height: 36px;
	padding: 3px;
	border-radius: 50%;
	box-shadow: none;
}
.fkit-native .ux-swatch--color .ux-swatch__color {
	border-radius: 50%;
	border: 1px solid #0002;
	overflow: hidden;
	flex: none;
}
.fkit-native .ux-swatches .ux-swatch--color.selected {
	box-shadow: 0 0 0 1px var(--fkit-ink);
	background: transparent;
}
.fkit-native .ux-swatches .ux-swatch--color:hover:not(.selected) {
	box-shadow: 0 0 0 1px var(--fkit-line);
}

.fkit-context-hint {
	padding: 18px;
	border: 1px dashed #a8c7d0;
	background: #f4fafb;
	color: #345;
	font-size: 13px;
}
.fkit-copy-status[data-tone='success'] {
	background: #245b39;
}
.fkit-copy-status[data-tone='error'] {
	background: #8b3030;
}

.fkit-cart--full form.cart:not(.variations_form),
.fkit-cart--full .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: nowrap;
}
.fkit-cart--full .single_add_to_cart_button {
	flex: 1;
	min-width: 0;
	width: auto;
	margin: 0;
}
.fkit-cart--full .quantity {
	flex: 0 0 auto;
	margin: 0;
}
/* Explicit Hidden option must survive Woo variation JS setting inline display:block. */
.fkit-native.fkit-hide-quantity form.cart .quantity {
	display: none !important;
}
.fkit-cart--compact form.cart .button {
	min-height: 36px;
	padding: 6px 18px;
}
.fkit-cart--compact .quantity input {
	height: 36px;
}

.fkit-native-cards .row.equalize-box > .col {
	display: flex;
}
.fkit-native-cards .row.equalize-box > .col > .col-inner {
	display: flex;
	width: 100%;
}
.fkit-native-cards .row.equalize-box .fkit-card {
	width: 100%;
}

.fkit-responsive-banner-bg {
	display: contents;
}

/* Position only: native Simple / Reveal / Circle and Light / Dark own appearance. */
.fkit-native-cards {
	position: relative;
}
.fkit-collection-heading {
	font: 500 14px/1.4 var(--fkit-ui-font, inherit);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: left;
	margin: 0 100px 24px 0;
	min-height: 40px;
	display: flex;
	align-items: center;
}
.fkit-collection--nav-top:not(:has(> .fkit-collection-heading)) {
	padding-top: 64px;
}
.fkit-collection--nav-top .slider-wrapper {
	overflow: visible;
}
.fkit-native-cards.fkit-collection--nav-top .slider .flickity-prev-next-button {
	top: -64px;
	bottom: auto;
	left: auto;
	right: 0;
	transform: none;
	width: 40px;
	height: 40px;
	margin: 0;
}
/* The slider row reaches into the column gutters; the buttons end on the cards' edge instead. */
.fkit-native-cards.fkit-collection--nav-top .slider {
	--fkit-slider-gutter: 15px;
}
.fkit-native-cards.fkit-collection--nav-top .slider.row-small {
	--fkit-slider-gutter: 9.8px;
}
.fkit-native-cards.fkit-collection--nav-top .slider.row-large {
	--fkit-slider-gutter: 30px;
}
.fkit-native-cards.fkit-collection--nav-top .slider.row-collapse {
	--fkit-slider-gutter: 0px;
}
.fkit-native-cards.fkit-collection--nav-top .slider .flickity-prev-next-button.previous {
	right: calc(var(--fkit-slider-gutter) + 48px);
}
.fkit-native-cards.fkit-collection--nav-top .slider .flickity-prev-next-button.next {
	right: var(--fkit-slider-gutter);
}
.fkit-native-cards .fkit-card:not(.fkit-card--horizontal) .fkit-card__body h3,
.fkit-archive-products .fkit-card:not(.fkit-card--horizontal) .fkit-card__body h3,
.fkit-product-grid .fkit-card:not(.fkit-card--horizontal) .fkit-card__body h3 {
	min-height: var(--fkit-card-title-height, 2.8em);
}

/* Additive navigation modes; native Simple/Reveal/Circle remain unchanged. */
.fkit-native-cards.fkit-collection--nav-always .slider .flickity-prev-next-button {
	opacity: 1;
	visibility: visible;
}
.fkit-native-cards.fkit-collection--nav-hidden .slider .flickity-prev-next-button {
	display: none;
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button {
	width: var(--fkit-slider-nav-size, 32px);
	height: var(--fkit-slider-nav-size, 32px);
	min-height: 0;
	padding: 0;
	border: 1px solid var(--fkit-line, #aaa);
	border-radius: 50%;
	background: transparent;
	color: var(--fkit-ink, #212121);
	box-shadow: none;
	transition:
		background 0.15s ease,
		border-color 0.15s ease;
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button svg {
	display: none;
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button:before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	margin: auto;
	width: var(--fkit-slider-nav-icon, 14px);
	height: var(--fkit-slider-nav-icon, 14px);
	background: currentColor;
	mask: url('icons/lucide/chevron-right.svg') center/contain no-repeat;
	-webkit-mask: url('icons/lucide/chevron-right.svg') center/contain no-repeat;
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button.previous:before {
	transform: rotate(180deg);
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button:hover {
	background: var(--fkit-soft, #eee);
	border-color: var(--fkit-ink, #222);
	color: var(--fkit-ink, #222);
}
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button:disabled {
	opacity: 0.35;
	cursor: default;
}
.fkit-native-cards.fkit-collection--nav-refined.fkit-collection--nav-top
	.slider
	.flickity-prev-next-button.previous {
	right: calc(var(--fkit-slider-gutter, 0px) + var(--fkit-slider-nav-size, 32px) + 8px);
}
/* Without a collection heading to line up with, refined buttons sit just above the cards. */
.fkit-native-cards.fkit-collection--nav-refined.fkit-collection--nav-top:not(
		:has(> .fkit-collection-heading)
	)
	.slider
	.flickity-prev-next-button {
	top: calc(-1 * (var(--fkit-slider-nav-size, 32px) + 16px));
}
@media (prefers-reduced-motion: reduce) {
	.fkit-collection--nav-refined .flickity-prev-next-button {
		transition: none;
	}
}

/* Product Related uses the enclosing Builder column, not a nested site-width row. */
.fkit-related--full-width > .related > .row,
.fkit-related--full-width > .related > .container-width {
	max-width: 100%;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* A two-tone chip is one non-repeating paint tile, including its border. */
.fkit-native .ux-swatch--color .ux-swatch__color {
	background-origin: border-box;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
}

/* Native span keeps semantics; the shared SVG alone owns the two-color paint. */
.fkit-native .ux-swatch--color .ux-swatch__color.fkit-exact-swatch {
	background: none !important;
	border: 0;
	clip-path: none;
	overflow: visible;
	border-radius: 0;
}
.fkit-exact-swatch > .fkit-swatch-dot {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: none;
}

/* Opt-in native Row panel: preserve column layout; only the outside corners are rounded. */
.row.fkit-joined-panel {
	border-radius: var(--fkit-joined-radius, 16px);
	overflow: clip;
	isolation: isolate;
}
/* A collapsed Row has no column gutter, so a rounded panel would touch the viewport edge.
   Give it the gutter other rows have; a panel with radius 0 (--flush) is a deliberate full bleed.
   Nested rows already sit inside a column. */
.row.row-collapse.fkit-joined-panel:not(.fkit-joined-panel--flush):not(.col .row) {
	padding-inline: var(--fkit-joined-gutter, 15px);
	border-radius: 0;
	clip-path: inset(0 var(--fkit-joined-gutter, 15px) round var(--fkit-joined-radius, 16px));
}
.row.fkit-joined-panel > .col > .col-inner {
	border-radius: 0;
}
.row.fkit-joined-panel.align-equal > .col > .col-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.row.fkit-joined-panel > .col > .col-inner > .button {
	align-self: flex-start;
}
.row.fkit-joined-panel > .col > .col-inner > .banner,
.row.fkit-joined-panel > .col > .col-inner > .img {
	margin-bottom: 0;
}
/* Native Flickity owns drag, navigation and visibility. Only opted-in cell sizing changes. */
.fkit-collection--peek .row-slider {
	--fkit-peek-columns: var(--fkit-peek-desktop, 4);
}
.fkit-collection--peek .row-slider > .col,
.fkit-collection--peek .row-slider .flickity-slider > .col {
	width: calc((100% - var(--fkit-peek-overhang, 0px)) / max(1, var(--fkit-peek-columns) - 0.65));
	max-width: calc(
		(100% - var(--fkit-peek-overhang, 0px)) / max(1, var(--fkit-peek-columns) - 0.65)
	);
	flex-basis: calc(
		(100% - var(--fkit-peek-overhang, 0px)) / max(1, var(--fkit-peek-columns) - 0.65)
	);
}
@media (max-width: 849px) {
	.fkit-collection--peek .row-slider {
		--fkit-peek-columns: var(--fkit-peek-tablet, 3);
	}
}
@media (max-width: 549px) {
	.fkit-collection--peek .row-slider {
		--fkit-peek-columns: var(--fkit-peek-mobile, 2);
	}
}

/* Only the viewing window reaches the browser edge. Native row/nav alignment stays intact.
   Flatsome forces direct non-column Row children to width:100% !important. */
.fkit.fkit-native-cards.fkit-collection--peek .row-slider > .flickity-viewport {
	width: calc(100% + var(--fkit-peek-overhang, 0px)) !important;
}

/* Row flex sizing must not shrink round navigation controls at mobile widths. */
.fkit-native-cards.fkit-collection--nav-refined .slider .flickity-prev-next-button {
	flex: none;
	min-width: var(--fkit-slider-nav-size, 32px);
	max-width: none;
	aspect-ratio: 1;
}

/* Native form wrappers must participate in the existing drawer flex column. */
.fkit-variant-drawer .fkit-native-quick-cart,
.fkit-variant-drawer .fkit-native-quick-cart > .add-to-cart-container {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}
.fkit-variant-drawer .fkit-native-quick-cart form {
	width: 100%;
}
.fkit-variant-drawer header button:focus:not(:focus-visible) {
	outline: none;
}
.fkit-variant-drawer .fkit-native-quick-cart .single_add_to_cart_button:disabled,
.fkit-variant-drawer .fkit-native-quick-cart .single_add_to_cart_button.disabled {
	background: #e5e7eb !important;
	color: #657083 !important;
	opacity: 1;
}

/* Edge shapes on native Section and Banner: a strip in the neighbouring colour, cut by an SVG mask
   that repeats sideways without a seam. */
.fkit-edge {
	position: relative;
}
.fkit-edge[class*='fkit-edge-top-']::before,
.fkit-edge[class*='fkit-edge-bottom-']::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	z-index: 3;
	height: var(--fkit-edge-height);
	background-color: var(--fkit-edge-color, var(--fkit-page, #fff));
	-webkit-mask: var(--fkit-edge-shape) center bottom / auto 100% repeat-x;
	mask: var(--fkit-edge-shape) center bottom / auto 100% repeat-x;
	pointer-events: none;
}
.fkit-edge[class*='fkit-edge-top-']::before {
	top: -1px;
	transform: scaleY(-1);
}
.fkit-edge[class*='fkit-edge-bottom-']::after {
	bottom: -1px;
}
.fkit-texture .fkit-edge::before,
.fkit-texture .fkit-edge::after {
	background-image: var(--fkit-texture);
	background-size: var(--fkit-texture-size) var(--fkit-texture-size);
}
.fkit-edge-top-torn::before,
.fkit-edge-bottom-torn::after {
	--fkit-edge-shape: url('edges/torn.svg');
	--fkit-edge-height: 56px;
}
.fkit-edge-top-brush::before,
.fkit-edge-bottom-brush::after {
	--fkit-edge-shape: url('edges/brush.svg');
	--fkit-edge-height: 64px;
}
.fkit-edge-top-ridge::before,
.fkit-edge-bottom-ridge::after {
	--fkit-edge-shape: url('edges/ridge.svg');
	--fkit-edge-height: 120px;
}
@media (max-width: 549px) {
	.fkit-edge-top-torn::before,
	.fkit-edge-bottom-torn::after {
		--fkit-edge-height: 36px;
	}
	.fkit-edge-top-brush::before,
	.fkit-edge-bottom-brush::after {
		--fkit-edge-height: 40px;
	}
	.fkit-edge-top-ridge::before,
	.fkit-edge-bottom-ridge::after {
		--fkit-edge-height: 72px;
	}
}

/* Content placement in native Columns. The grid keeps buttons at their own width. */
.col[class*='fkit-col-v-middle'] > .col-inner,
.col[class*='fkit-col-v-bottom'] > .col-inner {
	display: grid;
	align-content: center;
	height: 100%;
}
.col[class*='fkit-col-v-bottom'] > .col-inner {
	align-content: end;
}
.col[class*='fkit-col-v-'] > .col-inner > :is(.button, .fkit-button) {
	justify-self: start;
}
.col[class*='fkit-col-v-'] > .col-inner.text-center > :is(.button, .fkit-button) {
	justify-self: center;
}
.col[class*='fkit-col-v-'] > .col-inner.text-right > :is(.button, .fkit-button) {
	justify-self: end;
}
@media (min-width: 850px) {
	.col.fkit-col-edge-left > .col-inner {
		padding-left: max(30px, calc((100vw - var(--fkit-site-width, 1080px)) / 2 + 15px)) !important;
	}
	.col.fkit-col-edge-right > .col-inner {
		padding-right: max(30px, calc((100vw - var(--fkit-site-width, 1080px)) / 2 + 15px)) !important;
	}
}

/* Column option "Image fills the column": beside a taller column the image takes the full height.
   Its own ratio stays as the smallest height, and it applies once columns sit side by side. */
@media (min-width: 550px) {
	.col.fkit-col-fill-on > .col-inner,
	.col.fkit-col-fill-on > .col-inner > .img {
		height: 100%;
	}
	.col.fkit-col-fill-on > .col-inner > .img {
		margin-bottom: 0;
	}
	.col.fkit-col-fill-on > .col-inner > .img > .img-inner {
		box-sizing: border-box;
		height: 100%;
	}
	.col.fkit-col-fill-on > .col-inner > .img > .img-inner > img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
