/* v5.8.0 conditional CSS: single listing + submit shell (v3.1) */
/* v3.1.0 — single listing conversion, gallery lightbox and submit flow */
.single-car-v31{padding-top:30px}
.single-car-v31>.container{display:grid;gap:22px}
.single-car-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 28px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.single-car-heading{min-width:0}.single-car-heading h1{margin:6px 0 14px;font-size:clamp(32px,4.2vw,54px);line-height:1.04;letter-spacing:-.045em}
.single-head-meta{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;color:var(--muted);font-size:13px;font-weight:750}.single-head-meta span{display:inline-flex;align-items:center;gap:5px}.single-location{color:#334155!important}
.single-key-facts{display:flex;gap:8px;flex-wrap:wrap}.single-key-facts span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:13px;font-weight:800}.single-key-facts b{margin-right:4px;color:#0f172a}
.single-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}.single-head-actions .favorite-btn,.single-head-actions .compare-btn{min-height:42px}
.single-car-v31 .single-car-layout{grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}
.single-gallery-v31{padding:14px}.single-gallery-v31 .main-photo{position:relative;display:grid;place-items:center;min-height:420px;background:#eef2f7;border-radius:20px;overflow:hidden}.single-gallery-v31 .main-photo.is-zoomable{cursor:zoom-in}.single-gallery-v31 .main-photo img{width:100%;height:auto;max-height:690px;object-fit:contain;background:#eef2f7}.photo-count{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;font-size:12px;font-weight:800;backdrop-filter:blur(8px)}
.single-gallery-v31 .thumbs{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:10px}.single-gallery-v31 .thumb-button{border-radius:11px}.single-gallery-v31 .thumb-button img{aspect-ratio:4/3;border-radius:9px}
.seller-card-v31{top:104px;padding:22px}.seller-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.seller-card-v31 .single-price{font-size:36px;margin:0}.seller-card-v31 .single-sold{margin:0;font-size:12px}
.seller-mini-v31{margin:14px 0 16px}.seller-trust-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px}.seller-trust-line b{margin:0}.seller-trust-line em{font-style:normal;color:#64748b;font-size:12px;font-weight:750}
.seller-actions-v31{gap:9px}.seller-actions-v31 .btn{min-height:48px}.contact-unavailable{margin:14px 0;padding:12px 13px;border-radius:14px;background:#f8fafc;border:1px solid var(--line);color:#64748b;font-size:13px;line-height:1.45}
.safe-deal-v31{margin-top:18px}.single-content-v31{grid-column:1/2;padding:0;background:transparent;border:0;box-shadow:none}.single-info-section{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;margin-bottom:18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.single-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.single-section-head h2,.single-content-v31>section>h2{font-size:28px;margin:0;letter-spacing:-.03em}.single-section-head span{color:#94a3b8;font-size:12px;font-weight:800;text-align:right}.spec-grid-v31{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.spec-grid-v31 div{padding:13px 14px;border-radius:14px;box-shadow:none}.spec-grid-v31 span{font-size:12px;margin-bottom:4px}.spec-grid-v31 strong{font-size:15px}.secondary-specs div{background:#fbfdff}.description-section .content-text{font-size:16px;line-height:1.75}.report-wrap{margin:0 0 18px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:#fff}.single-content-v31 .related-cars-block{margin-top:32px}.single-content-v31 .related-cars-block>h2{font-size:30px;margin-bottom:16px}
.car-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(2,6,23,.94);padding:44px 72px;color:#fff}.car-lightbox.is-open{display:flex}.lightbox-stage{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0}.lightbox-stage img{max-width:100%;max-height:calc(100vh - 90px);object-fit:contain}.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;display:grid;place-items:center;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;backdrop-filter:blur(10px)}.lightbox-close{right:18px;top:18px;width:44px;height:44px;border-radius:50%;font-size:30px;line-height:1}.lightbox-prev,.lightbox-next{top:50%;transform:translateY(-50%);width:48px;height:72px;border-radius:16px;font-size:42px}.lightbox-prev{left:16px}.lightbox-next{right:16px}.lightbox-counter{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:13px;font-weight:800}.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:rgba(255,255,255,.2)}body.lightbox-open{overflow:hidden}
.mobile-contact-bar{display:none}

.submit-page-title p{max-width:820px}.submit-car-section{padding-top:32px}.submit-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.submit-steps>div{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.045)}.submit-steps b{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-size:15px}.submit-steps span{display:grid;gap:2px;color:#64748b;font-size:12px;line-height:1.35}.submit-steps strong{color:#0f172a;font-size:14px}
.submit-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.submit-main{min-width:0}.submit-form-shell{background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:var(--shadow)}.submit-form-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.submit-form-heading h2{margin:3px 0 0;font-size:28px;letter-spacing:-.035em}.submit-kicker{color:#2563eb;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.submit-note{color:#94a3b8;font-size:12px;font-weight:750;text-align:right}.submit-form-shell .ad-form{padding:0;border:0;box-shadow:none;border-radius:0}.submit-form-shell .ad-form .form-grid{gap:14px}.submit-form-shell .ad-form label span{font-size:12px}.submit-form-shell .ad-form input,.submit-form-shell .ad-form select,.submit-form-shell .ad-form textarea{background:#fbfdff;border-color:#dbe3ec}.submit-form-shell .ad-form textarea{min-height:170px}.submit-form-shell .ad-form .btn{min-height:50px}.submit-aside{position:sticky;top:104px;display:grid;gap:14px}.submit-tip-card,.submit-safety-note{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px;box-shadow:0 10px 26px rgba(15,23,42,.05)}.submit-tip-card h3,.submit-safety-note strong{display:block;margin:0 0 10px;font-size:18px}.submit-tip-card ul{margin:0;padding-left:19px;color:#475569;line-height:1.55}.submit-tip-card li+li{margin-top:7px}.submit-tip-card p{margin:0;color:#475569;line-height:1.6}.submit-tip-card.accent{background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;border:0}.submit-tip-card.accent h3{color:#fff}.submit-tip-card.accent p{color:#dbeafe}.submit-safety-note{display:grid;gap:7px;background:#fff7ed;border-color:#fed7aa}.submit-safety-note strong{margin:0;color:#9a3412}.submit-safety-note span{color:#9a3412;font-size:13px;line-height:1.5}.submit-safety-note a{color:#c2410c;font-weight:850;font-size:13px}

@media(max-width:1080px){
  .single-car-v31 .single-car-layout{grid-template-columns:minmax(0,1fr) 330px}.single-gallery-v31 .thumbs{grid-template-columns:repeat(6,minmax(0,1fr))}.spec-grid-v31{grid-template-columns:repeat(2,minmax(0,1fr))}
  .submit-layout{grid-template-columns:minmax(0,1fr) 280px}.submit-aside{top:90px}
}
@media(max-width:900px){
  .single-car-v31{padding-top:22px}.single-car-head{display:grid;gap:16px;padding:20px}.single-head-actions{justify-content:flex-start}.single-car-v31 .single-car-layout{grid-template-columns:1fr}.seller-card-v31{position:static!important}.single-content-v31{grid-column:1}.single-gallery-v31 .main-photo{min-height:300px}.single-gallery-v31 .thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}.spec-grid-v31{grid-template-columns:repeat(2,minmax(0,1fr))!important}.single-info-section{padding:20px}.submit-steps{grid-template-columns:1fr}.submit-layout{grid-template-columns:1fr}.submit-aside{position:static;grid-template-columns:1fr 1fr}.submit-safety-note{grid-column:1/-1}.submit-form-shell{padding:20px}
}
@media(max-width:620px){
  .single-car-v31{padding-bottom:72px}.single-car-head{padding:16px;border-radius:18px}.single-car-heading h1{font-size:30px;margin-top:7px}.single-head-meta{font-size:12px}.single-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.single-head-actions>*{width:100%!important}.single-key-facts{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}.single-key-facts span{flex:0 0 auto}.single-gallery-v31{padding:10px}.single-gallery-v31 .main-photo{min-height:235px;border-radius:15px}.single-gallery-v31 .main-photo img{max-height:460px}.single-gallery-v31 .thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.seller-card-v31{padding:16px}.seller-card-v31 .single-price{font-size:31px}.single-info-section{padding:16px;border-radius:18px}.single-section-head{display:grid;gap:5px}.single-section-head span{text-align:left}.single-section-head h2,.single-content-v31>section>h2{font-size:24px}.spec-grid-v31{grid-template-columns:1fr 1fr!important;gap:8px}.spec-grid-v31 div{padding:11px}.spec-grid-v31 strong{font-size:14px}.car-lightbox{padding:58px 10px 46px}.lightbox-prev,.lightbox-next{width:42px;height:58px;border-radius:13px;background:rgba(15,23,42,.45)}.lightbox-prev{left:8px}.lightbox-next{right:8px}.mobile-contact-bar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -8px 28px rgba(15,23,42,.12);backdrop-filter:blur(14px)}.mobile-contact-bar:has(a:only-child){grid-template-columns:1fr}.mobile-contact-bar .btn{min-height:46px;width:100%;padding:10px 12px}.single-car-v31~.mobile-contact-bar+.site-footer{padding-bottom:72px}
  .submit-car-section{padding-top:20px}.submit-steps>div{padding:13px 14px}.submit-form-shell{padding:16px;border-radius:18px}.submit-form-heading{display:grid;gap:6px}.submit-note{text-align:left}.submit-form-heading h2{font-size:24px}.submit-aside{grid-template-columns:1fr}.submit-safety-note{grid-column:auto}.submit-tip-card,.submit-safety-note{padding:16px;border-radius:18px}
}
@media(max-width:420px){.spec-grid-v31{grid-template-columns:1fr!important}.single-head-actions{grid-template-columns:1fr}.single-gallery-v31 .thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){
  body.single-car .site-footer{padding-bottom:82px}
  body.single-car .compare-floating{bottom:82px}
}



