/* Phase 11.69 — footer reference finish only. No other page section is changed. */

/* The previous tail was clipped because several ancestors used overflow-x:hidden,
   which also creates vertical clipping. Use clip horizontally and leave the Y axis visible. */
body.ycare-v2-actual-home :is(#page-container,#page,.site,.site-container,#main-content,#primary,.site-content,.content-area,main.site-main,article,.entry-content,.et-boc,#et-boc),
body.ycare-v2-managed-page :is(#page-container,#page,.site,.site-container,#main-content,#primary,.site-content,.content-area,main.site-main,article,.entry-content,.et-boc,#et-boc),
.ycare-phase4-preview,
.ycare-phase4-preview.has-ycw53-header{
  overflow-x:clip!important;
  overflow-y:visible!important;
}

/* Keep the page cream during loading. Only the footer owns the teal color. */
html,
body.ycare-v2-actual-home,
body.ycare-v2-managed-page,
body.ycare-v2-global-footer{
  background:#fbf3ea!important;
  background-color:#fbf3ea!important;
}

/* Footer slightly more compact, like the approved reference. */
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-main{
  padding-top:18px!important;
  padding-bottom:12px!important;
  gap:24px!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-brand p{
  margin-top:9px!important;
  line-height:1.5!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-panel{
  gap:6px!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-toggle{
  padding-bottom:8px!important;
}

/* Payment row: show the marks directly on teal, as in the reference, not as white cards. */
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-payments{
  padding-top:7px!important;
  padding-bottom:7px!important;
  gap:18px!important;
  border-bottom:0!important;
  background:transparent!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-window{
  overflow:visible!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-track{
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:18px!important;
  animation:none!important;
  transform:none!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-track > .ycw54-payment-badge:nth-child(n+10){
  display:none!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-badge{
  min-width:0!important;
  width:auto!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  opacity:.98!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-badge b{
  color:#fff!important;
  font-size:9px!important;
  line-height:1!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  height:22px!important;
  white-space:nowrap!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand svg{
  display:block!important;
  width:auto!important;
  height:18px!important;
  overflow:visible!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--visa svg{height:15px!important}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--mastercard svg,
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--maestro svg{height:19px!important}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--bancontact svg{height:17px!important}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--ideal svg{height:19px!important}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--cb svg{height:18px!important}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--applepay,
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--googlepay,
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--klarna{
  font-weight:800!important;
  font-size:10px!important;
  color:#fff!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--googlepay .g-blue{color:#4285f4}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--googlepay .g-red{color:#ea4335}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--googlepay .g-yellow{color:#fbbc05}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-brand--googlepay .g-green{color:#34a853}

/* Copyright line follows the model and stays compact. The year is generated by PHP. */
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-bottom{
  min-height:34px!important;
  padding-top:5px!important;
  padding-bottom:8px!important;
  border-radius:0!important;
}
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-bottom>span:first-child{
  font-size:8px!important;
  letter-spacing:.01em!important;
}

/* Definitive bottom seal. Because vertical overflow is no longer clipped, this extension
   covers the small theme canvas below the footer without changing document height or flashing. */
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-40px!important;
  height:42px!important;
  background:#0c5f63!important;
  border:0!important;
  border-radius:0!important;
  pointer-events:none!important;
  z-index:0!important;
}
.ycare-live-section[data-ycare-live-section="footer"],
.ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer{
  border-radius:0!important;
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
}

@media(max-width:900px){
  .ycare-live-section[data-ycare-live-section="footer"] .ycw54-payment-track{gap:12px!important;flex-wrap:wrap!important}
  .ycare-live-section[data-ycare-live-section="footer"] .ycw54-footer-main{padding-top:16px!important;padding-bottom:10px!important}
}
