/**** cars ***/

.cars-page h1 {
    text-align: left;
    text-transform: uppercase;
}

#cars {
    margin-bottom: 40px;
}

.cars {
    display: grid;
    grid-template: repeat(auto-fit, minmax(0,1fr)) / 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 40px;  
}

.car {
    box-sizing: border-box;
  	position: relative;
    text-align: center;
    background-color: #ddd;  
    /* border: 1px solid #ddd; */
    color: black;
}

.car .car-bottom {

}

.cars .photo {
    width: 100%;
    /* min-height: 200px;
    background: grey;  */
    margin-bottom: 20px;
}

.cars .photo img {
    margin: 0;
	aspect-ratio: 4/ 3;
    object-fit: cover;
    width: 100%;       
}

.car .btn {
    /* margin: auto; */
    margin-top: 20px;
    max-width: 100%;
    width: 100%;    
    border-radius: unset;
}

.cars i {
    font-style: normal;
}

/*
.car.transit:before {
    content: "РІ РїСѓС‚Рё";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    padding: 5px 10px;
    background: #ddd;
    
}
*/

.cars .title, .cars .subtitle {
	text-align: left;
	padding-left: 20px;
	padding-right: 20px;
    color: black;
}

.cars .title {
    margin-bottom: 20px;
}

.cars .title .cols {
	align-items: center;
}

.cars .vin {
	font-weight: normal;
	font-size: smaller;
}

.cars .subtitle {
    /* margin-bottom: 8px; */
}

.cars .subtitle i {
	display: block;
	padding-left: 12px;
	padding-bottom: 12px;
	background-image: url(/img/red-bullet.png);
	background-position: top left;
	background-repeat: no-repeat;
}

.cars .price {
    /* display: block; */
    color: black;
    height: 24px;
    line-height: 24px;
    
    display: none;
}

.cars .strong_price {
    height: 48px;
    line-height: 48px;
}

.cars .old_price, .page .discount_1 .price {
    font-weight: normal;
    color: #555;
    text-decoration: line-through;
    margin-bottom: 0;
}

.cars .new_price, .page .discount_1 .new_price {
    font-weight: bold;
    color: red;
}

.page .discount_ .new_price {
    display: none;
}

.page .discount_ .discounts {
    display: none;	
}

.page .discount_1 .discounts {
    margin-bottom: 25px;	
}

.car-page .params {
	margin-bottom: 25px;
}


@media screen and (min-width: 700px) and (max-width: 1199px) {
    .cars {
          grid-template: repeat(auto-fit, minmax(0,1fr)) / 1fr 1fr 1fr;
          gap: 20px; 
    }  	
}


@media screen and (min-width: 700px) and (max-width: 959px) {
   
    .cars {
          grid-template: repeat(auto-fit, minmax(0,1fr)) / 1fr 1fr;
    }
    

     /* 
    .car div { 
         font-size: 16px;
    }   
    */
}


@media screen and (min-width: 480px) and (max-width: 699px) {
    .cars {
        grid-template: repeat(auto-fit, minmax(0,1fr)) / 1fr 1fr;
        gap: 10px;
    }
    
    .car .cols {
        display: block;
    }

    .cars .title, .cars .subtitle {
		padding-left: 10px;
		padding-right: 10px;
	}
    
    /*
    .car div { 
        font-size: 16px;
    }
    */
    /*
    .car .btn { 
        width: 85%;
    }	
    */
}

@media screen and (max-width: 479px) {
	
	.cars {
		grid-template: repeat(auto-fit, minmax(0,1fr)) / 1fr;
		gap: 20px;
	}	
	
}

/***** cars end *******/