/**
 * Fast Landing Checkout - Frontend Stylesheet
 * -----------------------------------------------------------------------------
 * Ultra-fast, lightweight, fully responsive, distraction-free checkout.
 * -----------------------------------------------------------------------------
 */

:root {
	--flc-primary: #8f2b8c;
	--flc-primary-hover: #581556;
	--flc-text: #1e293b;
	--flc-muted: #64748b;
	--flc-border: #e2e8f0;
	--flc-bg-card: #ffffff;
	--flc-radius: 10px;
}

/* Utility Classes */
.flc-hidden {
	display: none !important;
}

/* Distraction-Free Mode: Hide floating cart drawer & bubble */
body:has(.flc-container) .ast-ct-floating-cart,
body:has(.flc-container) #ast-ct-floating-cart,
body:has(.flc-container) .ast-floating-cart-bubble,
body:has(.flc-container) .ast-floating-cart-container,
.flc-container ~ .ast-ct-floating-cart {
	display: none !important;
}

/* Base Container */
.flc-container {
	container-type: inline-size;
	width: 100%;
	max-width: var(--flc-max-width, 1200px);
	margin: 20px auto;
	padding: 0 16px;
	font-family: inherit;
	box-sizing: border-box;
}

/* 1-Column Form Mode (Single Stacked Column on Desktop) */
.flc-container.flc-form-cols-1 {
	max-width: var(--flc-max-width, 760px);
}

.flc-container.flc-form-cols-1 .flc-grid {
	grid-template-columns: 1fr;
	gap: 20px;
}

.flc-container.flc-form-cols-1 .flc-col-summary {
	position: static !important;
	top: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

/* Modern Form Box Container */
.flc-container.flc-has-form-bg {
	background: var(--flc-form-bg, #f8fafc);
	border: var(--flc-form-border-width, 2px) solid var(--flc-form-border, var(--flc-primary));
	border-radius: var(--flc-radius, 12px);
	padding: 24px 20px 28px 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	margin-top: 15px;
	margin-bottom: 25px;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.flc-container.flc-has-form-bg {
		padding: 18px 12px 24px 12px;
		border-radius: var(--flc-radius, 10px);
	}
}

.flc-header {
	text-align: center;
	margin-bottom: 24px;
}

/* Header Banner Style (Top Bar) */
.flc-header.flc-header-banner {
	background: var(--flc-primary);
	color: #ffffff;
	padding: 14px 20px;
	border-radius: var(--flc-radius, 8px);
	text-align: center;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.flc-header.flc-header-banner .flc-title {
	color: #ffffff !important;
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	line-height: 1.35;
}

.flc-header.flc-header-banner .flc-subtitle {
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 14px;
	margin-top: 4px;
}

/* When Form Box Background is Active - Inner Elements */
.flc-has-form-bg .flc-card {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

.flc-has-form-bg .flc-card-header {
	border-bottom: none;
	padding-bottom: 6px;
	margin-bottom: 12px;
}

.flc-has-form-bg .flc-card-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--flc-text);
}

.flc-has-form-bg .flc-input-text,
.flc-has-form-bg .flc-input-select,
.flc-has-form-bg .flc-input-textarea,
.flc-has-form-bg .flc-input,
.flc-has-form-bg .flc-textarea {
	background: #ffffff !important;
	border: 1.5px solid var(--flc-form-border, var(--flc-primary)) !important;
	border-radius: 8px;
}

.flc-has-form-bg .flc-input-text:focus,
.flc-has-form-bg .flc-input-select:focus,
.flc-has-form-bg .flc-input-textarea:focus,
.flc-has-form-bg .flc-input:focus,
.flc-has-form-bg .flc-textarea:focus {
	border-color: var(--flc-primary) !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
}

.flc-has-form-bg .flc-switcher-option,
.flc-has-form-bg .flc-product-box {
	background: #ffffff !important;
	border: 1.5px solid var(--flc-form-border, var(--flc-border)) !important;
}

.flc-has-form-bg .flc-switcher-option.selected,
.flc-has-form-bg .flc-product-box.selected {
	border-color: var(--flc-primary) !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

.flc-has-form-bg .flc-order-review {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--flc-radius, 10px);
	padding: 18px 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.flc-has-form-bg .flc-payment-box {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--flc-radius, 10px);
	padding: 16px 18px;
}

.flc-has-form-bg .flc-bump-card {
	background: #ffffff !important;
	border: 1.5px dashed var(--flc-primary) !important;
}

.flc-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--flc-text);
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.flc-subtitle {
	font-size: 15px;
	color: var(--flc-muted);
	margin: 0;
}

/* Grid Layout */
.flc-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 24px;
	align-items: start;
	width: 100%;
	box-sizing: border-box;
}

