/* Self-contained catalog footer; other public-page footers keep their theme. */
footer.catalog-footer {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1.1fr);
  gap: 36px 48px;
  align-items: start;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 44px max(28px, calc((100% - 1280px) / 2)) 22px !important;
  border-top: 3px solid #f4c53d;
  background: linear-gradient(120deg, #0b203a, #0c3441 65%, #07533f) !important;
  color: #f2f7f6 !important;
  font: 14px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.catalog-footer *, .catalog-footer *::before, .catalog-footer *::after { box-sizing: border-box; }
footer.catalog-footer::before { content: ""; position: absolute; left: 0; bottom: 0; width: 240px; height: 170px; background: url("news-assets/images/building-ornament.webp") left bottom/contain no-repeat; opacity: .08; pointer-events: none; z-index: -1; }
footer.catalog-footer::after { content: ""; position: absolute; right: 0; bottom: 0; width: 190px; height: 210px; background: url("news-assets/images/leaves-right.webp") right bottom/contain no-repeat; padding: 0; opacity: .12; pointer-events: none; z-index: -1; }
.catalog-footer > div { min-width: 0; position: relative; z-index: 1; }
.catalog-footer h3 { margin: 0 0 12px; color: #fff; font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: 0; }
.catalog-footer p { margin: 0; color: #c5d7d7; font-size: 13px; line-height: 1.8; }
.catalog-footer__brand h3 { max-width: 340px; }
.catalog-footer__logo { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px; padding: 8px; background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 14px; }
.catalog-footer__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.catalog-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin-top: 18px; }
.catalog-footer__links a { color: #e7f8f2; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 4px 0; border-bottom: 1px solid #ffffff24; text-decoration: none; font-size: 13px; line-height: 1.5; }
.catalog-footer__links a span { color: #f4c53d; }
.catalog-footer__links a:hover { color: #f4c53d !important; border-bottom-color: #f4c53d; }
.catalog-footer__search { display: flex; align-items: stretch; gap: 6px; width: 100%; min-width: 0; min-height: 52px; margin: 18px 0 10px; padding: 5px; border: 1px solid #dbe6e4; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px #00000012; }
.catalog-footer__search input[type="search"] { appearance: none; display: block; flex: 1 1 0%; width: 0; min-width: 0; min-height: 40px; margin: 0; padding: 0 9px; border: 0; border-radius: 7px; outline: 0; background: transparent; color: #193348; font: inherit; font-size: 13px; line-height: 1.5; }
.catalog-footer__search input::placeholder { color: #657787; opacity: 1; }
.catalog-footer__search button { appearance: none; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-width: 80px; min-height: 40px; margin: 0; padding: 0 14px; border: 0; border-radius: 8px; background: #f4c53d; color: #0b203a; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.catalog-footer__search button:hover { background: #ffda65; }
footer.catalog-footer .catalog-footer__search svg { flex: none; fill: none !important; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.catalog-footer__search:focus-within { outline: 3px solid #f4c53d; outline-offset: 3px; }
.catalog-footer a:focus-visible, .catalog-footer button:focus-visible { outline: 3px solid #f4c53d; outline-offset: 4px; }
.catalog-footer__hint { display: block; color: #adc8c7; font-size: 12px; line-height: 1.6; }
.catalog-footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 0; padding-top: 20px; border-top: 1px solid #ffffff26; color: #afc9c9; font-size: 11px; line-height: 1.7; }
.catalog-footer__bottom b { color: #e4eeeb; font-weight: 600; }
@media (max-width: 1100px) {
  footer.catalog-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 36px; }
  .catalog-footer__brand { grid-row: span 2; }
}
@media (max-width: 640px) {
  footer.catalog-footer { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 20px 20px !important; }
  .catalog-footer__brand { grid-row: auto; }
  .catalog-footer__logo { margin-bottom: 16px; }
  .catalog-footer__brand h3 { max-width: none; }
  .catalog-footer__bottom { display: grid; gap: 8px; padding-top: 18px; }
}
