/* Encadré « Où l'acheter ? » en fin de test (3bikes-ou-acheter.php). Tailles en px : le thème fixe la racine à
   10 px (même règle que .to-cat et .tb-fb-follow). Couleurs reprises du bloc « Voir tous nos articles » (texte
   #17181a, gris #5c5f64, filet #dcdcd8) ; seul le fond #f6f7f8 est nouveau. Même rendu dans l'app (src/index.css). */
.tb-buy-box {
	margin: 28px 0 8px;
	padding: 18px 20px;
	background: #f6f7f8;
	border: 1px solid #dcdcd8;
	border-radius: 8px;
	color: #17181a;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.entry-content .tb-buy-box .tb-buy-box__title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #17181a;
}

.tb-buy-box__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.tb-buy-box__item + .tb-buy-box__item {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #dcdcd8;
}

.tb-buy-box__visual {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #dcdcd8;
	border-radius: 6px;
	color: #5c5f64;
	overflow: hidden;
}

.entry-content .tb-buy-box img.tb-buy-box__img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	box-shadow: none;
}

.tb-buy-box__info {
	flex: 1 1 200px;
	min-width: 0;
}

.entry-content .tb-buy-box .tb-buy-box__name {
	margin: 0 0 4px;
	padding: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 600;
	color: #17181a;
}

.entry-content .tb-buy-box .tb-buy-box__shop {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #5c5f64;
}

.tb-buy-box__btns {
	flex: 0 1 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.entry-content .tb-buy-box a.tb-buy-box__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	background: #17181a;
	border: 1px solid #17181a;
	border-radius: 6px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.entry-content .tb-buy-box a.tb-buy-box__btn--alt {
	background: #fff;
	color: #17181a;
}

.entry-content .tb-buy-box a.tb-buy-box__btn:hover,
.entry-content .tb-buy-box a.tb-buy-box__btn:focus-visible {
	background: #2f3136;
	color: #fff;
	text-decoration: none;
}

.entry-content .tb-buy-box a.tb-buy-box__btn:focus-visible {
	outline: 2px solid #007cbd;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.tb-buy-box {
		padding: 16px;
	}

	.tb-buy-box__visual {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}

	.tb-buy-box__btns,
	.entry-content .tb-buy-box a.tb-buy-box__btn {
		flex: 1 1 100%;
	}
}