.flc-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

/* Sticky Order Summary Column (Desktop & Tablet Landscape) */
@media (min-width: 821px) {
	.flc-col-summary {
		position: -webkit-sticky;
		position: sticky;
		top: var(--flc-sticky-top, 24px);
		z-index: 10;
		max-height: calc(100vh - 48px);
		overflow-y: auto;
		overflow-x: hidden;
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
	}

	.admin-bar .flc-col-summary {
		top: calc(var(--flc-sticky-top, 24px) + 32px);
		max-height: calc(100vh - 76px);
	}

	.flc-col-summary::-webkit-scrollbar {
		width: 4px;
	}

	.flc-col-summary::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.12);
		border-radius: 4px;
	}
}

.flc-col-summary.flc-no-sticky {
	position: static !important;
	max-height: none !important;
	overflow: visible !important;
}

/* Card Base */
.flc-card {
	background: var(--flc-bg-card);
	border: 1px solid var(--flc-border);
	border-radius: var(--flc-radius);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
	padding: 20px;
	box-sizing: border-box;
	width: 100%;
}

.flc-card-body {
	width: 100%;
	box-sizing: border-box;
}

.flc-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-card-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--flc-primary);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.flc-card-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--flc-text);
	margin: 0;
}

/* Multi-Product Switcher */
.flc-product-switcher {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-switcher-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin-top: 8px;
}

.flc-switcher-list.flc-switcher-cols-1 {
	grid-template-columns: 1fr !important;
}

.flc-switcher-list.flc-switcher-cols-2 {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.flc-switcher-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border: 2px solid var(--flc-border);
	border-radius: var(--flc-radius, 8px);
	background: #f8fafc;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
}

.flc-switcher-cols-1 .flc-switcher-option {
	padding: 12px 16px;
}

/* Left portion: indicator + thumb + info */
.flc-switcher-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

/* Right portion: badge tag + price */
.flc-switcher-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	text-align: right;
	flex-shrink: 0;
	gap: 4px;
}

/* 2-Column Grid Switcher adjustments */
.flc-switcher-cols-2 .flc-switcher-option {
	flex-direction: column;
	align-items: flex-start;
	padding: 12px;
	gap: 8px;
}

.flc-switcher-cols-2 .flc-switcher-left {
	width: 100%;
}

