/* ============================================================
   Kasirye Labs — Features CSS
   Make It Yours · Size Finder · WhatsApp Cart · Deposits
   ============================================================ */

/* ── Size Finder Quiz ────────────────────────────────────────── */
.kl-size-finder-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: #888;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	margin-top: 8px;
	transition: color 0.15s;
}

.kl-size-finder-link:hover {
	color: #1a2035;
}

/* Modal overlay */
.kl-sf-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.kl-sf-overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.kl-sf-modal {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 440px;
	padding: 32px;
	position: relative;
	transform: translateY(16px);
	transition: transform 0.25s;
	font-family: 'Jost', sans-serif;
}

.kl-sf-overlay.open .kl-sf-modal {
	transform: translateY(0);
}

.kl-sf-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: #f5f5f5;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	transition: background 0.15s;
}

.kl-sf-close:hover { background: #eee; }

.kl-sf-title {
	font-size: 18px;
	font-weight: 800;
	color: #1a2035;
	margin: 0 0 6px;
}

.kl-sf-subtitle {
	font-size: 13px;
	color: #888;
	margin: 0 0 24px;
}

/* Steps */
.kl-sf-steps { display: none; }
.kl-sf-steps.active { display: block; }

.kl-sf-step-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #1a2035;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kl-sf-input {
	width: 100%;
	height: 46px;
	padding: 0 16px;
	border: 1.5px solid #ddd;
	border-radius: 8px;
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	color: #1a2035;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.kl-sf-input:focus { border-color: #ffbe00; }

.kl-sf-fit-options {
	display: flex;
	gap: 10px;
}

.kl-sf-fit-btn {
	flex: 1;
	height: 46px;
	border: 1.5px solid #ddd;
	border-radius: 8px;
	background: #fff;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.kl-sf-fit-btn.active,
.kl-sf-fit-btn:hover {
	border-color: #1a2035;
	background: #1a2035;
	color: #fff;
}

.kl-sf-next-btn,
.kl-sf-back-btn {
	height: 46px;
	padding: 0 24px;
	border-radius: 8px;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s;
	margin-top: 20px;
}

.kl-sf-next-btn {
	background: #ffbe00;
	color: #111;
	width: 100%;
}

.kl-sf-next-btn:hover { background: #e6ab00; }

.kl-sf-back-btn {
	background: #f5f5f5;
	color: #555;
	margin-right: 8px;
	width: auto;
}

/* Progress dots */
.kl-sf-progress {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 24px;
}

.kl-sf-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #eee;
	transition: background 0.2s, width 0.2s;
}

.kl-sf-dot.active {
	background: #ffbe00;
	width: 20px;
	border-radius: 4px;
}

/* Result */
.kl-sf-result {
	text-align: center;
	padding: 10px 0;
}

.kl-sf-result-size {
	font-size: 52px;
	font-weight: 900;
	color: #1a2035;
	line-height: 1;
	margin-bottom: 6px;
}

.kl-sf-result-label {
	font-size: 13px;
	color: #888;
	margin-bottom: 24px;
}

.kl-sf-apply-btn {
	width: 100%;
	height: 46px;
	background: #1a2035;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s;
}

.kl-sf-apply-btn:hover { background: #2a3045; }

/* ── Deposit Toggle ──────────────────────────────────────────── */
.kl-deposit-wrap {
	margin-top: 20px;
	border: 1.5px solid #eee;
	border-radius: 10px;
	overflow: hidden;
}

.kl-deposit-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #fafafa;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.kl-deposit-header svg { color: #ffbe00; }

.kl-deposit-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.kl-deposit-option {
	position: relative;
}

.kl-deposit-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.kl-deposit-option label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 14px 12px;
	cursor: pointer;
	border-right: 1px solid #eee;
	transition: background 0.15s;
	text-align: center;
}

.kl-deposit-option:last-child label { border-right: none; }

.kl-deposit-option input:checked + label {
	background: #1a2035;
}

.kl-deposit-option-amount {
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #1a2035;
	transition: color 0.15s;
}

.kl-deposit-option-amount .woocommerce-Price-amount,
.kl-deposit-option-amount .woocommerce-Price-amount bdi,
.kl-deposit-option-amount .woocommerce-Price-currencySymbol {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #1a2035 !important;
}

.kl-deposit-option-label {
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.15s;
}

/* Checked state — force white on all nested price spans */
.kl-deposit-option input:checked + label .kl-deposit-option-amount,
.kl-deposit-option input:checked + label .kl-deposit-option-amount *,
.kl-deposit-option input:checked + label .kl-deposit-option-amount .woocommerce-Price-amount,
.kl-deposit-option input:checked + label .kl-deposit-option-amount bdi {
	color: #fff !important;
}

.kl-deposit-option input:checked + label .kl-deposit-option-label {
	color: rgba(255,255,255,0.65) !important;
}

.kl-deposit-balance-note {
	padding: 8px 14px;
	background: #fff8e1;
	border-top: 1px solid #eee;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	color: #888;
	display: none;
}

.kl-deposit-balance-note.visible { display: block; }

/* ── WhatsApp Cart Button ────────────────────────────────────── */
.kl-wa-cart-wrap {
	margin: 20px 0 0;
	text-align: center;
}

.kl-wa-cart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	height: 38px;
	padding: 0 18px;
	background: #25d366;
	color: #fff;
	border-radius: 6px;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.2px;
	transition: background 0.2s, transform 0.15s;
}

.kl-wa-cart-btn:hover {
	background: #1da851;
	color: #fff;
	transform: translateY(-1px);
}

.kl-wa-cart-hint {
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	color: #aaa;
	margin: 8px 0 0;
	text-align: center;
}
