/**
 * BikerTribe – Grille de prix abonnements (charte app : #111, #FF6B35, Poppins)
 */

.btk-price-table {
	--btk-pt-bg: #111111;
	--btk-pt-surface: #1e1e1e;
	--btk-pt-text: #ffffff;
	--btk-pt-muted: #b0b0b0;
	--btk-pt-accent: #FF6B35;
	--btk-pt-accent-hover: #e85a28;
	--btk-pt-radius: 12px;
	--btk-pt-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	max-width: 1000px;
	margin: 2rem auto;
	font-family: var(--btk-pt-font);
	background: var(--btk-pt-bg);
	color: var(--btk-pt-text);
	border-radius: var(--btk-pt-radius);
	border: 1px solid rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.btk-price-table-inner {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 0;
}

.btk-price-table-header,
.btk-price-table-row {
	display: contents;
}

.btk-price-table-header-cell,
.btk-price-table-cell {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	text-align: center;
	background: var(--btk-pt-surface);
}

.btk-price-table-header-cell:first-child,
.btk-price-table-cell.btk-price-table-feature-label {
	justify-content: flex-start;
	text-align: left;
	background: var(--btk-pt-bg);
}

.btk-price-table-header .btk-price-table-header-cell {
	padding: 1.25rem 1rem;
	font-weight: 700;
	font-size: 1rem;
}

.btk-price-table-plan-title {
	color: var(--btk-pt-text);
}

.btk-price-table-highlight .btk-price-table-plan-title,
.btk-price-table-highlight .btk-price-table-price {
	color: var(--btk-pt-accent);
}

.btk-price-table-feature-label {
	min-width: 0;
}

.btk-price-table-feature-name {
	font-size: 0.95rem;
	color: var(--btk-pt-muted);
}

.btk-price-table-prices .btk-price-table-cell {
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 1.25rem 1rem;
}

.btk-price-table-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--btk-pt-text);
}

.btk-price-table-period {
	font-size: 0.85rem;
	color: var(--btk-pt-muted);
}

.btk-price-table-cta {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.5rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	background: var(--btk-pt-accent);
	color: #fff !important;
	border-radius: var(--btk-pt-radius);
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btk-price-table-cta:hover,
.btk-price-table-cta:focus,
.btk-price-table-cta:active {
	background: var(--btk-pt-accent-hover);
	color: #fff !important;
	transform: translateY(-2px);
}

.btk-price-table-cta-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: var(--btk-pt-text);
}

.btk-price-table-cta-secondary:hover {
	background: rgba(255, 255, 255, 0.18);
	color: var(--btk-pt-text);
}

.btk-price-table-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 1rem;
	font-weight: 700;
}

.btk-price-table-check {
	color: var(--btk-pt-accent);
}

.btk-price-table-cross {
	color: var(--btk-pt-muted);
	opacity: 0.6;
}

.btk-price-table-row:last-child .btk-price-table-cell {
	border-bottom: none;
}

/* Mobile : masquer la grille, afficher les cartes empilées */
.btk-price-table-mobile {
	display: none;
}

@media (max-width: 768px) {
	.btk-price-table-inner {
		display: none;
	}

	.btk-price-table-mobile {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		padding: 1rem;
	}

	.btk-price-table-card {
		background: var(--btk-pt-surface);
		border-radius: var(--btk-pt-radius);
		border: 1px solid rgba(255, 255, 255, 0.06);
		padding: 1.25rem 1.25rem 1.5rem;
	}

	.btk-price-table-card-highlight {
		border-color: rgba(255, 107, 53, 0.4);
		box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.2);
	}

	.btk-price-table-card-title {
		margin: 0 0 0.5rem;
		font-size: 1.1rem;
		font-weight: 700;
		color: var(--btk-pt-text);
	}

	.btk-price-table-card-highlight .btk-price-table-card-title {
		color: var(--btk-pt-accent);
	}

	.btk-price-table-card-price-wrap {
		display: flex;
		align-items: baseline;
		gap: 0.35rem;
		margin-bottom: 1rem;
	}

	.btk-price-table-card .btk-price-table-price {
		font-size: 1.5rem;
	}

	.btk-price-table-card .btk-price-table-period {
		font-size: 0.9rem;
	}

	.btk-price-table-card .btk-price-table-cta {
		display: block;
		text-align: center;
		width: 100%;
		margin-bottom: 1.25rem;
		padding: 0.65rem 1rem;
	}

	.btk-price-table-card-features {
		list-style: none;
		margin: 0;
		padding: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
		padding-top: 1rem;
	}

	.btk-price-table-card-feature {
		display: flex;
		align-items: flex-start;
		gap: 0.6rem;
		padding: 0.4rem 0;
		font-size: 0.9rem;
		color: var(--btk-pt-muted);
	}

	.btk-price-table-card-feature .btk-price-table-icon {
		flex-shrink: 0;
		width: 1.25rem;
		height: 1.25rem;
		font-size: 0.9rem;
	}

	.btk-price-table-card-feature .btk-price-table-feature-name {
		font-size: inherit;
		line-height: 1.4;
	}
}

@media (max-width: 480px) {
	.btk-price-table-mobile {
		padding: 0.85rem;
	}

	.btk-price-table-card {
		padding: 1.1rem 1rem 1.25rem;
	}

	.btk-price-table-card-title {
		font-size: 1rem;
	}

	.btk-price-table-card .btk-price-table-price {
		font-size: 1.35rem;
	}
}