.flc-switcher-cols-2 .flc-switcher-right {
	width: 100%;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	margin-top: 4px;
	padding-top: 6px;
	border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* Offer Badge Tag (above price or in right section) */
.flc-switcher-tag {
	display: inline-block;
	background: var(--flc-badge-bg, #e05638);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: 1.2;
	letter-spacing: 0.2px;
	box-shadow: 0 1px 4px rgba(224, 86, 56, 0.25);
	white-space: nowrap;
}

.flc-switcher-badge {
	position: absolute;
	top: -9px;
	right: 12px;
	background: var(--flc-badge-bg, var(--flc-primary, #8224e3));
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 12px;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	line-height: 1.3;
	z-index: 2;
}

.flc-switcher-sub {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
	line-height: 1.25;
}

.flc-switcher-option input[type="radio"],
.flc-switcher-option input[type="checkbox"] {
	display: none;
}

/* Circular Radio Indicator */
.flc-radio-indicator {
	width: 18px;
	height: 18px;
	min-width: 18px;
	border: 1.5px solid var(--flc-border, #cbd5e1);
	border-radius: 50%;
	background: #ffffff;
	position: relative;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
}

.flc-switcher-option.selected .flc-radio-indicator {
	border-color: var(--flc-primary, #8224e3);
}

.flc-switcher-option.selected .flc-radio-indicator::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--flc-primary, #8224e3);
}

/* Checkbox Indicator */
.flc-cb-indicator {
	width: 18px;
	height: 18px;
	min-width: 18px;
	border: 1.5px solid var(--flc-border, #cbd5e1);
	border-radius: 4px;
	background: #ffffff;
	position: relative;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
}

.flc-switcher-option.selected .flc-cb-indicator {
	background: var(--flc-primary, #8224e3);
	border-color: var(--flc-primary, #8224e3);
}

.flc-switcher-option.selected .flc-cb-indicator::after {
	content: '';
	width: 4px;
	height: 8px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

.flc-switcher-option.selected {
	border-color: var(--flc-primary);
	background: #fdf4ff;
	box-shadow: 0 2px 8px rgba(143, 43, 140, 0.12);
}

/* Single Product Card in Switcher */
.flc-switcher-option.flc-switcher-single-card {
	cursor: default;
	border: 1.5px solid var(--flc-border);
	background: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
	padding: 12px 16px;
}

.flc-has-form-bg .flc-switcher-option.flc-switcher-single-card {
	background: #ffffff !important;
	border: 1.5px solid var(--flc-form-border, var(--flc-primary)) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.flc-switcher-single-card .flc-switcher-thumb img {
	width: 52px;
	height: 52px;
	border-radius: 8px;
}

.flc-switcher-single-card .flc-switcher-name {
	font-size: 15px;
	font-weight: 700;
}

.flc-switcher-single-card .flc-switcher-sale-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--flc-primary);
}

.flc-switcher-thumb img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
}

.flc-switcher-name {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--flc-text);
	line-height: 1.25;
}

.flc-switcher-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
	font-size: 14px;
	margin-top: 0;
}

.flc-switcher-sale-price {
	font-weight: 700;
	color: var(--flc-primary);
}

.flc-switcher-reg-price {
	font-size: 12px;
	font-weight: 500;
	color: #94a3b8;
	text-decoration: line-through;
}

/* Multi-Product Context Switcher */
.flc-product-context {
	display: none;
}
.flc-product-context.active {
	display: block;
}

/* Context Header for Multiple Products / Checkbox Mode */
.flc-context-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #f8fafc;
	border-left: 3px solid var(--flc-primary, #8224e3);
	border-radius: 4px;
	margin-bottom: 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--flc-text, #1e293b);
}

.flc-context-header-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--flc-primary, #8224e3);
	display: inline-block;
	flex-shrink: 0;
}

.flc-context-header-title {
	color: var(--flc-primary, #8224e3);
	font-weight: 700;
}

.flc-context-header-sub {
	color: #64748b;
	font-weight: 400;
	font-size: 13px;
}

/* Product Info Row */
.flc-product-row {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-product-thumb {
	width: 90px;
	height: 90px;
	flex: 0 0 90px;
	border-radius: 8px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid var(--flc-border);
}

.flc-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.flc-product-meta {
	flex: 1;
}

.flc-product-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--flc-text);
	margin: 0 0 6px 0;
	line-height: 1.35;
}

.flc-product-price-box {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.flc-currency {
	font-size: 16px;
	font-weight: 600;
	color: var(--flc-primary);
}

.flc-active-price {
	font-size: 20px;
	font-weight: 800;
	color: var(--flc-primary);
}

.flc-regular-price {
	font-size: 14px;
	color: var(--flc-muted);
	text-decoration: line-through;
	margin-left: 4px;
}

/* Multi-Attribute Variation Matrix */
.flc-variations-wrapper {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-attribute-group {
	width: 100%;
}

.flc-attr-label-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 8px;
}

.flc-attr-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--flc-text);
}

.flc-selected-attr-val {
	font-size: 14px;
	font-weight: 700;
	color: var(--flc-primary);
}

.flc-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: var(--flc-swatch-gap, 8px);
}

.flc-swatch {
	min-width: var(--flc-swatch-min-width, 44px);
	height: var(--flc-swatch-height, 40px);
	padding: var(--flc-swatch-padding, 0 14px);
	margin: var(--flc-swatch-margin, 0);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--flc-border);
	border-radius: var(--flc-swatch-radius, 7px);
	background: #f8fafc;
	color: var(--flc-text);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
	box-sizing: border-box;
	line-height: 1;
}

.flc-swatch:hover:not(.out-of-stock) {
	border-color: var(--flc-primary);
	color: var(--flc-primary);
	background: #ffffff;
}

.flc-swatch.active {
	border-color: var(--flc-primary);
	background: var(--flc-primary);
	color: #ffffff;
}

.flc-swatch.out-of-stock {
	opacity: 0.45;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Color Swatches (Pills) */
.flc-color-swatches .flc-swatch {
	border-radius: var(--flc-swatch-color-radius, 20px);
	padding: var(--flc-swatch-padding, 0 16px);
}

/* Swatch Shape Variations */
.flc-swatches.flc-swatches-pill .flc-swatch {
	border-radius: 50px !important;
	padding: 0 18px !important;
}

.flc-swatches.flc-swatches-rounded .flc-swatch {
	border-radius: 6px !important;
}

.flc-swatches.flc-swatches-square .flc-swatch {
	border-radius: 0px !important;
}

/* Swatch Width / 100% Equal Stretch Layout */
.flc-swatches.flc-swatches-stretch {
	display: flex !important;
	width: 100% !important;
	gap: var(--flc-swatch-gap, 8px) !important;
}

.flc-swatches.flc-swatches-stretch .flc-swatch {
	flex: 1 1 0% !important;
	min-width: 0 !important;
	text-align: center !important;
	padding: 0 8px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* Swatch Sizes */
.flc-swatches.flc-swatches-sm .flc-swatch {
	height: 32px !important;
	min-width: 36px !important;
	font-size: 12px !important;
	padding: 0 10px !important;
}

.flc-swatches.flc-swatches-md .flc-swatch {
	height: 40px !important;
	font-size: 13.5px !important;
}

.flc-swatches.flc-swatches-lg .flc-swatch {
	height: 46px !important;
	min-width: 50px !important;
	font-size: 15px !important;
	padding: 0 18px !important;
}

/* Quantity Row */
.flc-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.flc-qty-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--flc-text);
}

.flc-quantity {
	display: inline-flex !important;
	align-items: stretch !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	width: 124px !important;
	border: 1.5px solid var(--flc-border) !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 !important;
}

.flc-qty-btn {
	width: 38px !important;
	min-width: 38px !important;
	max-width: 38px !important;
	flex: 0 0 38px !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #f8fafc !important;
	color: #334155 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	transition: background 0.15s ease !important;
	-webkit-appearance: none !important;
	user-select: none !important;
}

.flc-qty-btn:hover {
	background: #e2e8f0 !important;
	color: #0f172a !important;
}

.flc-qty-minus {
	border-right: 1px solid var(--flc-border) !important;
}

.flc-qty-plus {
	border-left: 1px solid var(--flc-border) !important;
}

.flc-qty-input {
	width: 48px !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	border: none !important;
	text-align: center !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--flc-primary) !important;
	background: #ffffff !important;
	padding: 0 !important;
	margin: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	line-height: 38px !important;
	display: block !important;
	border-radius: 0 !important;
	-webkit-appearance: none !important;
	-moz-appearance: textfield !important;
}

