/* Shared footer extension. Existing theme footer/Bootstrap classes stay unchanged. */
.cabinet-shared-footer { font-size:14px; line-height:1.5; }
.cabinet-shared-footer-grid { display:grid; grid-template-columns:1.15fr .9fr 1.4fr 1fr 1.2fr; gap:32px; }
.cabinet-shared-footer-grid>* { min-width:0; }
.cabinet-shared-footer a,.cabinet-footer-cookie { color:rgba(248,249,250,.75); text-decoration:none; }
.cabinet-shared-footer a:hover,.cabinet-footer-cookie:hover { color:#fff; }
.cabinet-shared-footer h2 { font-size:.875em; line-height:1.5; font-weight:700; letter-spacing:.08rem; }
.cabinet-shared-footer h2 a { color:inherit; }
.cabinet-shared-footer li { margin-bottom:1rem; break-inside:avoid; }
.cabinet-shared-footer .site-footer-categories { column-gap:20px; }
.cabinet-shared-footer address { font-style:normal; }
.cabinet-shared-footer-business { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.cabinet-shared-footer-bottom { display:grid; grid-template-columns:1fr 2.4fr 1fr; align-items:center; gap:30px; }
.cabinet-shared-footer-bottom>span:last-child { text-align:right; }
.cabinet-footer-cookie { padding:0; border:0; background:none; font:inherit; text-align:left; }
.cabinet-shared-footer-note { font-size:12px; line-height:1.8; margin:20px 0 0; max-width:850px; }
@media (min-width:992px) and (max-width:1199px) {
  .cabinet-shared-footer-grid { grid-template-columns:1fr 1.5fr 1fr 1.5fr; gap:28px; }
  .cabinet-shared-footer-brand { grid-column:1/-1; }
}
@media (max-width:991px) {
  .cabinet-shared-footer-grid { grid-template-columns:1fr 1.5fr 1fr; gap:38px 28px; }
  .cabinet-shared-footer-brand,.cabinet-shared-footer-contacts { grid-column:1/-1; }
  .cabinet-shared-footer-bottom { grid-template-columns:1fr; gap:16px; }
  .cabinet-shared-footer-bottom>span:last-child { text-align:left; }
}
@media (max-width:767px) {
  .cabinet-shared-footer-grid { grid-template-columns:1fr 1fr; gap:42px 24px; }
  .cabinet-shared-footer-cabinet { grid-column:1/-1; }
  .cabinet-shared-footer-cabinet ul { columns:2; column-gap:24px; }
  .cabinet-shared-footer-business { flex-direction:column; align-items:flex-start; gap:18px; }
}
