.card-row {
    position: relative;
    border-bottom: 1px solid #D8D8D8;
    width: 50%;
	padding: 0 12px;
	padding-bottom: 15px;
    margin-bottom: 15px;
	min-width: 360px;
    float: left;
}

.card-row .labels_block{
	position: absolute;
    right: 12px;
    text-align: right;
    width: 120px;
	z-index: 2;
}
.card-row .card-tooltip {
	background-color: #CE2A31;
    height: 26px;
    width: 26px;
    line-height: 26px;
    right: auto;
    top: auto;
    position: relative;
    display: inline-block;
    color: white;
    text-align: center;
    margin-bottom: 5px;
	padding-top: 3px;
	cursor: pointer;
}
.card-tooltip img{
    max-width: 16px;
    max-height: 16px;
}

.card-row .card-tooltip__drop {
    width: 270px;
    position: absolute;
	top: 100%;
    right: 0;
	color: #1B2229;
    padding-top: 15px;
    padding-left: 0;
	
	display: none;
}
.card-tooltip:hover .card-tooltip__drop {
    display: block;
}
.card-row .tooltip-body {
    padding: 15px 20px;
    position: relative;
    background-color: #fff;
    border: 1px solid #d1d1d1;
}
.card-row .tooltip-title {
    font-weight: 600;
	margin-bottom: 5px;
}
.card-row .tooltip-text {
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
}


.card-row-left, 
.card-row__body {
    width: 100%;
    flex-basis: auto;
}
.card-carousel--row {
    width: 100%;
	position: relative;
}

.card-row__body {
    padding-top: 15px;
    padding-bottom: 15px;
	text-align: center;
}

.card-row__body-title {
    font-size: 18px;
    color: #1b2229;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-display);
}
.card-row__body-description {
    font-size: 16px;
    font-weight: 300;
}



.card_buy{
	text-align: center;
	width: 100%;
}
.card_buy .old_price{
	font-family: var(--font-display);
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    text-decoration-line: line-through;
    text-decoration: line-through;
	margin-bottom: 3px;
}

.card__bottom-price {
    color: #1b2229;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 17px;
    font-family: var(--font-display);
}
.card_buy .card__bottom-btn {
    height: 39px;
    width: 146px;
	color: #fff;
}

@media (max-width: 720px) {
	.card-row{
		width: 100%;
	}
}
@media (min-width: 768px) {
	.card-row{
		width: 100%;
	}
	.card-row:first-child{
		border-top: 1px solid #D8D8D8;
		padding-top: 15px;
	}		
	.col-auto {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
	.card-carousel--row {
		width: 264px;
	}
	.carousel-item{
		padding: 0 30px;
	}
	.col {
		flex-basis: 0;
		flex-grow: 1;
		max-width: 100%;
		padding: 0 15px;
	}
	.card_buy{
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
}

/* #PRO-54: раздел "Тест-драйв бесплатно" */

/* Вводный текст под заголовком раздела. */
.test-drive-intro {
	max-width: 860px;
	margin: -10px 0 30px;
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
	color: #1b2229;
}

/*
 * Вторая кнопка в мини-карточке. Основное действие остаётся у "Купить",
 * поэтому "Тест-драйв" - контурная: одинаково заметные красные кнопки рядом
 * спорили бы друг с другом.
 *
 * Селектор длиннее, чем кажется нужным, из-за цвета текста: в
 * template_styles.css есть ".content-container a.btn { color: #fff }", и он
 * подключается после стилей компонента - более коротким селектором кнопку не
 * перекрасить, на прозрачном фоне надпись оставалась белой и не читалась.
 */
.content-container .card_buy a.card__bottom-btn--test-drive {
	display: block;
	margin: 8px auto 0;
	color: #ce2a31;
	background-color: transparent;
	border: 1px solid #ce2a31;
	line-height: 37px;
	padding: 0;
	text-decoration: none;
}
/*
 * :focus-visible, а не :focus: после закрытия модалки Bootstrap возвращает
 * фокус на кнопку, и с обычным :focus она оставалась залитой - выглядела как
 * вторая "Купить" и ломала разницу между основным и второстепенным действием.
 * Клавиатурная навигация подсветку сохраняет.
 */
.content-container .card_buy a.card__bottom-btn--test-drive:hover,
.content-container .card_buy a.card__bottom-btn--test-drive:focus-visible {
	color: #fff;
	background-color: #ce2a31;
	border-color: #ce2a31;
}

@media (max-width: 767px) {
	.test-drive-intro {
		font-size: 16px;
		line-height: 23px;
		margin-bottom: 20px;
	}
}