.flc-qty-input::-webkit-outer-spin-button,
.flc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

/* Order Bump Container & Cards */
.flc-bump-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 10px;
	margin-bottom: 20px;
}

.flc-bump-card {
	position: relative;
	border: 2px dashed var(--flc-primary);
	background: #fdf4ff;
	padding: 16px;
	border-radius: var(--flc-radius);
	transition: all 0.2s ease;
	cursor: pointer;
	margin-top: 0;
}

.flc-bump-card.bump-checked {
	border-style: solid;
	background: #fae8ff;
	box-shadow: 0 4px 14px rgba(143, 43, 140, 0.14);
}

.flc-bump-badge {
	position: absolute;
	top: -12px;
	left: 16px;
	background: #ef4444;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
	text-transform: uppercase;
}

.flc-bump-label {
	display: flex;
	gap: 12px;
	cursor: pointer;
	margin: 0;
}

.flc-bump-checkbox-wrapper {
	position: relative;
	margin-top: 2px;
	flex-shrink: 0;
}

.flc-bump-checkbox {
	width: 22px;
	height: 22px;
	accent-color: var(--flc-primary);
	cursor: pointer;
}

.flc-bump-content {
	flex: 1;
}

.flc-bump-cta {
	font-size: 14.5px;
	font-weight: 700;
	color: #b91c1c;
	margin-bottom: 8px;
	line-height: 1.35;
}

