/* Canonical TPL_FOOTER. Every rule is contained by the component root. */
.site-footer.sf-shell-footer {
  --sf-footer-green:#67b346;
  position:relative;
  isolation:isolate;
  box-sizing:border-box !important;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:#292a2b;
  color:#edeeec;
  font:400 16px/1.5 Onest,Arial,sans-serif;
  font-family:Onest,Arial,sans-serif !important;
  text-align:left;
}
.site-footer.sf-shell-footer *,
.site-footer.sf-shell-footer *::before,
.site-footer.sf-shell-footer *::after { box-sizing:border-box !important; }
.site-footer.sf-shell-footer * { font-family:Onest,Arial,sans-serif !important; }
.site-footer.sf-shell-footer :is(p,figure) { margin:0;padding:0; }
.site-footer.sf-shell-footer a { color:inherit;text-decoration:none; }
.site-footer.sf-shell-footer a:hover { color:#fff;text-decoration:underline;text-decoration-color:var(--sf-footer-green);text-underline-offset:5px; }
.site-footer.sf-shell-footer .icon { display:block;flex:none; }
.site-footer.sf-shell-footer .footer-shell { position:relative;z-index:1;width:calc(100% - 80px);max-width:1170px;margin:0 auto;padding:43px 0 30px; }
.site-footer.sf-shell-footer .footer-main-grid { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:60px; }
.site-footer.sf-shell-footer .footer-primary { min-width:0; }
.site-footer.sf-shell-footer .footer-original-menu { display:grid;grid-auto-flow:column;grid-template-rows:repeat(8,auto);grid-template-columns:1fr 1.12fr;align-items:start;gap:10px 35px;margin:0;padding:0; }
.site-footer.sf-shell-footer .footer-original-menu > a { min-height:27px;color:#dededc;font:400 16px/1.6 Onest,Arial,sans-serif; }
.site-footer.sf-shell-footer .footer-original-menu > a:nth-child(-n+2) { color:#fff;font-weight:500; }
.site-footer.sf-shell-footer .footer-cities { margin-top:31px;padding-top:24px;border-top:1px solid #ffffff17; }
.site-footer.sf-shell-footer .footer-cities > span { display:block;margin-bottom:13px;color:#9fa19e;font-size:14px; }
.site-footer.sf-shell-footer .footer-cities > div { display:flex;flex-wrap:wrap;gap:9px 16px; }
.site-footer.sf-shell-footer .footer-cities a { color:#b5b7b3;font-size:14px;line-height:1.6; }
.site-footer.sf-shell-footer .footer-cities .footer-other-cities { display:flex;align-items:center;gap:6px;color:#eee; }
.site-footer.sf-shell-footer .footer-other-cities .icon { width:15px;height:15px;color:var(--sf-footer-green); }
.site-footer.sf-shell-footer .footer-contact-line { display:flex;flex-wrap:wrap;align-items:center;gap:21px 28px;margin-top:28px; }
.site-footer.sf-shell-footer .footer-contact-line > a { display:flex;align-items:center;gap:8px;min-height:44px;color:#f2f3ef;font-size:16px; }
.site-footer.sf-shell-footer .footer-contact-line > a:first-child { font-size:21px;font-weight:500;letter-spacing:-.3px;white-space:nowrap; }
.site-footer.sf-shell-footer .footer-contact-line .icon { width:19px;height:19px;color:var(--sf-footer-green); }
.site-footer.sf-shell-footer .footer-contact-line .footer-gift-link { padding:0 12px;border:1px solid #ffffff26;border-radius:11px;font-size:14px; }
.site-footer.sf-shell-footer .footer-contact-line .footer-gift-link:hover { border-color:var(--sf-footer-green);background:#ffffff06;text-decoration:none; }
.site-footer.sf-shell-footer .footer-service-column { display:flex;flex-direction:column;gap:25px;min-width:0;padding-left:28px;border-left:1px solid #ffffff17; }
.site-footer.sf-shell-footer .footer-social { display:flex;align-items:center;justify-content:space-between;gap:18px; }
.site-footer.sf-shell-footer .footer-social > span,
.site-footer.sf-shell-footer .footer-payment-methods > span,
.site-footer.sf-shell-footer .footer-downloads > span { color:#aeb0ac;font-size:14px; }
.site-footer.sf-shell-footer .footer-social > div { display:flex;gap:9px; }
.site-footer.sf-shell-footer .footer-social a { display:grid;place-items:center;min-width:41px;height:41px;padding:0;border:1px solid #ffffff26;border-radius:12px;color:#eeefec;font-size:16px;font-weight:600; }
.site-footer.sf-shell-footer .footer-social a:hover { border-color:var(--sf-footer-green);background:#ffffff09;text-decoration:none; }
.site-footer.sf-shell-footer .footer-social .icon { width:22px;height:22px; }
.site-footer.sf-shell-footer .footer-payment-methods > span { display:block;margin-bottom:14px; }
.site-footer.sf-shell-footer .footer-payment-methods > div { display:flex;align-items:center;flex-wrap:wrap;gap:15px 17px; }
.site-footer.sf-shell-footer .footer-payment-methods a { display:block;color:#e4e5e2;font-size:15px; }
.site-footer.sf-shell-footer .footer-downloads { display:grid;gap:9px; }
.site-footer.sf-shell-footer .footer-downloads > span { margin-bottom:3px; }
.site-footer.sf-shell-footer .footer-downloads > a { display:flex;align-items:center;gap:12px;min-height:50px;padding:0 14px;border:1px solid #ffffff26;border-radius:12px;background:#ffffff03;color:#efefed; }
.site-footer.sf-shell-footer .footer-downloads > a:hover { border-color:#8b9484;background:#ffffff08;text-decoration:none; }
.site-footer.sf-shell-footer .footer-downloads b { font-size:16px;font-weight:450; }
.site-footer.sf-shell-footer .footer-downloads .icon { width:20px;height:20px;color:#aeb0ac; }
.site-footer.sf-shell-footer .footer-downloads .icon:last-child { width:17px;height:17px;margin-left:auto; }
.site-footer.sf-shell-footer .footer-security { display:flex;align-items:center;flex-wrap:wrap;gap:11px 17px;color:#a3a5a1;font-size:14px;line-height:1.6; }
.site-footer.sf-shell-footer .footer-security a { display:flex;align-items:center;gap:7px;color:#a3a5a1;font-size:14px; }
.site-footer.sf-shell-footer .footer-yandex { display:flex;align-items:center;gap:11px;min-height:66px;padding:11px 12px;border:1px solid #ffffff26;border-radius:13px; }
.site-footer.sf-shell-footer .footer-yandex:hover { border-color:#8b9484;background:#ffffff05;text-decoration:none; }
.site-footer.sf-shell-footer .yandex-letter { width:24px;color:#eeefec;font-size:26px;font-weight:500;text-align:center; }
.site-footer.sf-shell-footer .footer-yandex b { display:block;color:#e9eae7;font-size:14px;font-weight:500; }
.site-footer.sf-shell-footer .footer-yandex small { display:block;margin-top:3px;color:#aeb0ac;font-size:14px;line-height:1.5; }
.site-footer.sf-shell-footer .footer-yandex > .icon { width:17px;height:17px;margin-left:auto;color:#aeb0ac; }
.site-footer.sf-shell-footer .footer-legal-grid { display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:34px;padding-top:25px;border-top:1px solid #ffffff1c;color:#a3a5a1;font-size:14px;line-height:1.75; }
.site-footer.sf-shell-footer .footer-company { margin-bottom:8px;color:#cecfca;font-size:14px; }
.site-footer.sf-shell-footer .footer-requisites { display:flex;flex-wrap:wrap;gap:1px 15px; }
.site-footer.sf-shell-footer .footer-address { display:block;max-width:500px;margin-top:8px;color:#a3a5a1; }
.site-footer.sf-shell-footer .footer-legal-contact > p:first-child { margin-bottom:5px;color:#cecfca; }
.site-footer.sf-shell-footer .footer-legal-contact > div { display:flex;flex-wrap:wrap;gap:5px 20px;margin-bottom:5px; }
.site-footer.sf-shell-footer .footer-legal-contact > div > a { color:#c5c7c1; }
.site-footer.sf-shell-footer .footer-legal-contact > p:last-child { margin-top:5px; }
.site-footer.sf-shell-footer :is(a,button):focus-visible { outline:2px solid #a5d88b;outline-offset:4px; }

/* The ID keeps legacy page CSS from changing the shared footer's type metrics. */
#site-footer.site-footer.sf-shell-footer .footer-legal-grid p { font:inherit; }

@media (max-width:1050px) {
  .site-footer.sf-shell-footer .footer-main-grid { grid-template-columns:minmax(0,1fr) 260px;gap:32px; }
  .site-footer.sf-shell-footer .footer-service-column { gap:28px;padding-left:22px; }
  .site-footer.sf-shell-footer .footer-original-menu { grid-auto-flow:row;grid-template-rows:none;grid-template-columns:1fr;row-gap:9px; }
  .site-footer.sf-shell-footer .footer-social { flex-wrap:wrap;gap:12px; }
  .site-footer.sf-shell-footer .footer-legal-grid { gap:32px; }
}
@media (max-width:760px) {
  .site-footer.sf-shell-footer .footer-shell { width:calc(100% - 48px);padding-top:33px; }
  .site-footer.sf-shell-footer .footer-main-grid { grid-template-columns:1fr;gap:32px; }
  .site-footer.sf-shell-footer .footer-original-menu { grid-auto-flow:column;grid-template-rows:repeat(8,auto);grid-template-columns:1fr 1.12fr;column-gap:25px; }
  .site-footer.sf-shell-footer .footer-service-column { display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:27px 0 0;border-top:1px solid #ffffff1c;border-left:0; }
  .site-footer.sf-shell-footer .footer-social { align-self:start;flex-direction:column;align-items:flex-start; }
  .site-footer.sf-shell-footer .footer-downloads { grid-row:2/4;grid-column:1; }
  .site-footer.sf-shell-footer .footer-legal-grid { grid-template-columns:1fr;gap:21px; }
}
@media (max-width:560px) {
  .site-footer.sf-shell-footer .footer-shell { width:calc(100% - 44px);padding:28px 0; }
  .site-footer.sf-shell-footer .footer-original-menu { grid-auto-flow:row;grid-template-rows:none;grid-template-columns:1fr;gap:11px; }
  .site-footer.sf-shell-footer .footer-original-menu > a { min-height:30px;font-size:16px;line-height:1.65; }
  .site-footer.sf-shell-footer .footer-cities { margin-top:24px;padding-top:22px; }
  .site-footer.sf-shell-footer .footer-contact-line { flex-direction:column;align-items:flex-start;gap:7px;margin-top:24px; }
  .site-footer.sf-shell-footer .footer-contact-line > a:first-child { font-size:23px; }
  .site-footer.sf-shell-footer .footer-contact-line .footer-gift-link { min-height:46px;margin-top:5px;padding:0 15px;font-size:16px; }
  .site-footer.sf-shell-footer .footer-service-column { grid-template-columns:1fr;gap:25px; }
  .site-footer.sf-shell-footer .footer-social { flex-direction:row;align-items:center;flex-wrap:wrap; }
  .site-footer.sf-shell-footer .footer-downloads { grid-row:auto;grid-column:auto; }
  .site-footer.sf-shell-footer .footer-legal-grid { gap:23px;margin-top:28px;padding-top:23px; }
  .site-footer.sf-shell-footer .footer-requisites,
  .site-footer.sf-shell-footer .footer-legal-contact > div { flex-direction:column;gap:2px; }
  .site-footer.sf-shell-footer .footer-legal-contact br { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .site-footer.sf-shell-footer * { transition-duration:.01ms !important;animation-duration:.01ms !important; }
}
