*{
box-sizing:border-box;
font-family:iranyekan;
}

body{
margin:0;
background:#ffffff !important;
}

/* banner */

.banner img{
width:100%;
display:block;
}

/* section */

.cars{
padding:80px 120px;
max-width:80%;
margin:0 auto;
}

/* grid */

.cars-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}


/* card */

.car-card{

background:#ffffff;
border-radius:30px;
padding:40px 30px;
box-shadow:0 20px 50px rgba(0,0,0,0.08);
text-align:center;
transition:.35s;

}

.car-card:hover{
transform:translateY(-10px);
}


/* image */

.car-img{

width:100%;
height:250px;
object-fit:contain;
margin:0 auto 2px;

}


/* header */

.car-header{

display:flex;
align-items:center;
justify-content:center;
gap:55px;
margin-bottom:10px;

}

.brand-logo{
width:110px;
}

/* title */
.title-box{
display:flex;
flex-direction:column;
}






.title-box h3{

margin:0;
order:3;
font-size:14px;
font-weight:700;
color:#222;

}

.title-box p{

margin-top:6px;
font-size:12px;
color:#777;
border-bottom:2px solid #c61d22;
display:inline-block;
padding-bottom:4px;
order:1;
}


/* specs */

.car-specs{

display:grid;
grid-template-columns:1fr 1fr;
gap:22px;
margin-top:30px;
font-size: 12px;
order:1;
margin-bottom:35px;

}

.spec{

display:flex;
align-items:center;
justify-content:center;
gap:10px;
color:#777;
font-size:14px;

}

.spec img{
width:22px;
}


/* buttons */

.car-actions{

display:flex;
gap:15px;
justify-content:center;

}

.btn{

flex:1;
max-width:160px;
padding:12px;
border-radius:30px;
border:none;
font-size:14px;
cursor:pointer;
transition:.3s;

}

/* red button */

.red{

background:#e11c24;
color:white;

}

.red:hover{
background:#c5141b;
}

/* dark button */

.dark{

background:#333;
color:white;

}

.dark:hover{
background:#222;
}



/* responsive */

@media(max-width:1100px){

.cars-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:700px){
	body{
margin:0;
background:#ffffff !important;
}

/* section */

.cars{
width:100%;
max-width:100%;
padding:40px 15px;
}

/* grid */

.cars-grid{
grid-template-columns:1fr;
gap:20px;
}

/* card */

.car-card{
padding:30px 20px;
border-radius:20px;
}

/* image */

.car-img{
height:180px;
width:100%;
object-fit:contain;
}

/* header */

.car-header{
gap:20px;
flex-direction:row;
}

.brand-logo{
width:80px;
}

/* title */

.title-box h3{
font-size:13px;
}

.title-box p{
font-size:11px;
}

/* specs */

.car-specs{
grid-template-columns:1fr 1fr;
gap:15px;
margin-top:20px;
margin-bottom:25px;
}

.spec{
font-size:12px;
gap:6px;
}

.spec img{
width:18px;
}

/* buttons */

.car-actions{
flex-direction:column;
gap:10px;
}

.btn{
max-width:100%;
font-size:13px;
padding:11px;
}

}