.flc-bump-details {
	display: flex;
	gap: 12px;
	align-items: center;
}

.flc-bump-thumb {
	width: 60px;
	height: 60px;
	flex: 0 0 60px;
	border-radius: 6px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #f0abfc;
}

.flc-bump-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.flc-bump-name {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--flc-text);
	line-height: 1.3;
}

.flc-bump-price-line {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 3px;
}

.flc-bump-price-lbl {
	font-size: 13px;
	color: var(--flc-muted);
}

.flc-bump-old-price {
	font-size: 13px;
	color: var(--flc-muted);
	text-decoration: line-through;
}

.flc-bump-new-price {
	font-size: 15px;
	font-weight: 800;
	color: var(--flc-primary);
}

.flc-bump-desc {
	font-size: 12px;
	color: var(--flc-muted);
	margin-top: 3px;
}

/* Form Inputs (BD Standard) */
.flc-form-group {
	margin-bottom: 14px;
	width: 100%;
	box-sizing: border-box;
}

.flc-form-group:last-child {
	margin-bottom: 0;
}

.flc-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--flc-text);
	margin-bottom: 6px;
}

.flc-required {
	color: #ef4444;
}

.flc-input {
	width: 100%;
	max-width: 100%;
	height: 46px;
	border: 1.5px solid var(--flc-border);
	border-radius: 7px;
	padding: 0 14px;
	font-size: 15px;
	color: var(--flc-text);
	background: #ffffff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.flc-input:focus {
	border-color: var(--flc-primary);
	box-shadow: 0 0 0 3px rgba(143, 43, 140, 0.12);
}

.flc-textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	height: auto;
	padding: 10px 14px;
	resize: vertical;
	font-family: inherit;
}

/* Theme & Page Builder Form Normalization */
.flc-container .flc-input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
}

.flc-container input.flc-input {
	height: 46px !important;
	line-height: normal !important;
}

.flc-container textarea.flc-textarea {
	min-height: 68px !important;
	line-height: 1.5 !important;
}

/* Validation Notices & Error Alerts */
.flc-notices,
.flc-checkout-errors {
	margin-bottom: 18px;
	width: 100%;
	box-sizing: border-box;
}

.flc-notice-error,
.flc-notice-item {
	background: #fef2f2;
	border: 1.5px solid #f87171;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.5;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 3px 10px rgba(239, 68, 68, 0.08);
	box-sizing: border-box;
}

.flc-notice-item::before {
	content: "⚠️";
	font-size: 16px;
	flex-shrink: 0;
}

/* Single Delivery Badge (Free Shipping / Flat Rate) */
.flc-shipping-single {
	width: 100%;
}

.flc-shipping-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	border-radius: 8px;
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	color: #166534;
	box-sizing: border-box;
}

.flc-shipping-badge.flc-badge-flat {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #1e293b;
}

