/* KBM V6 — Single Page Pro 1.9.9-rc.196.3 */
body.kbm-single-pro-v6-active{
  --kbm-v6-navy:#071f35;
  --kbm-v6-navy-2:#0c314b;
  --kbm-v6-yellow:#ffca18;
  --kbm-v6-bg:#f4f7fa;
  --kbm-v6-surface:#fff;
  --kbm-v6-border:#dce5ed;
  --kbm-v6-muted:#637385;
  --kbm-v6-radius:22px;
  --kbm-v6-shadow:0 14px 38px rgba(7,31,53,.08);
  background:var(--kbm-v6-bg);
}
body.kbm-single-pro-v6-active .kbm-v6-single,
body.kbm-single-pro-v6-active .kbm-v6-single *{box-sizing:border-box}
body.kbm-single-pro-v6-active .kbm-v6-single{width:min(100%,1360px);margin:0 auto;padding:14px clamp(10px,2vw,22px) 118px;color:#10253a;font-family:Estedad,Vazirmatn,Tahoma,Arial,sans-serif}
body.kbm-single-pro-v6-active .kbm-v6-single__native{min-width:0}
body.kbm-single-pro-v6-active .kbm-v6-single__native> :where(article,main,div.kbm-ad-single-recode,div.kbm-vp96-single){max-width:none!important;width:100%;margin-inline:auto}
body.kbm-single-pro-v6-active .kbm-v6-context{display:flex;align-items:center;gap:9px;min-height:42px;margin:0 0 12px;padding:8px 12px;border:1px solid var(--kbm-v6-border);border-radius:14px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);color:var(--kbm-v6-muted);font-size:12px;font-weight:800}
body.kbm-single-pro-v6-active .kbm-v6-context a{color:var(--kbm-v6-navy);text-decoration:none;font-weight:900}
body.kbm-single-pro-v6-active .kbm-v6-owner-preview{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 10px;padding:11px 14px;border-radius:14px;background:#fff8d8;border:1px solid #f2d769;color:#654b00}
body.kbm-single-pro-v6-active .kbm-v6-owner-preview strong{color:var(--kbm-v6-navy)}
body.kbm-single-pro-v6-active .kbm-v6-unavailable{max-width:720px;margin:70px auto;padding:28px;border:1px solid var(--kbm-v6-border);border-radius:24px;background:#fff;text-align:center}
body.kbm-single-pro-v6-active .kbm-v6-unavailable a{display:inline-flex;margin-top:14px;padding:10px 18px;border-radius:12px;background:var(--kbm-v6-yellow);color:var(--kbm-v6-navy);font-weight:900;text-decoration:none}
body.kbm-single-pro-v6-active .kbm-v6-share-status{position:fixed;z-index:100400;left:50%;bottom:118px;transform:translateX(-50%);min-width:0;max-width:calc(100vw - 28px);padding:0;border-radius:12px;background:var(--kbm-v6-navy);color:#fff;font-size:12px;font-weight:800;text-align:center;pointer-events:none;opacity:0;transition:opacity .18s ease,padding .18s ease}
body.kbm-single-pro-v6-active .kbm-v6-share-status:not(:empty){padding:9px 14px;opacity:1}

/* Shared native-page contract */
body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-shell,.kbm-machine-sale-recode-shell,.kbm-drivers-recode-shell,.kbm-services-recode-shell,.kbm-ps73,.kbm-c112-single){max-width:1280px!important;margin-inline:auto!important}
body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-desc,.kbm-ad-single-recode-specs,.kbm-ad-single-recode-similar,.kbm-ad-single-recode-contact,.kbm-ad-single-recode-trust,.kbm-machine-sale-recode-single__side,.kbm-machine-sale-recode-panel,.kbm-machine-sale-recode-safety,.kbm-drivers-recode-panel,.kbm-driver158-contact,.kbm-services-recode-panel,.kbm-ps73-card,.kbm-c112-panel){border-color:var(--kbm-v6-border)!important;border-radius:var(--kbm-v6-radius)!important;box-shadow:var(--kbm-v6-shadow)!important;background-color:var(--kbm-v6-surface)}
body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-title,.kbm-machine-sale-recode-single__side h1,.kbm-driver158-hero h1,.kbm-services-recode-single-summary h1,.kbm-ps73-hero h1,.kbm-c112-single h1){color:var(--kbm-v6-navy)!important;text-wrap:balance}
body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-section-head h2,.kbm-machine-sale-recode-section-head h2,.kbm-machine-sale-recode-panel h2,.kbm-drivers-recode-panel h2,.kbm-services-recode-panel h2,.kbm-ps73-card h2,.kbm-c112-panel h2){color:var(--kbm-v6-navy)!important;font-weight:900}

