/* SILVGLO Clean Final v4.1.1 — exact two-tier arrangement from supplied screenshot.
   Desktop row 1: links • socials • payment cards.
   Desktop row 2: brand/tagline • signature. On smaller screens content wraps cleanly.
*/
.sv-footer{overflow:hidden;}
.sv-footer .sv-footer-topbar {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:clamp(16px,2.4vw,46px);
  align-items:center;
  padding-bottom:19px;
  margin-bottom:21px;
}
.sv-footer .sv-footer-topbar .sv-footer-links-top{min-width:0;justify-content:flex-start;}
.sv-footer .sv-footer-topbar .sv-footer-menu{
  display:flex;align-items:center;justify-content:flex-start;
  flex-wrap:wrap;column-gap:clamp(15px,1.6vw,30px);row-gap:8px;
  list-style:none;margin:0;padding:0;
}
.sv-footer .sv-footer-topbar .sv-footer-menu a{
  white-space:nowrap;display:inline-block;line-height:1.3;
}
/* The social icons belong to the top row, without the old tinted card. */
.sv-footer .sv-footer-topbar .sv-footer-social{
  display:flex;align-items:center;justify-content:center;justify-self:center;
  flex-wrap:nowrap;white-space:nowrap;
  min-width:max-content;margin:0;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.sv-footer .sv-footer-topbar .sv-footer-social .sv-social-link{display:inline-flex;align-items:center;justify-content:center;}
.sv-footer .sv-footer-topbar .sv-footer-payments-top {
  display:flex;align-items:center;justify-content:flex-end;min-width:0;justify-self:end;
  gap:12px;
}
.sv-footer .sv-footer-topbar .sv-footer-payment-heading{flex:none;}
.sv-footer .sv-footer-topbar .sv-footer-payment-badges{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;
  width:auto;gap:var(--sv406-pay-gap-d,11px);
}
.sv-footer .sv-footer-topbar .sv-footer-payment-badge{
  flex:0 0 auto;display:block;object-fit:contain;border-radius:5px;
}
/* Only the logo/tagline and copyright are allowed in the second row. */
.sv-footer .sv-footer-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;column-gap:36px;row-gap:14px;
  text-align:left;
}
.sv-footer .sv-footer-bottom .sv-footer-brand{
  display:flex;align-items:center;justify-self:start;justify-content:flex-start;
  flex-wrap:wrap;gap:clamp(10px,1.5vw,28px);min-width:0;
}
.sv-footer .sv-footer-bottom .sv-footer-brand span{
  white-space:normal;line-height:1.45;
}
.sv-footer .sv-footer-bottom .sv-footer-signature{
  justify-self:end;text-align:right;white-space:normal;line-height:1.45;
  margin:0;padding-left:25px;border-left:1px solid rgba(255,255,255,.14);
}
.sv-footer .sv-footer-bottom .sv-footer-signature span{display:inline-block;margin-left:20px;}
/* Keep the reference layout while the viewport is wide enough for all seven payment cards. */
@media(max-width:1299px){
  .sv-footer .sv-footer-topbar{
    grid-template-columns:minmax(0,1fr) auto;
    justify-items:center;gap:16px 24px;
  }
  .sv-footer .sv-footer-topbar .sv-footer-links-top{justify-self:start;}
  .sv-footer .sv-footer-topbar .sv-footer-social{justify-self:end;}
  .sv-footer .sv-footer-topbar .sv-footer-payments-top{
    grid-column:1/-1;justify-self:center;justify-content:center;
  }
  .sv-footer .sv-footer-topbar .sv-footer-payment-badges{justify-content:center;flex-wrap:wrap;}
}
@media(max-width:900px){
  .sv-footer .sv-footer-topbar {grid-template-columns:1fr;gap:15px;}
  .sv-footer .sv-footer-topbar .sv-footer-links-top,
  .sv-footer .sv-footer-topbar .sv-footer-social,
  .sv-footer .sv-footer-topbar .sv-footer-payments-top{grid-column:1;justify-self:center;}
  .sv-footer .sv-footer-topbar .sv-footer-menu,
  .sv-footer .sv-footer-topbar .sv-footer-payment-badges{justify-content:center;flex-wrap:wrap;}
  .sv-footer .sv-footer-bottom{grid-template-columns:1fr;text-align:center;gap:15px;}
  .sv-footer .sv-footer-bottom .sv-footer-brand,
  .sv-footer .sv-footer-bottom .sv-footer-signature{justify-self:center;justify-content:center;text-align:center;}
  .sv-footer .sv-footer-bottom .sv-footer-signature{border-left:0;padding-left:0;}
}
@media(max-width:767px){
  .sv-footer .sv-footer-topbar{padding-bottom:13px;margin-bottom:15px;}
  .sv-footer .sv-footer-topbar .sv-footer-menu{gap:12px 18px;}
  .sv-footer .sv-footer-topbar .sv-footer-menu a{white-space:normal;text-align:center;}
  .sv-footer .sv-footer-topbar .sv-footer-payment-badges{gap:var(--sv406-pay-gap-m,8px);}
  .sv-footer .sv-footer-topbar .sv-footer-payment-badge{
    width:var(--sv406-pay-width-m,58px);height:var(--sv406-pay-height-m,38px);
  }
  .sv-footer .sv-footer-bottom .sv-footer-brand{flex-direction:column;gap:8px;}
  .sv-footer .sv-footer-bottom .sv-footer-signature span{display:block;margin:6px 0 0;}
}
