.cars-list{
	margin-bottom: calc(var(--offset) * -1);
}
.cars-list__item-gallery{
	display: block;
	position: relative;
	border-radius: calc(var(--gx) * 3);
	overflow: hidden;
}
.cars-list__item-info{
	margin-top: var(--offset);
}
.cars-list__item-info-inner{
	position: relative;
}
.cars-list__item-heading{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: calc(var(--gx) * 4);
}
.cars-list__item-heading h3{
	width: calc(100% - 55px);
	margin-bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cars-list__item-year{
	width: 50px;
	text-align: right;
	margin-bottom: 0;
}
.cars-list__item-pricing{
	font-weight: 600;
	display: flex;
	gap: calc(var(--gx) * 4);
	letter-spacing: -0.48px;
	white-space: nowrap;
}
.cars-list__item-price{
	color: var(--red);
}
.cars-list__item-monthly{
	color: var(--gray);
}
.cars-list__item-details{
	letter-spacing: -0.48px;
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--gx) * 3);
	margin: var(--offset) 0;
}
.cars-list__item-details-item{
	width: calc(50% - calc(calc(var(--gx)*3)/2));
	display: flex;
	gap: calc(var(--gx) * 2);
}
.cars-list__item-image{
	width: 100%;
	aspect-ratio: 4/3;
	height: var(--height, 255px);
	z-index: 1;
	object-fit: cover;
}
.cars-list__item-actions{
	--icon_btn_size: 50px;
	display: flex;
	gap: var(--offset);
}
.cars-list__item-actions .rating{
	--size: var(--icon_btn_size);
}
.btn.cars-list__item-heart,
.btn.cars-list__item-phone{
	padding: 0;
	width: var(--icon_btn_size);
	height: var(--icon_btn_size);
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn.cars-list__item-heart{
	fill: transparent;
}
.btn.cars-list__item-heart.active{
	fill: var(--red);
	color: var(--red);
}
.cars-list__item-phone svg{
	transform: rotate(270deg);
}
.cars-list__item-buy{
	justify-content: center;
	width: calc(100% - calc(calc(var(--offset) * 2) + calc(var(--icon_btn_size) * 2)));
	height: var(--icon_btn_size);
	padding-top: 0;
	padding-bottom: 0;
}
.cars-list__item-actions .rating-wrap{
	height: var(--icon_btn_size);
}
.modal .cars-list__item{
	height: auto;
}
.modal__credit .cars-list__item-actions{
	display: none;
}
.cars-list__item-details-item{
	color: #000;
}
.cars-list__item-details-item span{
	color: var(--gray);
}
@media (min-width: 992px){
	.tmb-wrap {
		position: absolute;
		z-index: 2;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
	}
	.tmb-wrap .tmb-wrap-table {
		display: table;
		height: 100%;
		width: 100%;
	}
	.tmb-wrap-table div {
		background: none !important;
		display: table-cell;
		border-bottom: 5px solid transparent;
		padding-top: 10px;
		transition: all .25s ease;
	}
	.tmb-wrap-table div.active {
		border-color: var(--red);
	}
}
@media (min-width: 992px) and (max-width: 1259px){
	.cars-list__item-actions{
		--icon_btn_size: 40px;
	}
	.cars-list__item-heading .h3{
		font-size: 16px;
	}
	.cars-list__item-price,
	.cars-list__item-monthly{
		font-size: 15px;
		line-height: 20px;
	}
	.cars-list__item-details{
		font-size: 14px;
		line-height: 20px;
	}
	.cars-list__item-actions .rating{
		font-size: 14px;
		font-weight: 500;
	}
}
@media (min-width: 480px) and (max-width: 991px){
	.cars-list__item-details-item{
		width: calc(33.33333% - calc(var(--gx)*2));
	}
}
@media (max-width: 991px){
	.tmb-wrap{
		overflow-x: scroll;
	}
	.tmb-wrap-table{
		display: flex;
		gap: var(--offset);
		flex-wrap: wrap;
		width: calc(var(--i_count) * var(--width) + calc(var(--i_count) * var(--offset)) - var(--offset));
	}
	.tmb-wrap-table > div{
		width: var(--width);
		aspect-ratio: 4/3;
		border-radius: calc(var(--gx) * 3);
		background-size: cover;
		background-position: center;
	}
	.modal__credit .cars-list__item-info{
		margin-top: calc(var(--gx)*2);
	}
	.modal__credit .tmb-wrap-table > div{
		background-size: contain;
	}
	.modal__credit .cars-list__item-heading{
		margin-bottom: 0;
	}
	.modal__credit .cars-list__item-pricing{
		font-size: 14px;
		font-weight: 500;
		margin: calc(var(--gx) * 2) 0;
	}
	.modal__credit .cars-list__item-details{
		font-size: 13px;
		gap: var(--gx);
		margin: 0;
	}
	.modal__credit .cars-list__item-details-item > svg{
		width: 12px;
		height: 12px;
	}
	.modal__credit .cars-list__item-details-item > span{
		line-height: 1;
	}
	.modal__credit .cars-list__item-year{
		font-size: 14px;
		font-weight: 500;
		line-height: 1;
	}
	.cars-list__item-buy{
		max-width: 400px
	}
	.cars-list__item-info{
		margin-top: calc(var(--gx) * 4);
	}
	.cars-list__item-details{
		margin: calc(var(--gx) * 4) 0;
	}

}
@media (max-width: 479px){
	.tmb-wrap-table{
		--width: 220px;
	}
}