/* ── Floating Footer Bar ── */
.floating-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	pointer-events: none;
	transform: translateY(100%);
	transition: transform 0.35s ease;
}

.floating-bar.is-visible {
	transform: translateY(0);
	pointer-events: auto;
}

.floating-bar__inner {
	max-width: 800px;
	margin: 0 auto 20px;
	background: #191919;
	border-radius: 100px;
	padding: 16px 16px 16px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.floating-bar__prices {
	display: flex;
	align-items: center;
	gap: 24px;
}

.floating-bar__price-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.floating-bar__label {
	font-family: 'Archivo', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.floating-bar__amount {
	font-family: 'Archivo', sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.floating-bar__amount-was {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: line-through;
	margin-right: 4px;
}

.floating-bar__monthly-btn {
	background: none;
	border: none;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
	padding: 0 0 2px;
	font-family: 'Archivo', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.floating-bar__monthly-btn:hover {
	border-bottom-color: rgba(255, 255, 255, 0.6);
}

.floating-bar__monthly-btn svg {
	opacity: 0.5;
}

.floating-bar__cta-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 28px;
	background: #d5fb7b;
	color: #191919;
	font-family: 'Archivo', sans-serif;
	font-size: 15px;
	font-weight: 600;
	border-radius: 100px;
	text-decoration: none;
	transition: background 0.15s;
}

.floating-bar__cta-btn:hover {
	background: #c5eb6b;
}

@media (max-width: 600px) {
	.floating-bar__inner {
		margin: 0 8px 8px;
		padding: 12px 12px 12px 20px;
		border-radius: 24px;
		gap: 12px;
	}
	.floating-bar__amount {
		font-size: 18px;
	}
	.floating-bar__monthly-btn {
		font-size: 16px;
	}
	.floating-bar__prices {
		gap: 16px;
	}
	.floating-bar__cta-btn {
		height: 40px;
		padding: 0 20px;
		font-size: 13px;
	}
	.floating-bar__label {
		font-size: 10px;
	}
}

/* ── Payment Plan Modal ── */
.plan-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
}

.plan-modal.is-open {
	display: flex;
}

.plan-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.plan-modal__content {
	position: relative;
	background: #191919;
	color: #fff;
	border-radius: 20px;
	padding: 32px;
	max-width: 440px;
	width: calc(100% - 32px);
	max-height: 90vh;
	overflow-y: auto;
	animation: planModalSlideUp 0.25s ease;
}

@keyframes planModalSlideUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.plan-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.plan-modal__close:hover {
	color: #fff;
}

.plan-modal__title {
	font-family: 'Archivo', sans-serif;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.plan-modal__subtitle {
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 20px;
}

.plan-modal__package {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
	font-family: 'Archivo', sans-serif;
	font-size: 15px;
	font-weight: 600;
}

.plan-modal__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.plan-modal__option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 14px 16px;
	cursor: pointer;
	color: #fff;
	font-family: 'Archivo', sans-serif;
	transition: border-color 0.15s;
}

.plan-modal__option:hover {
	border-color: rgba(213, 251, 123, 0.3);
}

.plan-modal__option.is-selected {
	border-color: #d5fb7b;
	background: rgba(213, 251, 123, 0.08);
}

.plan-modal__option-label {
	font-size: 15px;
	font-weight: 600;
	flex: 1;
	text-align: left;
}

.plan-modal__option-amount {
	font-size: 15px;
	font-weight: 700;
	color: #d5fb7b;
}

.plan-modal__option-badge {
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.1);
	padding: 3px 8px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
}

.plan-modal__option.is-selected .plan-modal__option-badge {
	background: #d5fb7b;
	color: #191919;
}

.plan-modal__summary {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
}

.plan-modal__summary-row {
	display: flex;
	justify-content: space-between;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	padding: 4px 0;
	color: rgba(255, 255, 255, 0.7);
}

.plan-modal__summary-row span:last-child {
	font-weight: 600;
	color: #fff;
}

.plan-modal__summary-total {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin-top: 8px;
	padding-top: 8px;
	font-weight: 700 !important;
}

.plan-modal__summary-total span {
	color: #fff !important;
	font-size: 16px !important;
}

.plan-modal__summary-interest {
	text-align: center;
	font-family: 'Archivo', sans-serif;
	font-size: 12px;
	color: #d5fb7b;
	margin-top: 8px;
	font-weight: 600;
}

.plan-modal__package-was {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	text-decoration: line-through;
	margin-right: 4px;
}

.plan-modal__summary-discount span {
	color: #d5fb7b !important;
}

.plan-modal__confirm {
	margin-top: 4px;
}

@media (max-width: 768px) {
	.plan-modal__content {
		padding: 20px;
		max-height: 95vh;
	}
	.plan-modal__title {
		font-size: 18px;
		margin-bottom: 2px;
	}
	.plan-modal__subtitle {
		font-size: 12px;
		margin-bottom: 12px;
	}
	.plan-modal__package {
		padding: 10px 14px;
		font-size: 13px;
		margin-bottom: 10px;
	}
	.plan-modal__options {
		gap: 6px;
		margin-bottom: 12px;
	}
	.plan-modal__option {
		padding: 10px 14px;
		gap: 10px;
	}
	.plan-modal__option-label {
		font-size: 13px;
	}
	.plan-modal__option-amount {
		font-size: 13px;
	}
	.plan-modal__option-badge {
		font-size: 10px;
		padding: 2px 6px;
	}
	.plan-modal__summary {
		padding: 12px;
		margin-bottom: 10px;
	}
	.plan-modal__summary-row {
		font-size: 12px;
		padding: 2px 0;
	}
	.plan-modal__summary-interest {
		display: none;
	}
}
