/* Keep the standalone homepage and Bitrix public pages on one footer system. */
.frog-public__footer,
body.frog-public-commerce .frog-catalog-shell__footer,
body.frog-public-site .frog-catalog-shell__footer {
  padding: 30px 0;
  border-top: 1px solid #dbe9e2;
  color: #10271f;
  background: #f2f8f5;
}

.frog-public__footer .frog-public__shell {
  width: min(1480px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.frog-catalog-shell__footer .frog-catalog-shell__shell {
  width: min(1480px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

.frog-public__footer-main,
.frog-catalog-shell__footer-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.frog-public__footer-main b,
.frog-catalog-shell__footer-main b {
  color: #0a241b;
  font-size: 28px;
}

.frog-public__footer-main span,
.frog-catalog-shell__footer-main span {
  color: #61766d;
  font-size: 17px;
}

.frog-public__footer-main small,
.frog-catalog-shell__footer-main small {
  margin-left: auto;
  color: #6a7f76;
  font-size: 15px;
}

.frog-public__footer-main small a,
.frog-catalog-shell__footer-main small a {
  color: #007b51;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.frog-public__legal,
.frog-catalog-shell__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d6e5dd;
}

.frog-public__legal a,
.frog-catalog-shell__legal a {
  color: #526a60 !important;
  font-size: 14px !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .frog-public__footer .frog-public__shell,
  .frog-catalog-shell__footer .frog-catalog-shell__shell {
    width: calc(100% - 28px) !important;
  }

  .frog-public__footer-main,
  .frog-catalog-shell__footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .frog-public__footer-main small,
  .frog-catalog-shell__footer-main small {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .frog-public__footer .frog-public__shell,
  .frog-catalog-shell__footer .frog-catalog-shell__shell {
    width: calc(100% - 24px) !important;
  }
}
