/* Подвал старой витрины: стили ограничены его собственным классом. */
#footer.legacy-footer {
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
#footer.legacy-footer .inner { padding: 36px 0; }
#footer.legacy-footer .legacy-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px 28px;
  align-items: start;
}
#footer.legacy-footer .legacy-footer__section,
#footer.legacy-footer .legacy-footer__post-copy { min-width: 0; overflow-wrap: anywhere; }
#footer.legacy-footer .widget-title { margin: 0 0 18px; line-height: 1.5; }
#footer.legacy-footer small { color: inherit; font-size: inherit; }
#footer.legacy-footer a { color: inherit; }
#footer.legacy-footer a:hover,
#footer.legacy-footer a:focus { color: #fff; }
#footer.legacy-footer a:focus-visible { outline: 2px solid #f28500; outline-offset: 4px; }
#footer.legacy-footer .legacy-footer__image { display: block; width: 100%; max-width: 320px; }
#footer.legacy-footer .legacy-footer__image img { display: block; width: 100%; height: auto; object-fit: contain; }
#footer.legacy-footer .legacy-footer__schedule { max-width: 230px; }
#footer.legacy-footer .legacy-footer__text { margin: 18px 0 24px; }
#footer.legacy-footer .legacy-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 12px; }
#footer.legacy-footer .legacy-footer__social a { display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; font-size: 20px; }
#footer.legacy-footer .legacy-footer__rating { display: block; max-width: 100%; border: 0; }
#footer.legacy-footer .legacy-footer__posts { display: grid; gap: 22px; }
#footer.legacy-footer .legacy-footer__posts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 0; }
#footer.legacy-footer .legacy-footer__posts .date-post { position: static; display: block; margin: 0; padding: 6px 3px; color: #fff; align-self: start; }
#footer.legacy-footer .legacy-footer__posts .date-post small { font-size: 10px; }
#footer.legacy-footer .legacy-footer__posts .title-post { color: #fff; }
#footer.legacy-footer .legacy-footer__post-copy small { margin-top: 4px; font-size: 12px; }
#footer.legacy-footer .legacy-footer__contacts { display: grid; gap: 14px; }
#footer.legacy-footer .legacy-footer__contacts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 0; }
#footer.legacy-footer .legacy-footer__contacts i { position: static; display: block; width: auto; margin-top: 4px; line-height: 1.3; }
#footer.legacy-footer .legacy-footer__contacts .legacy-footer__contact-link { display: block; padding-left: 30px; }
#footer.legacy-footer .copyright { padding: 22px 0; font-size: 12px; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  #footer.legacy-footer .inner { padding: 44px 0; }
  #footer.legacy-footer .legacy-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (min-width: 1200px) {
  #footer.legacy-footer .legacy-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
