/* Footer layout and office map, scoped to the main-page footer. */
footer .footer-grid.footer-with-map {
  grid-template-columns: minmax(0,1.25fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,1fr);
  grid-template-areas: "brand catalog more contacts contacts" "brand sections sections contacts contacts";
  grid-template-rows: auto 1fr;
  row-gap: 28px;
  align-items: start;
}
.footer-with-map .footer-brand-card { grid-area: brand; align-self: start; }
.footer-with-map .footer-catalog-column { grid-area: catalog; }
.footer-with-map .footer-more-column { grid-area: more; }
.footer-with-map .footer-sections-column { grid-area: sections; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-with-map .footer-contact-column { grid-area: contacts; min-width: 0; }

/* Keep the brand card's existing typography; simplify the navigation and contacts. */
footer .footer-with-map .footer-title {
  font-size: 12px !important;
  line-height: 1.4;
  font-weight: 600 !important;
  letter-spacing: .09em;
  margin-bottom: 16px;
}
footer .footer-with-map > :not(.footer-brand-card) .footer-list {
  font-size: 14px !important;
  line-height: 1.65 !important;
  gap: 10px;
}
footer .footer-with-map > :not(.footer-brand-card) .footer-list a {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.65;
  letter-spacing: normal;
  text-shadow: none;
  color: rgba(255,255,255,.8) !important;
}
footer .footer-with-map > :not(.footer-brand-card) .footer-list a:hover,
footer .footer-with-map > :not(.footer-brand-card) .footer-list a:focus-visible { color: #fff !important; }
footer .footer-with-map .footer-contact-column .footer-list { grid-template-columns: minmax(0,1fr); gap: 9px; }
footer .footer-with-map .footer-contact-column a[href^="tel:"] { font-size: 17px !important; font-weight: 600 !important; color: #fff !important; }
footer .footer-with-map .footer-map-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  border-radius: 4px;
}
footer .footer-with-map .footer-map-link span { min-width: 0; color: inherit !important; }
footer .footer-map-link .footer-map-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; margin-top: .15em; color: #c7a4db; }
footer .footer-map-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
footer .footer-with-map a:focus-visible { outline: 2px solid #c7a4db; outline-offset: 5px; }
footer .footer-with-map .footer-sections-column .footer-list { display: flex; flex-wrap: wrap; gap: 8px 0; }
footer .footer-with-map .footer-sections-column a { display: inline-flex; align-items: center; white-space: nowrap; }
footer .footer-with-map .footer-sections-column a + a::before { content: "·"; color: rgba(255,255,255,.35); margin: 0 12px; }
footer .footer-with-map .footer-map-frame {
  width: 100%; height: 250px; margin-top: 20px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: #eeeaf4;
}
footer .footer-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
footer .footer-with-map .footer-requisites {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  margin: 12px 0 0; font-size: 12px; line-height: 1.6; font-weight: 400; color: rgba(255,255,255,.55);
}
footer .footer-requisites span { white-space: nowrap; }
@media (max-width:1100px) {
  footer .footer-grid.footer-with-map {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    grid-template-areas: "brand catalog" "more sections" "contacts contacts";
    grid-template-rows: auto;
  }
  .footer-with-map .footer-sections-column { padding-top: 0; border-top: 0; }
  footer .footer-with-map .footer-map-frame { height: 280px; }
}
@media (max-width:760px) {
  footer .footer-grid.footer-with-map { grid-template-columns: minmax(0,1fr); grid-template-areas: "brand" "catalog" "more" "sections" "contacts"; }
  .footer-with-map .footer-sections-column { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
  footer .footer-with-map .footer-map-frame { height: 260px; }
  footer .footer-with-map .footer-sections-column .footer-list { column-gap: 16px; }
  footer .footer-with-map .footer-sections-column a + a::before { content: none; }
}