.flc-shipping-badge .flc-badge-icon {
	font-size: 20px;
	line-height: 1;
}

.flc-shipping-badge .flc-badge-text {
	flex: 1;
	font-size: 14.5px;
	font-weight: 700;
}

.flc-shipping-badge .flc-badge-cost {
	font-size: 14px;
	font-weight: 800;
	background: #ffffff;
	padding: 3px 12px;
	border-radius: 20px;
	border: 1px solid #bbf7d0;
	color: #15803d;
}

.flc-shipping-badge.flc-badge-flat .flc-badge-cost {
	border-color: #cbd5e1;
	color: var(--flc-primary);
}

/* Shipping Options */
.flc-shipping-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.flc-shipping-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border: 1.5px solid var(--flc-border);
	border-radius: 8px;
	background: #f8fafc;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	box-sizing: border-box;
}

.flc-shipping-option:hover {
	border-color: #cbd5e1;
	background: #ffffff;
}

.flc-shipping-option.selected {
	border-color: var(--flc-primary);
	background: #fdf4ff;
}

.flc-shipping-radio {
	display: none;
}

.flc-radio-indicator {
	width: 18px;
	height: 18px;
	border: 2px solid #94a3b8;
	border-radius: 50%;
	margin-right: 12px;
	display: inline-block;
	flex-shrink: 0;
	position: relative;
	transition: all 0.2s ease;
}

.flc-shipping-option.selected .flc-radio-indicator,
.flc-payment-option.selected .flc-radio-indicator {
	border-color: var(--flc-primary);
}

.flc-shipping-option.selected .flc-radio-indicator::after,
.flc-payment-option.selected .flc-radio-indicator::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--flc-primary);
}

.flc-shipping-text {
	flex: 1;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--flc-text);
}

.flc-shipping-price {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--flc-primary);
}

/* Order Summary Card */
.flc-summary-card {
	background: #ffffff;
	border: 1px solid var(--flc-border);
	border-radius: var(--flc-radius);
	padding: 22px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	width: 100%;
	box-sizing: border-box;
}

.flc-summary-header {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-summary-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--flc-text);
	margin: 0;
}

.flc-summary-table {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: var(--flc-muted);
}

.flc-row-product {
	display: none;
}

.flc-row-product.active {
	display: flex;
}

.flc-row-bump {
	display: none;
}

.flc-row-bump.active {
	display: flex;
}

/* Hide Quantity elements if hide_quantity is active */
.flc-qty-hidden .flc-qty-row,
.flc-qty-hidden .flc-sum-prod-qty {
	display: none !important;
}

.flc-summary-cell-item {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.flc-sum-thumb {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--flc-border);
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.flc-sum-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.flc-summary-cell-title {
	font-weight: 500;
	color: var(--flc-text);
	font-size: 13.5px;
	line-height: 1.35;
	word-break: break-word;
}

.flc-summary-cell-price {
	font-weight: 600;
	color: var(--flc-text);
	white-space: nowrap;
	margin-left: 12px;
	text-align: right;
}

.flc-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px dashed var(--flc-border);
}

.flc-total-label {
	font-size: 16px;
	font-weight: 700;
	color: var(--flc-primary);
}

.flc-total-amount {
	font-size: 20px;
	font-weight: 800;
	color: var(--flc-primary);
}

/* Dynamic Payment Gateways */
.flc-payment-section {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--flc-border);
}

.flc-payment-methods {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.flc-payment-option {
	display: flex;
	align-items: flex-start;
	padding: 12px 14px;
	border: 1.5px solid var(--flc-border);
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.flc-payment-option:hover {
	border-color: #cbd5e1;
}

.flc-payment-option.selected {
	border-color: var(--flc-primary);
	background: #fdf4ff;
}

.flc-payment-radio {
	display: none;
}

.flc-payment-meta {
	flex: 1;
}

.flc-payment-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--flc-text);
}

.flc-payment-desc {
	font-size: 12px;
	color: var(--flc-muted);
	margin-top: 3px;
	line-height: 1.35;
}

