body:has(.yc-home) .topbar,body:has(.yc-home) .topbar.scrolled{background:#fff!important;border-bottom-color:#e7edf4!important}
body:has(.yc-home) .topbar nav>a:not(.nav-login){color:#344256!important}
body:has(.yc-home) .topbar nav>a:not(.nav-login):hover{color:#0d3f78!important}
body:has(.yc-home) .language-select{border-color:#dce4ee!important;background:#f7f9fc!important;color:#0d1b2a!important}
body:has(.yc-home) .menu-toggle span{background:#0d1b2a!important}
.yc-hero-copy{position:relative!important;z-index:5!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;color:var(--yc-ink)!important}
.yc-hero-copy>*{visibility:visible!important;opacity:1!important}
.yc-preview{color:var(--yc-ink)!important}
.yc-preview-top strong,.yc-preview-balance>strong{color:var(--yc-ink)!important}
.yc-preview-balance>span,.yc-preview-balance>small{color:#758296!important}
.yc-proof{color:var(--yc-ink)!important}
.yc-proof strong{color:#17263a!important}
.yc-proof span{color:#718096!important}
.yc-simulator-panel label>span,.yc-simulator-panel strong{color:var(--yc-ink)}
@media(max-width:780px){body:has(.yc-home) .topbar nav{background:#fff!important;border-color:#e7edf4!important}body:has(.yc-home) .topbar nav>a{color:#25364b!important}}
@media(max-width:820px){
  .yc-hero-grid>*{min-width:0!important}
  .yc-preview{width:100%!important;max-width:100%!important;min-width:0!important}
  .yc-hero h1{max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
}
@media(max-width:780px){
  body:has(.yc-home) .topbar{width:100%!important;max-width:100vw!important}
  body:has(.yc-home) .menu-toggle{display:block!important;margin-left:auto!important}
}
@media(max-width:600px){
  .yc-hero h1{font-size:40px!important;line-height:1.04!important;letter-spacing:-.045em!important}
  .yc-preview-top,.yc-preview-balance,.yc-preview-financing{padding-left:16px!important;padding-right:16px!important}
}

/* Mobile containment: keep every banking block inside the real device viewport. */
html:has(.yc-home),body:has(.yc-home){max-width:100%;overflow-x:hidden!important}
body:has(.yc-home) main,.yc-home,.yc-home section{width:100%;max-width:100%;min-width:0;overflow-x:clip}
.yc-shell,.yc-hero-grid,.yc-hero-copy,.yc-actions{min-width:0}

@media(max-width:600px){
  body:has(.yc-home) .topbar{left:0!important;right:0!important;width:auto!important;max-width:none!important}
  body:has(.yc-home) .topbar .brand{min-width:0!important}
  body:has(.yc-home) .topbar .brand-logo-image{width:auto!important;max-width:165px!important}
  .yc-shell{width:100%!important;max-width:100%!important;padding-left:18px!important;padding-right:18px!important}
  .yc-hero-grid{display:block!important;width:100%!important;max-width:100%!important}
  .yc-hero-copy,.yc-hero h1,.yc-hero-copy>p,.yc-actions,.yc-preview{width:100%!important;max-width:100%!important;min-width:0!important}
  .yc-hero h1,.yc-hero-copy>p{white-space:normal!important;overflow-wrap:break-word!important}
  .yc-actions .yc-button{max-width:100%!important}
  .yc-preview{margin-top:48px!important;overflow:hidden!important}
  .yc-preview-top{gap:10px!important}
  .yc-preview-top>b{flex:0 0 auto!important}
  .yc-preview-brand{min-width:0!important}
  .yc-preview-brand div{min-width:0!important}
  .yc-preview-financing{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  body:has(.yc-home) .cookie-consent{left:10px!important;right:10px!important;width:auto!important;max-width:calc(100vw - 20px)!important}
}
