/* VioCar Mobile Experience — dedicated mobile UI layer */
.vcm-mobile-shell,.vcm-detail-actions{display:none}
@media(max-width:760px){
:root{--vcm-blue:#0b5cff;--vcm-ink:#0b172a;--vcm-muted:#667085;--vcm-line:#e7ebf1;--vcm-bg:#f7f9fc;--vcm-orange:#ff7417}
html{scroll-behavior:smooth} body.vcm-mobile-layer{padding-bottom:86px!important;overflow-x:hidden;background:var(--vcm-bg)}
body.vcm-mobile-layer .vc-topbar,body.vcm-mobile-layer>.vc-header{display:none!important}
.vcm-mobile-shell{display:block}.vcm-mobile-header{position:fixed;top:0;left:0;right:0;height:68px;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:rgba(255,255,255,.94);backdrop-filter:blur(20px);border-bottom:1px solid rgba(14,29,53,.08);box-shadow:0 5px 24px rgba(10,25,50,.06);padding-top:env(safe-area-inset-top)}
.vcm-brand{display:flex;align-items:center;gap:9px;color:var(--vcm-ink);text-decoration:none}.vcm-brand img{width:37px;height:37px;display:block}.vcm-brand span{display:flex;flex-direction:column;line-height:1}.vcm-brand b{font-size:20px;letter-spacing:-.04em}.vcm-brand small{margin-top:4px;font-size:7px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8490a3}.vcm-head-actions{display:flex;gap:7px}.vcm-head-actions button,.vcm-head-actions a{width:40px;height:40px;border-radius:13px;border:1px solid var(--vcm-line);background:#fff;color:var(--vcm-ink);display:grid;place-items:center;text-decoration:none;font-size:19px;box-shadow:0 3px 12px rgba(10,25,50,.04)}
.vcm-search-drawer{position:fixed;left:10px;right:10px;top:76px;z-index:999;display:none;background:#fff;border:1px solid var(--vcm-line);border-radius:20px;padding:13px;box-shadow:0 20px 60px rgba(8,20,40,.18)}.vcm-search-drawer.is-open{display:block}.vcm-search-field{display:flex;align-items:center;height:50px;border:1px solid #dce3ec;border-radius:14px;background:#f8fafc}.vcm-search-field span{font-size:22px;padding:0 10px;color:#344054}.vcm-search-field input{width:100%;border:0;outline:0;background:transparent;font-size:14px;font-weight:650;color:var(--vcm-ink)}.vcm-search-suggest{display:flex;gap:7px;overflow:auto;padding:11px 1px 10px;white-space:nowrap}.vcm-search-suggest span{font-size:10px;color:#98a2b3;display:flex;align-items:center}.vcm-search-suggest a{font-size:10px;font-weight:800;color:#344054;text-decoration:none;background:#f2f5f9;border-radius:999px;padding:8px 11px}.vcm-search-drawer button{width:100%;height:46px;border:0;border-radius:13px;background:var(--vcm-blue);color:#fff;font-weight:850;font-size:13px}.vcm-search-drawer button span{float:right;margin-right:8px;font-size:18px}
.vcm-bottom{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:grid;grid-template-columns:repeat(5,1fr);height:72px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(22px);border-top:1px solid rgba(10,25,50,.08);box-shadow:0 -15px 40px rgba(8,20,40,.10)}.vcm-bottom a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:14px;color:#8490a3;text-decoration:none;font-size:9px;font-weight:800}.vcm-bottom a i{font-style:normal;font-size:20px;line-height:1}.vcm-bottom a.active{color:var(--vcm-blue);background:#eef4ff}.vcm-bottom .vcm-sell{width:58px;height:58px;margin:-18px auto 0;border-radius:19px;background:var(--vcm-orange);color:#fff;box-shadow:0 12px 28px rgba(255,116,23,.30)}.vcm-bottom .vcm-sell i{font-size:25px}
/* Mobile content canvas */
.vcm-mobile-layer main,.vcm-mobile-layer .vc-main,.vcm-mobile-layer .vc-page{width:100%;max-width:none}.vcm-mobile-layer .vc-container{width:calc(100% - 24px);max-width:none}.vcm-mobile-layer .vc-home-hero{margin-top:68px;border-radius:0 0 28px 28px;overflow:hidden}.vcm-mobile-layer .vc-home-hero .vc-hero-grid{padding:36px 0 88px;display:flex;flex-direction:column;min-height:auto}.vcm-mobile-layer .vc-home-hero h1{font-size:clamp(38px,11vw,49px);line-height:.96;letter-spacing:-.055em}.vcm-mobile-layer .vc-home-hero .vc-hero-copy{max-width:100%}.vcm-mobile-layer .vc-home-hero .vc-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.vcm-mobile-layer .vc-hero-stage{height:220px;margin-top:4px}.vcm-mobile-layer .vc-hero-vehicle-card{width:94%;right:3%;bottom:0;transform:none}.vcm-mobile-layer .vc-home-overview{margin-top:-28px;position:relative;z-index:2}.vcm-mobile-layer .vc-home-metrics{border-radius:20px;grid-template-columns:1fr 1fr;box-shadow:0 15px 40px rgba(8,20,40,.12)}
.vcm-mobile-layer .vc-section{padding:46px 0}.vcm-mobile-layer .vc-section-head-pro{display:flex;align-items:end;justify-content:space-between;gap:12px}.vcm-mobile-layer .vc-section-head-pro h2{font-size:28px;letter-spacing:-.045em}.vcm-mobile-layer .vc-section-sub{font-size:11px;line-height:1.55}.vcm-mobile-layer .vc-cars,.vcm-mobile-layer .vc-nearby-grid,.vcm-mobile-layer .vc-brands-pro,.vcm-mobile-layer .vc-how-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;padding:3px 2px 10px;margin-inline:-2px}.vcm-mobile-layer .vc-cars::-webkit-scrollbar,.vcm-mobile-layer .vc-nearby-grid::-webkit-scrollbar,.vcm-mobile-layer .vc-brands-pro::-webkit-scrollbar,.vcm-mobile-layer .vc-how-grid::-webkit-scrollbar{display:none}.vcm-mobile-layer .vc-cars .vc-card,.vcm-mobile-layer .vc-nearby-card,.vcm-mobile-layer .vc-brand-card,.vcm-mobile-layer .vc-how-grid>div{flex:0 0 82%;scroll-snap-align:start}.vcm-mobile-layer .vc-card{border-radius:18px;box-shadow:0 8px 26px rgba(10,25,50,.07)}.vcm-mobile-layer .vc-card-media{height:185px}.vcm-mobile-layer .vc-card-body{padding:14px}.vcm-mobile-layer .vc-card-title{font-size:16px}.vcm-mobile-layer .vc-card-price{font-size:20px}.vcm-mobile-layer .vc-nearby-card{padding:17px;border-radius:18px}.vcm-mobile-layer .vc-brand-card{min-height:110px}.vcm-mobile-layer .vc-seller-banner-pro{border-radius:22px;padding:22px}.vcm-mobile-layer .vc-seller-points{grid-template-columns:1fr 1fr}
/* Detail */
.vcm-is-detail main.vc-single{margin-top:68px}.vcm-is-detail .vc-container{width:100%}.vcm-is-detail .vc-breadcrumb{padding:13px 12px 7px;margin:0}.vcm-is-detail .vc-detail-hero{padding:10px 12px 18px}.vcm-is-detail .vc-detail-hero h1{font-size:29px;line-height:1.04;letter-spacing:-.045em}.vcm-is-detail .vc-detail-hero>.vc-btn{display:none}.vcm-is-detail .vc-detail-grid{display:block}.vcm-is-detail .vc-detail-grid>section{width:100%}.vcm-is-detail .vc-detail-gallery-pro{border-radius:0}.vcm-is-detail .vc-detail-gallery-pro .vc-main-image{aspect-ratio:1.08;border-radius:0}.vcm-is-detail .vc-detail-gallery-pro .vc-main-detail-image{width:100%;height:100%;object-fit:cover}.vcm-is-detail .vc-thumb-grid-pro{display:flex;overflow-x:auto;padding:8px 12px;gap:7px}.vcm-is-detail .vc-thumb-grid-pro>div{flex:0 0 74px;height:56px}.vcm-is-detail .vc-detail-info{padding:0 12px}.vcm-is-detail .vc-price-panel{margin-top:12px;border-radius:18px;box-shadow:0 9px 28px rgba(10,25,50,.07)}.vcm-is-detail .vc-detail-price{font-size:28px}.vcm-is-detail .vc-panel{border-radius:18px}.vcm-is-detail .vc-spec-grid-pro{grid-template-columns:1fr 1fr}.vcm-is-detail .vc-spec-grid-pro>div{min-width:0}.vcm-is-detail .vc-detail-sidebar{padding:0 12px}.vcm-is-detail .vc-seller-card-pro,.vcm-is-detail .vc-contact-panel{margin-top:14px}.vcm-is-detail .vc-contact-panel{scroll-margin-top:80px}.vcm-detail-actions{position:fixed;display:grid;grid-template-columns:52px 52px 1fr;gap:7px;left:10px;right:10px;bottom:78px;z-index:950;padding:7px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(10,25,50,.08);border-radius:17px;box-shadow:0 12px 35px rgba(8,20,40,.16)}.vcm-detail-actions button,.vcm-detail-actions a{height:46px;border:0;border-radius:12px;display:grid;place-items:center;text-decoration:none;background:#f2f5f9;color:#344054;font-size:12px;font-weight:850}.vcm-detail-actions button span,.vcm-detail-actions a span{margin-left:4px}.vcm-detail-actions .primary{background:var(--vcm-blue);color:#fff}
/* Dashboard becomes app-like */
.vcm-is-dashboard main,.vcm-is-dashboard .vc-dashboard-wrap{margin-top:68px}.vcm-is-dashboard .vc-dashboard{border-radius:0;box-shadow:none;background:transparent}.vcm-is-dashboard .vc-dash-layout{display:block}.vcm-is-dashboard .vc-dash-sidebar{display:none}.vcm-is-dashboard .vc-dash-content{width:100%;padding:12px}.vcm-is-dashboard .vc-dash-stats{grid-template-columns:repeat(2,1fr)}.vcm-is-dashboard .vc-dash-card{border-radius:18px}.vcm-is-dashboard .vc-table-wrap{overflow-x:auto;border-radius:16px}.vcm-is-dashboard .vc-table{min-width:680px}
}
@media(max-width:380px){.vcm-mobile-layer .vc-container{width:calc(100% - 20px)}.vcm-mobile-layer .vc-home-hero h1{font-size:37px}.vcm-mobile-layer .vc-home-hero .vc-hero-actions{grid-template-columns:1fr}.vcm-mobile-layer .vc-cars .vc-card,.vcm-mobile-layer .vc-nearby-card{flex-basis:88%}.vcm-mobile-layer .vc-detail-hero h1{font-size:26px}.vcm-detail-actions{grid-template-columns:46px 46px 1fr}.vcm-detail-actions button span{display:none}}
@media(prefers-reduced-motion:reduce){.vcm-mobile-layer *{scroll-behavior:auto!important;transition:none!important}}

/* v1.0.1 — premium mobile composition: not a scaled desktop layout */
@media (max-width:760px){
  :root{--vcm-header-h:64px;--vcm-nav-h:74px;--vcm-gutter:16px;--vcm-radius:20px}
  html{font-size:16px;overflow-x:hidden}
  body.vcm-mobile-layer{width:100%;max-width:100vw;overflow-x:hidden;background:#f6f8fb;-webkit-font-smoothing:antialiased}
  body.vcm-mobile-layer *{min-width:0}
  body.vcm-mobile-layer .vc-container{width:calc(100% - (var(--vcm-gutter) * 2));margin-left:auto;margin-right:auto}
  /* Native mobile shell */
  .vcm-mobile-header{height:calc(var(--vcm-header-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--vcm-gutter) 0;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(15,23,42,.07);box-shadow:0 8px 30px rgba(7,21,47,.07)}
  .vcm-brand img{width:36px;height:36px}.vcm-brand b{font-size:19px}.vcm-brand small{font-size:6.5px;letter-spacing:.11em}
  .vcm-head-actions button,.vcm-head-actions a{width:42px;height:42px;border-radius:14px;background:#f8fafc}
  .vcm-search-drawer{left:10px;right:10px;top:calc(var(--vcm-header-h) + env(safe-area-inset-top) + 8px);border-radius:22px;padding:12px;box-shadow:0 24px 70px rgba(7,21,47,.22)}
  .vcm-search-field{height:52px;border-radius:15px;background:#f7f9fc}.vcm-search-field input{font-size:15px}.vcm-search-suggest{padding:10px 1px 11px}
  .vcm-search-suggest a{background:#f4f6fa;border:1px solid #e8edf3;padding:8px 12px}
  .vcm-search-drawer button{height:48px;border-radius:14px}
  .vcm-bottom{height:calc(var(--vcm-nav-h) + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:rgba(255,255,255,.96);box-shadow:0 -16px 45px rgba(7,21,47,.12)}
  .vcm-bottom a{font-size:9px;gap:4px}.vcm-bottom a i{font-size:20px}.vcm-bottom .vcm-sell{width:60px;height:60px;margin-top:-17px;border-radius:20px}
  /* Remove desktop-style marketing density from mobile home */
  body.vcm-is-home .vc-topbar,body.vcm-is-home>.vc-header{display:none!important}
  body.vcm-is-home .vc-home-trust-strip{display:none!important}
  body.vcm-is-home .vc-home-overview{display:none!important}
  body.vcm-is-home .vc-home-hero{margin-top:calc(var(--vcm-header-h) + env(safe-area-inset-top));border-radius:0 0 30px 30px;background:radial-gradient(80% 50% at 90% 5%,rgba(79,141,247,.30),transparent 65%),linear-gradient(145deg,#06132d 0%,#0a1d40 62%,#102d5b 100%)}
  body.vcm-is-home .vc-home-hero .vc-hero-grid{padding:34px 0 28px;gap:0}
  body.vcm-is-home .vc-home-eyebrow span{font-size:8px;padding:7px 10px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14)}
  body.vcm-is-home .vc-home-eyebrow b{font-size:8px;color:#aebddd}
  body.vcm-is-home .vc-home-hero h1{font-size:clamp(38px,11.2vw,48px);line-height:.98;margin:18px 0 14px;max-width:340px}
  body.vcm-is-home .vc-home-hero .vc-hero-copy{font-size:13px;line-height:1.6;max-width:330px;color:#c7d3e6}
  body.vcm-is-home .vc-home-hero .vc-hero-actions{grid-template-columns:1fr 1fr;margin:20px 0 14px;gap:8px}
  body.vcm-is-home .vc-home-hero .vc-btn{min-height:48px;border-radius:14px;font-size:12px;padding:0 10px}
  body.vcm-is-home .vc-home-trust{display:flex;gap:8px;overflow:hidden;white-space:nowrap;font-size:8px;color:#b9c7dc}
  body.vcm-is-home .vc-home-trust span{overflow:hidden;text-overflow:ellipsis}
  body.vcm-is-home .vc-hero-stage{height:205px;margin-top:18px}
  body.vcm-is-home .vc-hero-vehicle-card{width:100%;right:0;bottom:0;padding:6px;border-radius:19px;background:rgba(255,255,255,.11);box-shadow:0 25px 55px rgba(0,0,0,.25)}
  body.vcm-is-home .vc-hero-vehicle-image{height:150px;border-radius:14px}
  body.vcm-is-home .vc-hero-vehicle-body{padding:9px 5px 4px;gap:3px}.vc-home-hero .vc-hero-vehicle-body strong{font-size:15px}.vc-home-hero .vc-hero-vehicle-body span{font-size:9px}
  /* Premium section rhythm */
  body.vcm-is-home .vc-section{padding:42px 0}
  body.vcm-is-home .vc-section-head-pro{align-items:flex-end;margin-bottom:17px}
  body.vcm-is-home .vc-section-head-pro h2{font-size:27px;line-height:1.04;margin-top:7px}
  body.vcm-is-home .vc-section-sub{font-size:11px;line-height:1.55;margin-top:6px}
  body.vcm-is-home .vc-section-head-pro .vc-link{font-size:9px}
  body.vcm-is-home .vc-cars,body.vcm-is-home .vc-nearby-grid,body.vcm-is-home .vc-brands-pro,body.vcm-is-home .vc-how-grid{gap:12px;margin-inline:-1px;padding:2px 1px 12px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
  body.vcm-is-home .vc-cars .vc-card{flex:0 0 88%;border-radius:20px;box-shadow:0 10px 30px rgba(7,21,47,.09)}
  body.vcm-is-home .vc-card-media{height:210px;aspect-ratio:auto}
  body.vcm-is-home .vc-card-top{left:11px;right:11px;top:11px}.vc-card-top .vc-badge{font-size:8px}
  body.vcm-is-home .vc-card-body{padding:15px}.vc-card-title{font-size:16px}.vc-card-price{font-size:20px}
  body.vcm-is-home .vc-nearby-card{flex:0 0 88%;border-radius:18px;padding:17px;background:#fff;box-shadow:0 8px 24px rgba(7,21,47,.06)}
  body.vcm-is-home .vc-brand-card{flex:0 0 55%;min-height:104px;border-radius:18px}
  body.vcm-is-home .vc-how-grid>article{flex:0 0 88%;border-radius:20px}
  body.vcm-is-home .vc-home-seller{padding-bottom:50px}.vc-seller-banner-pro{border-radius:24px!important}
  /* Detail is a product app, not a two-column desktop page */
  body.vcm-is-detail .vc-single{margin-top:calc(var(--vcm-header-h) + env(safe-area-inset-top));padding-bottom:120px}
  body.vcm-is-detail .vc-detail-hero{padding:12px var(--vcm-gutter) 18px}.vcm-is-detail .vc-detail-hero h1{font-size:28px}
  body.vcm-is-detail .vc-detail-gallery-pro .vc-main-image{aspect-ratio:1.05;border-radius:0}
  body.vcm-is-detail .vc-detail-info,body.vcm-is-detail .vc-detail-sidebar{padding-left:var(--vcm-gutter);padding-right:var(--vcm-gutter)}
  body.vcm-is-detail .vc-detail-grid{display:block}
  body.vcm-is-detail .vc-spec-grid-pro{gap:8px}body.vcm-is-detail .vc-spec-grid-pro>div{padding:14px 12px!important;border-radius:14px}
  body.vcm-is-detail .vc-price-panel{border-radius:20px;padding:18px;box-shadow:0 10px 30px rgba(7,21,47,.08)}
  .vcm-detail-actions{left:10px;right:10px;bottom:calc(var(--vcm-nav-h) + env(safe-area-inset-bottom) + 7px);border-radius:18px}
  /* Dashboard cards instead of desktop tables */
  body.vcm-is-dashboard main,body.vcm-is-dashboard .vc-dashboard-wrap{margin-top:calc(var(--vcm-header-h) + env(safe-area-inset-top))}
  body.vcm-is-dashboard .vc-dash-content{padding:8px 0 18px}.vcm-is-dashboard .vc-dash-stats{grid-template-columns:repeat(2,1fr);gap:8px}
  body.vcm-is-dashboard .vc-dash-stat{border-radius:16px;padding:14px}.vcm-is-dashboard .vc-dash-stat strong{font-size:22px}
  body.vcm-is-dashboard .vc-table-wrap{margin-inline:0;border-radius:14px}.vcm-is-dashboard .vc-table{min-width:680px}
}
@media(max-width:380px){
  :root{--vcm-gutter:12px}.vcm-mobile-header{padding-left:12px;padding-right:12px}
  body.vcm-is-home .vc-home-hero .vc-hero-grid{padding-top:28px}body.vcm-is-home .vc-home-hero h1{font-size:36px}
  body.vcm-is-home .vc-home-hero .vc-hero-actions{grid-template-columns:1fr}.vcm-home-hero .vc-hero-stage{height:190px}.vcm-is-home .vc-hero-vehicle-image{height:138px}
  body.vcm-is-home .vc-cars .vc-card,body.vcm-is-home .vc-nearby-card{flex-basis:91%}
}
