/* EconomiBuy v7.6.1 RC4.17 — cierre informativo y pie global compartido. */
:root{
  --rc410-footer-navy:#070743;
  --rc410-footer-deep:#001126;
  --rc410-footer-green:#75c814;
  --rc410-footer-width:1160px;
}

.rc410-footer-container{
  box-sizing:border-box!important;
  width:min(calc(100% - 32px),var(--rc410-footer-width))!important;
  max-width:var(--rc410-footer-width)!important;
  margin-right:auto!important;
  margin-left:auto!important;
}

.rc410-global-assurance{
  display:block!important;
  margin:0!important;
  padding:28px 0 30px!important;
  border:0!important;
  background:var(--rc410-footer-deep)!important;
  color:#fff!important;

}
.rc410-global-assurance *{box-sizing:border-box!important}
html:not([lang^="en"]) .rc410-global-assurance .lang-en,
html:not([lang^="en"]) .rc410-global-footer .lang-en,
html[lang^="en"] .rc410-global-assurance .lang-es,
html[lang^="en"] .rc410-global-footer .lang-es{display:none!important}
.rc410-assurance-panel{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden!important;
  padding:20px 24px!important;
  border:1px solid #1597dc!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,rgba(0,17,38,.98),rgba(0,24,48,.98))!important;
  box-shadow:0 0 24px rgba(19,159,226,.13)!important;
}
.rc410-assurance-item{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important;
  min-width:0!important;
  min-height:74px!important;
  margin:0!important;
  padding:8px 24px!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.18)!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
}
.rc410-assurance-item:first-child{padding-left:0!important}
.rc410-assurance-item:last-child{padding-right:0!important;border-right:0!important}
.rc410-assurance-icon{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  border:1px solid var(--rc410-footer-green)!important;
  border-radius:50%!important;
  background:rgba(92,181,0,.09)!important;
  color:#8cdf29!important;
  box-shadow:0 0 18px rgba(113,216,19,.2)!important;
}
.rc410-assurance-icon svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.rc410-assurance-item strong{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-size:.86rem!important;
  font-weight:850!important;
  line-height:1.25!important;
}
.rc410-assurance-item p{
  margin:5px 0 0!important;
  color:#d7e0ec!important;
  font-size:.68rem!important;
  line-height:1.45!important;
}

html body footer.rc410-global-footer{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:30px 0!important;
  border:0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:var(--rc410-footer-navy)!important;
  color:#fff!important;

  line-height:1.4!important;
}
.rc410-global-footer *{box-sizing:border-box!important}
.rc410-footer-grid{
  display:grid!important;
  grid-template-columns:205px minmax(280px,1fr) auto!important;
  align-items:center!important;
  gap:26px!important;
}
.rc410-footer-brand{
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.rc410-footer-brand img{
  display:block!important;
  width:195px!important;
  max-width:100%!important;
  height:auto!important;
  max-height:56px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}
.rc410-footer-note{
  max-width:650px!important;
  margin:0!important;
  padding:0!important;
  color:#d2d9e6!important;
  font-size:.7rem!important;
  line-height:1.55!important;
}
.rc410-footer-links{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px 15px!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
}
.rc410-footer-links a,
.rc410-footer-links button{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  text-decoration:none!important;
  font:inherit;
  font-size:.68rem!important;
  line-height:1.4!important;
  cursor:pointer!important;
}
.rc410-footer-links a:hover,
.rc410-footer-links a:focus-visible,
.rc410-footer-links button:hover,
.rc410-footer-links button:focus-visible{color:#a5e653!important;text-decoration:underline!important}

html body .rc410-back-top{
  position:fixed!important;
  right:18px!important;
  bottom:18px!important;
  z-index:8800!important;
  display:none!important;
  align-items:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:10px 15px!important;
  border:1px solid #dce3ee!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#070743!important;
  font:inherit;
  font-size:.78rem!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 8px 24px rgba(7,7,67,.18)!important;
  cursor:pointer!important;
}
html body .rc410-back-top.show{display:flex!important}

@media(max-width:980px){
  .rc410-footer-grid{grid-template-columns:180px minmax(0,1fr)!important;gap:20px!important}
  .rc410-footer-links{grid-column:1/-1!important;justify-content:flex-start!important}
  .rc410-footer-brand img{width:175px!important}
  .rc410-assurance-item{padding-right:15px!important;padding-left:15px!important}
}

@media(max-width:760px){
  .rc410-footer-container{width:min(calc(100% - 24px),var(--rc410-footer-width))!important}
  .rc410-global-assurance{padding:22px 0!important}
  .rc410-assurance-panel{grid-template-columns:1fr!important;padding:8px 16px!important;border-radius:17px!important}
  .rc410-assurance-item{
    grid-template-columns:44px minmax(0,1fr)!important;
    min-height:0!important;
    padding:14px 0!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.15)!important;
  }
  .rc410-assurance-item:last-child{border-bottom:0!important}
  .rc410-assurance-icon{width:42px!important;height:42px!important}
  .rc410-assurance-icon svg{width:22px!important;height:22px!important}
  .rc410-assurance-item strong{font-size:.8rem!important}
  .rc410-assurance-item p{font-size:.65rem!important}
  html body footer.rc410-global-footer{padding:26px 0 30px!important}
  .rc410-footer-grid{grid-template-columns:1fr!important;gap:17px!important;text-align:left!important}
  .rc410-footer-links{grid-column:auto!important;justify-content:flex-start!important;white-space:normal!important}
  .rc410-footer-brand img{width:180px!important}
  .rc410-footer-note{font-size:.68rem!important}
  html body .rc410-back-top{
    right:11px!important;
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
    justify-content:center!important;
    gap:0!important;
    width:44px!important;
    height:44px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body .rc410-back-top .back-top-label{display:none!important}
  html body .rc410-back-top>span[aria-hidden="true"]{
    display:block!important;
    font-size:1.55rem!important;
    font-weight:900!important;
    line-height:1!important;
  }
}

@media(max-width:420px){
  .rc410-footer-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 14px!important}
  .rc410-footer-links a,.rc410-footer-links button{text-align:left!important;white-space:normal!important}
}

/* EconomiBuy QA responsive multidispositivo 2026-08-24
   Unifica el boton Arriba legado (.back-top) y global (.rc410-back-top) solo en movil. */
@media (max-width:760px){
  html body .rc410-back-top,
  html body .back-top{
    width:44px !important;
    min-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    right:11px !important;
    bottom:calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#17324d !important;
  }
  html body .rc410-back-top .rc410-back-top-label,
  html body .back-top .back-top-label{
    display:none !important;
  }
  html body .rc410-back-top .rc410-back-top-arrow,
  html body .back-top .back-top-arrow,
  html body .back-top > span[aria-hidden="true"],
  html body .rc410-back-top > span[aria-hidden="true"]{
    display:block !important;
    margin:0 auto !important;
    font-size:28px !important;
    line-height:44px !important;
    font-weight:700 !important;
    filter:drop-shadow(0 1px 1px rgba(255,255,255,.75));
  }
}