/* Submit CTA Button */
.flc-submit-btn {
	width: 100% !important;
	height: 52px !important;
	background: var(--flc-primary) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	outline: none !important;
	padding: 0 16px !important;
	box-sizing: border-box !important;
	text-decoration: none !important;
}

.flc-submit-btn:hover,
.flc-submit-btn:focus {
	background: var(--flc-primary-hover, #581556) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
	transform: translateY(-2px);
}

.flc-submit-btn:active {
	filter: brightness(0.85);
	transform: translateY(0);
	color: #ffffff !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.flc-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
	color: #ffffff !important;
}

.flc-submit-btn,
.flc-submit-btn *,
.flc-submit-btn:hover *,
.flc-submit-btn:focus * {
	color: #ffffff !important;
}

.flc-btn-content {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	white-space: nowrap !important;
	color: #ffffff !important;
}

.flc-btn-text {
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.2px !important;
}

.flc-btn-price-tag,
.flc-btn-total-val {
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	opacity: 0.95 !important;
}

.flc-btn-icon {
	display: inline-flex !important;
	align-items: center !important;
	color: #ffffff !important;
}

.flc-btn-icon svg,
.flc-btn-svg-icon {
	vertical-align: -2px;
	margin-right: 4px;
	stroke: #ffffff !important;
	color: #ffffff !important;
	display: inline-block;
}

.flc-mb-0 {
	margin-bottom: 0 !important;
}

.flc-btn-loading {
	display: none;
	align-items: center;
	gap: 8px;
	color: #ffffff !important;
}

.flc-submit-btn.loading .flc-btn-content {
	display: none !important;
}

.flc-submit-btn.loading .flc-btn-loading {
	display: inline-flex !important;
}

.flc-spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: flc-spin 0.8s linear infinite;
}

@keyframes flc-spin {
	to { transform: rotate(360deg); }
}

.flc-error-notice {
	display: none;
	margin-top: 12px;
	padding: 10px 14px;
	background: #fef2f2;
	border: 1px solid #f87171;
	border-radius: 6px;
	color: #991b1b;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
}

/* Out of Stock Notice & Disabled CTA */
.flc-submit-btn.flc-btn-disabled,
.flc-submit-btn:disabled {
	opacity: 0.65 !important;
	cursor: not-allowed !important;
	filter: grayscale(0.4) !important;
	pointer-events: none !important;
	transform: none !important;
}

.flc-stock-notice {
	display: none;
	margin-top: 12px;
	padding: 10px 14px;
	background: #fff1f2;
	border: 1px solid #fecdd3;
	border-radius: var(--flc-radius, 8px);
	color: #e11d48;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.flc-stock-notice.active {
	display: block;
}

/* ==========================================================================
   Page Builder & Mobile Responsiveness (Container Queries + Media Queries)
   ========================================================================== */

/* Container Query: Intelligently adapts whenever resized inside page builder containers */
@container (max-width: 780px) {
	.flc-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 14px !important;
		align-items: stretch !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.flc-card {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 16px 14px;
		border-radius: 10px;
	}

	.flc-title {
		font-size: 20px;
		line-height: 1.35;
	}

	.flc-subtitle {
		font-size: 14px;
	}

	.flc-product-thumb {
		width: 80px;
		height: 80px;
		flex: 0 0 80px;
	}

	.flc-swatches {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(var(--flc-swatch-min-width, 44px), 1fr));
		gap: var(--flc-swatch-gap, 6px);
	}

	.flc-swatch {
		min-width: 0 !important;
		width: 100% !important;
		height: var(--flc-swatch-height, 40px) !important;
		padding: var(--flc-swatch-padding, 0 2px) !important;
		border-radius: var(--flc-swatch-radius, 7px);
		margin: var(--flc-swatch-margin, 0);
	}

	.flc-color-swatches .flc-swatch {
		border-radius: var(--flc-swatch-color-radius, 20px);
	}

	.flc-submit-btn {
		height: 52px;
		font-size: 15px;
		padding: 0 10px;
	}

	.flc-btn-content {
		white-space: nowrap;
		gap: 4px;
	}
}

