/* ===========================================
   Flowerside Product Customizer — Styles
   Version 1.0.0
   =========================================== */

/* ── Purchase Selector ── */

.fsc-purchase-selector {
	width: 100%;
	margin-bottom: 14px;
}

.fsc-selector-card {
	border: 1.5px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
}

.fsc-selector-section {
	padding: 14px 18px;
	border-bottom: 1px solid #e5e5e5;
}

.fsc-selector-section:last-child {
	border-bottom: none;
}

.fsc-selector-section--alt {
	background: #fafaf8;
}

.fsc-section-label {
	font-size: 13px;
	color: #888;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 10px;
}

/* ── Options (qty + sub) ── */

.fsc-options-row {
	display: flex;
	gap: 8px;
}

.fsc-option {
	flex: 1;
	border: 2px solid #e5e5e5;
	border-radius: 8px;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	position: relative;
	opacity: 0.85;
	transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}

.fsc-option--active {
	border-color: #0F6E56;
	background: rgba(15, 110, 86, 0.1);
	opacity: 1;
}

.fsc-option-title {
	font-size: 16px;
	font-weight: 500;
	display: block;
	color: #333;
}

.fsc-option-price {
	font-size: 14px;
	color: #555;
}

.fsc-option-price--green {
	color: #0F6E56;
	font-weight: 500;
}

.fsc-option-sub {
	font-size: 13px;
	color: #888;
	display: block;
}

/* ── Radio button ── */

.fsc-radio {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #ccc;
	position: relative;
	flex-shrink: 0;
	transition: border-color 0.15s;
}

.fsc-option--active .fsc-radio {
	border-color: #0F6E56;
}

.fsc-radio-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: transparent;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: background 0.15s;
}

.fsc-option--active .fsc-radio-dot {
	background: #0F6E56;
}

/* ── Badges ── */

.fsc-badge {
	position: absolute;
	top: -9px;
	right: 14px;
	font-size: 11px;
	font-weight: 500;
	padding: 2px 10px;
	border-radius: 8px;
	white-space: nowrap;
	color: #fff;
}

.fsc-badge--green {
	background: #0F6E56;
}

.fsc-badge--orange {
	background: #e8613a;
}

/* ── Other quantity ── */

.fsc-other-qty-row {
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fsc-qty-slot {
	display: none;
}

.fsc-qty-slot--visible {
	display: block;
}

.fsc-qty-slot .quantity {
	display: flex;
	align-items: center;
}

.fsc-other-qty-links {
	margin-left: auto;
}

.fsc-link {
	font-size: 15px;
	color: #888;
	text-decoration: underline;
}

.fsc-link--hidden {
	display: none;
}

/* ── Incasso note ── */

.fsc-incasso-note {
	display: none;
	margin-top: 10px;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

/* ── Min qty note (supplements) ── */

.fsc-min-qty-note {
	display: none;
	margin-top: 10px;
	font-size: 13px;
	color: #e8613a;
	line-height: 1.5;
	padding: 8px 12px;
	background: rgba(232, 97, 58, 0.08);
	border-radius: 6px;
}

/* ── Totaal ── */

.fsc-selector-total {
	border-top: 1px solid #e5e5e5;
}

.fsc-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.fsc-total-label {
	font-size: 15px;
	color: #888;
}

.fsc-total-values {
	text-align: right;
}

.fsc-total-orig {
	font-size: 14px;
	color: #aaa;
	text-decoration: line-through;
	display: none;
}

.fsc-total-price {
	font-size: 20px;
	font-weight: 500;
	color: #333;
	margin-left: 6px;
}

.fsc-total-disc {
	font-size: 12px;
	color: #0F6E56;
	font-weight: 500;
	display: none;
	margin-left: 4px;
}

/* ── BOGO note ── */

.fsc-bogo-note {
	margin-top: 6px;
	display: none;
}

.fsc-bogo-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(232, 97, 58, 0.1);
	color: #e8613a;
	font-size: 13px;
	font-weight: 500;
	padding: 3px 10px;
	border-radius: 6px;
}

/* ── CTA Button ── */

.fsc-cta-button {
	width: 100%;
}

/* ── Sticky qty (hidden normally) ── */

.fsc-sticky-qty {
	display: none;
}

/* ── Trust Badges ── */

.fsc-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	width: 100%;
}

.fsc-trust-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #555;
}

/* ── COA ── */

.fsc-coa-link {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
}

.fsc-coa-thumb {
	width: 120px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}

.fsc-coa-label {
	display: block;
	font-size: 11px;
	color: #555;
	margin-top: 4px;
}

.fsc-coa-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.85);
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.fsc-coa-lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 8px;
}

.fsc-coa-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	z-index: 100000;
}

/* ── Sticky bar overrides ── */

.sticky-add-to-cart .fsc-purchase-selector,
.sticky-add-to-cart .fsc-trust-badges,
.sticky-add-to-cart .fsc-coa-link,
.sticky-add-to-cart .fsc-coa-lightbox,
.sticky-add-to-cart #fsc-incasso-note,
.sticky-add-to-cart #fsc-min-qty-note,
.sticky-add-to-cart #fsc-qty-slot {
	display: none !important;
}

.sticky-add-to-cart.flowerside-purchase-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px;
}

.sticky-add-to-cart.flowerside-purchase-wrap > * {
	width: auto !important;
	flex-shrink: 0;
}

.sticky-add-to-cart .fsc-sticky-qty {
	display: block !important;
}

.sticky-add-to-cart .fsc-sticky-qty .quantity {
	display: flex !important;
	align-items: center;
}

.sticky-add-to-cart .fsc-cta-button {
	width: auto !important;
}

/* ── Responsive ── */

@media (max-width: 480px) {
	.fsc-options-row {
		gap: 6px;
	}

	.fsc-option {
		padding: 10px;
	}

	.fsc-option-title {
		font-size: 15px;
	}

	.fsc-total-price {
		font-size: 18px;
	}
}
