*{box-sizing:border-box}
html{background:#f5f7fa}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#152238;background:#f5f7fa;font-size:14px}
.site{width:min(1500px,100%);margin:0 auto;background:#fff;box-shadow:0 0 28px #10243a12;overflow:hidden}
.topbar{height:88px;display:flex;align-items:center;gap:34px;padding:12px 34px;border-bottom:2px solid #e7edf4;background:#fff}
.brand img{width:220px;height:auto;display:block}
.main-nav{display:flex;gap:34px;align-items:center;font-weight:700;white-space:nowrap;font-size:16px;}
.main-nav a{color:#14213a;text-decoration:none}
.login{margin-left:auto;min-width:300px}
.login-fields{display:flex;gap:8px}
.login input:not([type=checkbox]){width:145px;padding:9px 10px;border:1px solid #dbe3ed;border-radius:8px}
.login small{font-size:11px;color:#26354b;font-family: verdana;}
.login a{color:#152238;font-weight:700;font-size: 11px; text-decoration:none;}
.btn{border:0;border-radius:9px;padding:12px 20px;font-weight:700;color:#fff;cursor:pointer;box-shadow:0 3px 8px #0002}
.btn a {text-decoration:none;}
.btn a:hover {text-decoration:none;}

.btn.red.add:hover { color: #fffff0;}

.red{background:linear-gradient(#ff3026,#d90000)}
.green{background:linear-gradient(#70d900,#31a900)}
.add{white-space:nowrap; text-decoration:none; }
.categories{padding:12px 28px 18px;background:#f8fafc}
.categories h3{font-size:21px;margin:0 0 9px}
.categories h3 i,.redline{display:inline-block;width:5px;height:20px;background:#e21b16;margin-right:7px;vertical-align:middle}
.category-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:7px}
.category-grid a{height:116px;position:relative;border-radius:9px;overflow:hidden;box-shadow:0 2px 7px #1422382b}
.category-grid img{width:100%;height:100%;object-fit:cover}
.category-grid b{position:absolute;bottom:0;left:0;right:0;padding:8px 3px;text-align:center;color:white;font-size:13px;text-shadow:0 1px 3px #000;background:linear-gradient(transparent,#000c)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;padding:12px 24px 28px}
.content{min-width:0}
.panel,.search-panel,.car-card,.news-strip article,.fresh-grid article,.article-grid article,.side-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 3px 12px #1b35500c}
.search-panel{padding:14px 16px;margin-bottom:16px;background:#f8fafc}
.search-panel h2,.section h2{font-size:21px;margin:0 0 10px;color:#12213a}
.tabs{display:flex;gap:24px;border-bottom:1px solid #dce4ee;margin-bottom:12px;font-weight:700}
.tabs>*{padding:9px 12px}
.tabs b{background:#e51d18;color:#fff;border-radius:7px 7px 0 0}
.filters{display:grid;grid-template-columns:repeat(7,minmax(80px,1fr)) 78px 150px;gap:8px;align-items:center}
.filters select{min-width:0;padding:10px 8px;border:1px solid #d6deea;border-radius:7px;background:white;color:#27354a}
.filters .btn{padding:12px 8px}

.filters input:not([type=checkbox]) {
    width: 145px;
    padding: 9px 10px;
    border: 1px solid #dbe3ed;
    border-radius: 8px;
}

label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.car-card a > img { height: 112px; object-fit: cover; width: 200px;}
.photos,.checks{font-size:12px;font-weight:600;white-space:nowrap}
.checks{display:flex;gap:24px;margin-top:8px}
.section{margin:16px 0 18px}
.section-head{display:flex;justify-content:space-between;align-items:center}
.section-head a{font-size:12px;color:#0870ce;font-weight:700}
.car-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.car-card{overflow:hidden}
.car-card>img{width:100%;height:112px;object-fit:cover;display:block}
.card-body{padding:8px 9px;display:flex;flex-direction:column;gap:4px}
.card-body b{font-size:13px}
.card-body small{font-size:11px;color:#5c6878}
.card-body strong,.fresh-grid strong{color:#198b20;font-size:17px}
.brands{padding:13px}
.brand-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:6px}
.brand-grid span,.popular-row span{height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e2e8f0;border-radius:8px;background:#fff;font-weight:700;color:#25354a;font-size:12px}
.brand-grid .byd{color:#e31d22;font-size:18px}
.news-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.news-strip article{display:flex;overflow:hidden;min-height:92px}
.news-strip img{width:36%;object-fit:cover}
.news-strip article div{padding:10px;display:flex;flex-direction:column;justify-content:space-between}
.news-strip b{font-size:13px}
.news-strip small{color:#697789}
.popular{padding:13px}
.popular-row{display:grid;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));gap:7px}
.popular-row span{height:92px;font-size:11px}
.fresh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.fresh-grid article{padding:7px;display:flex;flex-direction:column;gap:4px}
.fresh-grid img{width:100%;height:116px;object-fit:cover;border-radius:7px}
.fresh-grid b{font-size:13px}
.fresh-grid strong{font-size:15px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.article-grid article{overflow:hidden;padding-bottom:10px;display:flex;flex-direction:column;gap:5px}
.article-grid img{width:100%;height:140px;object-fit:cover}
.article-grid b,.article-grid small{padding:0 10px}
.article-grid b{font-size:16px}
.article-grid small{font-size:11px;color:#64748b}
.service{display:grid;grid-template-columns:30% 1fr 25%;gap:18px;align-items:center;padding:14px;background:#f5f8fc;margin-top:22px}
.service>img{width:100%;height:125px;object-fit:cover;border-radius:8px}
.service h2{font-size:19px;margin:0 0 7px}
.service p{margin:0 0 10px;color:#46566b}
.service ul{padding-left:20px;line-height:2;font-weight:700}
.service li::marker{color:#26ad28}
.sidebar{}
.vin-card{height:300px;position:relative;border-radius:12px;overflow:hidden;background:#07172a;margin-bottom:16px}
.vin-card>img{width:100%;height:100%;object-fit:cover;opacity:.8}
.vin-overlay{position:absolute;inset:0;padding:18px;color:white;background:linear-gradient(90deg,#07172acc,#07172a22)}
.vin-overlay h3{font-size:21px;margin:0 0 7px}
.vin-overlay p{font-size:14px;line-height:1.35;max-width:190px}
.vin-overlay input{position:absolute;bottom:54px;left:16px;width:calc(100% - 32px);padding:10px;border:0;border-radius:6px}
.vin-overlay button{position:absolute;bottom:12px;left:16px;width:calc(100% - 32px)}
.side-box{padding:15px;margin-bottom:15px}
.side-box h3{font-size:16px;margin:0 0 12px}
.side-box h3:not(:first-child){margin-top:20px}
.side-box a{display:block;color:#0864bd;text-decoration:none;margin:10px 0;font-size:13px;font-weight:600;line-height: 16px;}
footer{margin:0 24px;background:#f2f5fa;border-radius:14px 14px 0 0}
.footer-main{display:grid;grid-template-columns:1.2fr 1fr 1.3fr 1fr 1.4fr;gap:26px;padding:28px 24px}
.footer-brand img{width:180px}
.footer-brand p{margin:0 0 14px}
.footer-brand b{font-size:20px}
.footer-main h3{font-size:15px;margin:0 0 12px}
.footer-main a{display:block;margin:7px 0;font-size:13px;color:#27354a}
.subscribe input{width:100%;padding:12px;border:1px solid #d9e1eb;border-radius:7px;margin-bottom:8px}
.subscribe button{width:100%}
.copyright{display:flex;justify-content:space-between;padding:15px 20px;border-top:1px solid #dce3ed;font-size:12px;font-weight:700}
.wave{height:95px;background:radial-gradient(ellipse at 48% 110%,#f20c0c 0 30%,transparent 31%),linear-gradient(170deg,transparent 0 25%,#ff3b0b 26% 35%,#ff7b00 36% 41%,#e00000 42% 65%,#0a0a0a 66% 100%);clip-path:polygon(0 54%,20% 28%,42% 18%,65% 35%,83% 26%,100% 0,100% 100%,0 100%)}

@media(max-width:1100px){
.topbar{gap:15px;padding:12px}
.brand img{width:165px}
.main-nav{gap:14px}
.login{min-width:220px}
.login input:not([type=checkbox]){width:105px}
.layout{grid-template-columns:minmax(0,1fr) 230px;padding:12px}
.car-grid{grid-template-columns:repeat(3,1fr)}
.filters{grid-template-columns:repeat(4,1fr)}
.category-grid{grid-template-columns:repeat(5,1fr)}
.brand-grid{grid-template-columns:repeat(6,1fr)}
.popular-row{grid-template-columns:repeat(5,1fr)}}@media(max-width:760px){.topbar{height:auto;flex-wrap:wrap}
.main-nav{order:3;width:100%;justify-content:space-around}
.login{margin-left:0}
.add{margin-left:auto;margin-right: auto;}
.layout{display:block}
.sidebar{padding-top:0}
.vin-card{height:220px}
.category-grid{grid-template-columns:repeat(3,1fr)}
.category-grid a{height:100px}
.car-grid{grid-template-columns:repeat(2,1fr)}
.news-strip{grid-template-columns:1fr}
.fresh-grid{grid-template-columns:repeat(2,1fr)}
.article-grid{grid-template-columns:repeat(1,1fr)}
.service{grid-template-columns:1fr}
.footer-main{grid-template-columns:repeat(2,1fr)}
.copyright{display:block;line-height:1.8}
.filters{grid-template-columns:repeat(2,1fr)}
.filters .btn{grid-column:span 2}
.checks{flex-wrap:wrap}
.popular-row{grid-template-columns:repeat(3,1fr)}
}