.footer{
  padding-top:34px;
}

.footer .footer-grid{
  grid-template-columns:minmax(250px,1.35fr) minmax(130px,.72fr) minmax(145px,.78fr) minmax(270px,1.2fr);
  gap:28px;
  align-items:start;
  padding-bottom:22px;
}

.footer .footer-about p{
  max-width:340px;
  margin:14px 0 16px;
  line-height:1.9;
}

.footer .footer-grid>div:not(:first-child){
  gap:7px;
}

.footer h4{
  margin-bottom:10px;
}

.footer .contact p{
  max-width:330px;
  line-height:1.75;
}

.footer .licenses.site-badges,
.store-footer .site-badges{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(72px,82px));
  gap:8px;
  min-width:0;
  margin-top:10px;
  align-items:stretch;
}

.footer .site-badge,
.store-footer .site-badge{
  width:82px;
  min-height:82px;
  border-radius:11px;
  gap:4px;
  padding:6px;
}

.footer .site-badge img,
.store-footer .site-badge img{
  width:100%;
  height:48px;
  object-fit:contain;
}

.footer .site-badge span,
.store-footer .site-badge span{
  font-size:7px!important;
  line-height:1.35;
}

.footer .footer-bottom{
  min-height:46px;
  height:auto;
  padding:11px 0;
}

.store-footer{
  padding:24px 0 14px;
}

.store-footer .store-footer-grid{
  grid-template-columns:minmax(240px,1fr) minmax(300px,1.25fr) minmax(170px,auto);
  gap:26px;
}

.store-footer-grid p{
  margin:5px 0;
  line-height:1.75;
}

.store-footer-grid a{
  margin-top:3px;
}

@media(max-width:900px){
  .footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 32px;
  }

  .footer .footer-about,
  .footer .contact{
    grid-column:auto;
  }

  .store-footer .store-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .store-footer .site-badges{
    grid-column:1/-1;
  }
}

@media(max-width:620px){
  .footer{
    padding-top:26px;
  }

  .footer .footer-grid,
  .store-footer .store-footer-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .footer .footer-about,
  .footer .contact,
  .store-footer .site-badges{
    grid-column:1;
  }

  .footer .footer-about p,
  .footer .contact p{
    max-width:none;
  }

  .footer .licenses.site-badges,
  .store-footer .site-badges{
    grid-template-columns:repeat(auto-fit,minmax(72px,82px));
  }
}