@media (max-width: 820px) {
	.flc-container {
		width: 100% !important;
		max-width: 100% !important;
		margin: 12px auto;
		padding: 0 12px;
		padding-bottom: 85px; /* Ample clearance above floating WhatsApp button */
		box-sizing: border-box;
	}

	.flc-grid {
		display: flex;
		flex-direction: column;
		gap: 14px;
		align-items: stretch !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.flc-card {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 16px 14px;
		border-radius: 10px;
	}

	.flc-title {
		font-size: 20px;
		line-height: 1.35;
	}

	.flc-subtitle {
		font-size: 14px;
	}

	.flc-product-thumb {
		width: 80px;
		height: 80px;
		flex: 0 0 80px;
	}

	.flc-swatches {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(var(--flc-swatch-min-width, 44px), 1fr));
		gap: var(--flc-swatch-gap, 6px);
	}

	.flc-swatch {
		min-width: 0 !important;
		width: 100% !important;
		height: var(--flc-swatch-height, 40px) !important;
		padding: var(--flc-swatch-padding, 0 2px) !important;
		border-radius: var(--flc-swatch-radius, 7px);
		margin: var(--flc-swatch-margin, 0);
	}

	.flc-color-swatches .flc-swatch {
		border-radius: var(--flc-swatch-color-radius, 20px);
	}

	.flc-submit-btn {
		height: 52px;
		font-size: 15px;
		padding: 0 10px;
	}

	.flc-btn-content {
		white-space: nowrap;
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.flc-switcher-option {
		padding: 9px 11px;
		gap: 8px;
	}
	.flc-switcher-thumb img {
		width: 40px;
		height: 40px;
	}
	.flc-switcher-name {
		font-size: 13px;
	}
	.flc-switcher-tag {
		font-size: 10.5px;
		padding: 2px 6px;
	}
	.flc-switcher-price {
		font-size: 13px;
	}
}

/* Frontend License Alert for Admin/Store Managers */
.flc-frontend-license-alert {
	background: #fffbeb;
	border: 1.5px solid #f59e0b;
	color: #92400e;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	margin: 20px auto;
	max-width: 860px;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
	text-align: center;
	line-height: 1.5;
}

.flc-frontend-license-alert a {
	color: #b45309;
	font-weight: 700;
	text-decoration: underline;
}

.flc-frontend-license-alert a:hover {
	color: #78350f;
}

/* Customer Support & Helpline Box */
.flc-support-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--flc-radius, 10px);
	padding: 16px 18px;
	margin-top: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.flc-support-header {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	color: #0f172a;
}

.flc-support-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

.flc-support-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 8px;
}

.flc-support-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 12px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.18s ease;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #1e293b;
	line-height: 1;
	box-sizing: border-box;
	text-align: center;
}

.flc-support-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.flc-support-btn svg {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	transition: all 0.18s ease;
}

.flc-support-phone {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

.flc-support-phone:hover {
	background: #16a34a;
	border-color: #16a34a;
	color: #ffffff;
}

.flc-support-whatsapp {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

.flc-support-whatsapp:hover {
	background: #25d366;
	border-color: #25d366;
	color: #ffffff;
}

.flc-support-whatsapp:hover svg {
	fill: #ffffff;
}

.flc-support-fb {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.flc-support-fb:hover {
	background: #1877f2;
	border-color: #1877f2;
	color: #ffffff;
}

.flc-support-fb:hover svg {
	fill: #ffffff;
}

.flc-support-fb-group {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.flc-support-fb-group:hover {
	background: #1877f2;
	border-color: #1877f2;
	color: #ffffff;
}

.flc-support-fb-group:hover svg {
	stroke: #ffffff;
}

.flc-support-custom {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #334155;
}

.flc-support-custom:hover {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
}

.flc-support-custom:hover svg {
	stroke: #ffffff;
}