/* Rental Single Pro */
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-shell{padding:0 0 32px!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-grid{grid-template-columns:minmax(0,1fr) minmax(310px,350px)!important;gap:20px!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-gallery-main{aspect-ratio:16/10!important;border-radius:24px!important;box-shadow:var(--kbm-v6-shadow)}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-side{top:86px!important;gap:12px!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-title{font-size:clamp(25px,2.35vw,36px)!important;line-height:1.55!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-commercial{border-radius:18px!important;background:linear-gradient(135deg,var(--kbm-v6-navy),var(--kbm-v6-navy-2))!important;border-inline-start:5px solid var(--kbm-v6-yellow)!important;color:#fff!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-commercial :where(span,strong){color:#fff!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-specs dl{gap:9px!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-spec{min-height:58px;align-items:center!important}
body.kbm-single-pro-v6-rental .kbm-ad-single-recode-similar-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Sale Single Pro */
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-shell{padding:0 0 34px!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__top{grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr)!important;gap:20px!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-gallery__main{border-radius:24px!important;box-shadow:var(--kbm-v6-shadow)!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-gallery__main img{aspect-ratio:16/10!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__side{top:86px!important;padding:17px!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__facts{grid-template-columns:1fr 1fr!important;gap:8px!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__facts>div{min-height:66px;border:1px solid #e6edf3;border-radius:14px;background:#f8fafc}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-passport .kbm-machine-sale-recode-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-safety--wide{margin-top:18px!important}

/* Driver Single Pro */
body.kbm-single-pro-v6-driver .kbm-drivers-recode-shell{padding-inline:0!important;padding-bottom:36px!important}
body.kbm-single-pro-v6-driver .kbm-driver158-hero{display:grid!important;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr)!important;gap:20px!important;padding:18px!important;border:1px solid var(--kbm-v6-border)!important;border-radius:26px!important;background:#fff!important;box-shadow:var(--kbm-v6-shadow)!important}
body.kbm-single-pro-v6-driver .kbm-driver158-hero__media{border-radius:20px!important;overflow:hidden!important;min-height:310px!important;background:#eef3f6}
body.kbm-single-pro-v6-driver .kbm-driver158-hero__media img{width:100%!important;height:100%!important;min-height:310px!important;object-fit:cover!important}
body.kbm-single-pro-v6-driver .kbm-driver158-hero__summary{padding:8px!important}
body.kbm-single-pro-v6-driver .kbm-driver158-layout{grid-template-columns:minmax(0,1fr) 330px!important;gap:20px!important;align-items:start!important}
body.kbm-single-pro-v6-driver .kbm-driver158-contact{position:sticky!important;top:86px!important}
body.kbm-single-pro-v6-driver .kbm-driver158-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.kbm-single-pro-v6-driver .kbm-driver158-facts article{border:1px solid #e5edf3!important;border-radius:14px!important;background:#f8fafc!important;min-height:74px!important}

/* Provider / Parts / Services Single Pro */
body.kbm-single-pro-v6-provider :where(.kbm-services-recode-shell,.kbm-ps73){padding-inline:0!important;padding-bottom:36px!important}
body.kbm-single-pro-v6-provider .kbm-services-recode-single-summary{border:1px solid var(--kbm-v6-border)!important;border-radius:26px!important;background:linear-gradient(135deg,#fff,#f8fbfd)!important;box-shadow:var(--kbm-v6-shadow)!important;padding:20px!important}
body.kbm-single-pro-v6-provider .kbm-services-recode-single-layout{grid-template-columns:320px minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
body.kbm-single-pro-v6-provider .kbm-services-recode-single-layout>aside{position:sticky!important;top:86px!important}
body.kbm-single-pro-v6-provider .kbm-services-recode-single-gallery img{aspect-ratio:4/3!important;object-fit:cover!important}
body.kbm-single-pro-v6-provider .kbm-ps73-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important}
body.kbm-single-pro-v6-provider .kbm-ps73-layout>aside{position:sticky!important;top:86px!important}
body.kbm-single-pro-v6-provider .kbm-ps73-hero{border-radius:26px!important;box-shadow:var(--kbm-v6-shadow)!important}

/* Contractor Single Pro */
body.kbm-single-pro-v6-contractor .kbm-c112-single{padding:0 0 36px!important}
body.kbm-single-pro-v6-contractor .kbm-c112-single__top{grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr)!important;gap:20px!important;border-radius:26px!important;box-shadow:var(--kbm-v6-shadow)!important}
body.kbm-single-pro-v6-contractor .kbm-c112-gallery{min-height:340px!important}
body.kbm-single-pro-v6-contractor .kbm-c112-single__layout{grid-template-columns:minmax(0,1fr) 330px!important;gap:20px!important}
body.kbm-single-pro-v6-contractor .kbm-c112-single__layout>aside{top:86px!important}
body.kbm-single-pro-v6-contractor .kbm-c112-facts{gap:8px!important}

/* V6 mobile CTA for sale/driver/provider. Rental/contractor keep their secure native CTAs. */
.kbm-v6-mobile-cta{display:none}

@media(max-width:980px){
  body.kbm-single-pro-v6-active .kbm-v6-single{padding-inline:10px;padding-bottom:178px}
  body.kbm-single-pro-v6-active .kbm-v6-context{margin-bottom:9px}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-grid,
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__top,
  body.kbm-single-pro-v6-driver .kbm-driver158-hero,
  body.kbm-single-pro-v6-driver .kbm-driver158-layout,
  body.kbm-single-pro-v6-provider .kbm-services-recode-single-layout,
  body.kbm-single-pro-v6-provider .kbm-ps73-layout,
  body.kbm-single-pro-v6-contractor .kbm-c112-single__top,
  body.kbm-single-pro-v6-contractor .kbm-c112-single__layout{grid-template-columns:1fr!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-side,
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__side,
  body.kbm-single-pro-v6-driver .kbm-driver158-contact,
  body.kbm-single-pro-v6-provider .kbm-services-recode-single-layout>aside,
  body.kbm-single-pro-v6-provider .kbm-ps73-layout>aside,
  body.kbm-single-pro-v6-contractor .kbm-c112-single__layout>aside{position:static!important;top:auto!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-similar-grid{grid-template-columns:1fr 1fr!important}
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-passport .kbm-machine-sale-recode-spec-grid{grid-template-columns:1fr 1fr!important}
  body.kbm-single-pro-v6-driver .kbm-driver158-hero__media{min-height:0!important;aspect-ratio:16/10!important}
  body.kbm-single-pro-v6-driver .kbm-driver158-hero__media img{min-height:0!important;aspect-ratio:16/10!important}
  .kbm-v6-mobile-cta{position:fixed;z-index:100240;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,.65fr);gap:8px;left:10px;right:10px;bottom:calc(88px + env(safe-area-inset-bottom,0px));max-width:620px;margin-inline:auto;padding:8px;border:1px solid #d8e1e8;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 -8px 28px rgba(7,31,53,.16);backdrop-filter:blur(12px)}
  .kbm-v6-mobile-cta button{min-height:48px;border:0;border-radius:13px;font:900 13px/1.5 Estedad,Vazirmatn,Tahoma,sans-serif;cursor:pointer}
  .kbm-v6-mobile-cta__primary{background:var(--kbm-v6-yellow);color:var(--kbm-v6-navy)}
  .kbm-v6-mobile-cta__secondary{background:var(--kbm-v6-navy);color:#fff}
  /* Keep native sticky CTA above the Theme five-item appbar. */
  body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-bottombar,.kbm-c112-sticky,.kbm-uva107-contractor-mobile-cta){bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;z-index:100240!important}
}

@media(max-width:640px){
  body.kbm-single-pro-v6-active .kbm-v6-single{padding-inline:8px}
  body.kbm-single-pro-v6-active .kbm-v6-context{min-height:38px;padding:7px 10px;font-size:11px}
  body.kbm-single-pro-v6-active :where(.kbm-ad-single-recode-desc,.kbm-ad-single-recode-specs,.kbm-ad-single-recode-similar,.kbm-ad-single-recode-contact,.kbm-ad-single-recode-trust,.kbm-machine-sale-recode-single__side,.kbm-machine-sale-recode-panel,.kbm-machine-sale-recode-safety,.kbm-drivers-recode-panel,.kbm-driver158-contact,.kbm-services-recode-panel,.kbm-ps73-card,.kbm-c112-panel){border-radius:18px!important;padding:14px!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-gallery-main,
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-gallery__main img{aspect-ratio:4/3!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-title,
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-single__side h1,
  body.kbm-single-pro-v6-driver .kbm-driver158-hero h1,
  body.kbm-single-pro-v6-provider .kbm-services-recode-single-summary h1,
  body.kbm-single-pro-v6-provider .kbm-ps73-hero h1,
  body.kbm-single-pro-v6-contractor .kbm-c112-single h1{font-size:23px!important;line-height:1.55!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-specs dl,
  body.kbm-single-pro-v6-sale .kbm-machine-sale-recode-passport .kbm-machine-sale-recode-spec-grid,
  body.kbm-single-pro-v6-driver .kbm-driver158-facts{grid-template-columns:1fr!important}
  body.kbm-single-pro-v6-rental .kbm-ad-single-recode-similar-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.kbm-single-pro-v6-provider .kbm-services-recode-single-summary{padding:15px!important;border-radius:20px!important}
  body.kbm-single-pro-v6-contractor .kbm-c112-single__top{padding:12px!important;border-radius:20px!important}
}

@media(prefers-reduced-motion:reduce){
  body.kbm-single-pro-v6-active *,body.kbm-single-pro-v6-active *::before,body.kbm-single-pro-v6-active *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* V6 mobile fixed-layer arbitration: native CTA > content and always above Theme appbar,
 * while global scroll-top is lifted above the CTA band. These selectors intentionally
 * outrank historical !important rules from the rental authority. */
@media(max-width:980px){
  body.kbm-single-pro-v6-active.single-kbm_ad .kbm-ad-single-recode-bottombar,
  body.kbm-single-pro-v6-active .kbm-c112-sticky,
  body.kbm-single-pro-v6-active .kbm-uva107-contractor-mobile-cta{
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
    z-index:2147483050!important;
  }
  body.kbm-single-pro-v6-active .kbm-v6-mobile-cta{
    z-index:2147483050!important;
  }
  body.kbm-single-pro-v6-active .kbm-theme-scroll-top,
  body.kbm-single-pro-v6-active [data-kbm-theme-scroll-top]{
    bottom:calc(158px + env(safe-area-inset-bottom,0px))!important;
    z-index:2147483060!important;
  }
  body.kbm-single-pro-v6-active .kbm-v6-share-status{
    bottom:calc(160px + env(safe-area-inset-bottom,0px));
    z-index:2147483070;
  }
}
