/* Private Class Bundles — Private Classes page grid + booking modal. */

/* Tokens are declared on both roots: the grid and the modal are siblings, not
   nested (the modal is printed once in the footer), so each needs its own scope. */
.saifi-pb,
.saifi-pb-overlay {
	--pb-navy: #003B5C;
	--pb-navy-dark: #002A42;
	--pb-gold: #F2A900;
	--pb-bg: #F4F3EF;
	--pb-text: #1A1A18;
	--pb-muted: #5C5C58;
	--pb-line: rgba(0, 59, 92, .12);
}

.saifi-pb {
	font-family: 'Outfit', system-ui, sans-serif;
	color: var(--pb-text);
	padding: 40px 16px;
}

.saifi-pb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	max-width: 1180px;
	margin: 0 auto;
	align-items: stretch;
}

.saifi-pb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pb-line);
	border-radius: 14px;
	padding: 30px 26px 26px;
	box-shadow: 0 10px 30px rgba(0, 59, 92, .06);
	transition: transform .18s ease, box-shadow .18s ease;
}

.saifi-pb-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 44px rgba(0, 59, 92, .12);
}

.saifi-pb-card.is-featured {
	border-color: var(--pb-gold);
	box-shadow: 0 18px 44px rgba(242, 169, 0, .18);
}

.saifi-pb-badge {
	position: absolute;
	top: -12px;
	left: 26px;
	background: var(--pb-gold);
	color: var(--pb-navy-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}

.saifi-pb-name {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.2;
	color: var(--pb-navy);
	font-weight: 700;
}

.saifi-pb-subtitle {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pb-muted);
}

.saifi-pb-price {
	display: flex;
	align-items: baseline;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--pb-line);
	margin-bottom: 16px;
}

.saifi-pb-amount {
	font-size: 34px;
	font-weight: 700;
	color: var(--pb-navy);
	line-height: 1;
}

.saifi-pb-summary {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pb-navy);
	letter-spacing: .01em;
}

.saifi-pb-features {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.saifi-pb-features li {
	position: relative;
	padding: 0 0 0 24px;
	margin: 0 0 9px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pb-text);
}

.saifi-pb-features li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 7px;
	width: 6px;
	height: 10px;
	border: solid var(--pb-gold);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.saifi-pb-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--pb-muted);
	margin-bottom: 18px;
}

.saifi-pb-desc p:last-child { margin-bottom: 0; }

.saifi-pb-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--pb-navy);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .16s ease;
}

.saifi-pb-btn:hover { background: var(--pb-navy-dark); }
.saifi-pb-btn[disabled] { opacity: .6; cursor: default; }

.saifi-pb-card.is-featured .saifi-pb-btn { background: var(--pb-gold); color: var(--pb-navy-dark); }
.saifi-pb-card.is-featured .saifi-pb-btn:hover { background: #d99700; }

.saifi-pb-note {
	max-width: 1180px;
	margin: 26px auto 0;
	text-align: center;
	font-size: 14px;
	color: var(--pb-muted);
}

.saifi-pb-empty {
	max-width: 700px;
	margin: 30px auto;
	padding: 16px 20px;
	border: 1px solid rgba(242, 169, 0, .45);
	border-radius: 10px;
	background: #FEF6E0;
	font-size: 14px;
	color: #5C5C58;
}

/* ── Booking modal ─────────────────────────────────────────────────────── */

.saifi-pb-overlay {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 32, 51, .62);
	font-family: 'Outfit', system-ui, sans-serif;
}

.saifi-pb-overlay.is-open { display: flex; }

.saifi-pb-modal {
	position: relative;
	width: min(460px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 14px;
	padding: 30px 28px 26px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.saifi-pb-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #8A8A85;
	cursor: pointer;
}

.saifi-pb-modal-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #A36B00;
	margin-bottom: 8px;
}

.saifi-pb-modal-title {
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 1.2;
	color: #003B5C;
}

.saifi-pb-modal-summary {
	margin: 0 0 18px;
	font-size: 14px;
	color: #5C5C58;
}

.saifi-pb-modal-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-top: 1px solid rgba(0, 59, 92, .12);
	border-bottom: 1px solid rgba(0, 59, 92, .12);
	margin-bottom: 18px;
	font-size: 15px;
	color: #5C5C58;
}

.saifi-pb-modal-row strong { font-size: 20px; color: #003B5C; }

.saifi-pb-modal-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #003B5C;
	margin-bottom: 6px;
}

.saifi-pb-modal textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0, 59, 92, .2);
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	color: #1A1A18;
	resize: vertical;
	margin-bottom: 16px;
}

.saifi-pb-modal-error {
	padding: 10px 14px;
	border-radius: 8px;
	background: #FDF0F0;
	color: #C0392B;
	font-size: 14px;
	margin-bottom: 14px;
}

/* margin-top:auto is for the card layout; the modal is not a flex column. */
.saifi-pb-overlay .saifi-pb-btn-pay {
	margin-top: 0;
	background: var(--pb-navy);
	color: #fff;
}

.saifi-pb-overlay .saifi-pb-btn-pay:hover { background: var(--pb-navy-dark); }

.saifi-pb-modal-fine {
	margin: 12px 0 0;
	text-align: center;
	font-size: 12px;
	color: #8A8A85;
}

@media (max-width: 640px) {
	.saifi-pb { padding: 28px 12px; }
	.saifi-pb-card { padding: 26px 20px 22px; }
	.saifi-pb-amount { font-size: 30px; }
}
