/* Footer uses the current header composition; all rules remain inside its own root. */
html:root body.base .footfon.hartm-footer-header-layout{position:relative;padding:0!important;border:0!important;background:url('/hartm-header-footer-bg.jpg') center/cover no-repeat!important;color:#111!important}
body.base .hartm-footer-header-layout>.container{width:100%!important;max-width:none!important;padding:9.72px 24px!important;box-sizing:border-box!important;border-bottom:1px solid transparent;height:var(--hf-main-height,auto)}
html:root body.base .footfon.hartm-footer-header-layout footer{padding:0!important;height:100%}
body.base .hartm-footer-header-layout .hf-main{display:grid;grid-template-columns:min(29vw,374px) minmax(0,1fr) min(29vw,374px);grid-template-areas:'contacts brand links' 'contacts logo links';gap:6px 20px;align-items:center;min-height:0;height:100%;position:relative}
body.base .hartm-footer-header-layout .hf-brand-title{grid-area:brand;align-self:start;text-align:center;text-transform:uppercase;line-height:1.08;font-size:21px;letter-spacing:.8px;padding:0 5px}
body.base .hartm-footer-header-layout .hf-logo{grid-area:logo;align-self:start;justify-self:center;display:flex;line-height:0}
body.base .hartm-footer-header-layout .hf-brand-mark{grid-area:logo;align-self:start;justify-self:center;text-align:center}
body.base .hartm-footer-header-layout .hf-brand-mark .hf-logo{justify-content:center}
body.base .hartm-footer-header-layout .hf-details{font-size:12px;line-height:1.2;margin-top:2px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
body.base .hartm-footer-header-layout .hf-logo img{display:block;width:auto;height:116px;max-height:116px;max-width:100%;object-fit:contain;padding:0 4px;box-sizing:border-box}
body.base .hartm-footer-header-layout .hf-contacts{grid-area:contacts;min-width:0;padding:16px;box-sizing:border-box;border-radius:24px;background:rgba(255,255,255,.59);font-size:17.6px;line-height:1.42}
body.base .hartm-footer-header-layout .hf-contact-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.base .hartm-footer-header-layout .hf-phones{flex:0 0 auto;white-space:nowrap}
body.base .hartm-footer-header-layout .hf-social{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:42%;min-width:0}
body.base .hartm-footer-header-layout .hf-social a,body.base .hartm-footer-header-layout .hf-social img{display:block;width:100%!important;height:auto!important;aspect-ratio:1;min-width:0}
body.base .hartm-footer-header-layout .hartm-channel-links{margin:0!important;padding-top:2px;gap:8px}
body.base .hartm-footer-header-layout .hf-links{grid-area:links;align-self:center;background:rgba(255,255,255,.59);border-radius:24px;padding:16px;min-width:0;box-sizing:border-box}
body.base .hartm-footer-header-layout .hf-links-title{font-size:17.6px;line-height:1.42;margin:0 0 6px;text-transform:uppercase}
body.base .hartm-footer-header-layout .hf-link-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(4,auto);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:0;padding:0;list-style:none;font-size:16.7px;line-height:1.3}
body.base .hartm-footer-header-layout .hf-link-grid li{margin:0;padding:0;min-width:0;list-style:none}
body.base .hartm-footer-header-layout .hf-link-grid li:before{display:none;content:none}
body.base .hartm-footer-header-layout .hf-link-grid a{color:#111;text-decoration:none;display:inline-block;min-height:24px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.base .hartm-footer-header-layout .hf-promo{display:grid;grid-template-columns:173.33px minmax(0,1fr) 133.45px;grid-template-areas:'payments promo languages';align-items:center;gap:16px;height:var(--hf-promo-height,auto);min-height:48.277px;padding:1.867px 18px 1.867px 4px;box-sizing:border-box;background:rgba(255,255,255,.67)}
body.base .hartm-footer-header-layout .hf-promo-content{grid-area:promo;display:flex;align-items:center;justify-content:center;gap:18px;min-width:0}
body.base .hartm-footer-header-layout .hf-promo-content>img{width:auto;height:44.55px;max-height:44.55px;object-fit:contain;flex:0 0 auto}
body.base .hartm-footer-header-layout .hf-promo-text{font-family:'Hartm PF Handbook',sans-serif!important;font-size:clamp(11px,1.21951vw - 2.12195px,19.008px);line-height:1.35;text-align:center;min-width:0}
body.base .hartm-footer-header-layout .hf-language-host{grid-area:languages;display:flex;justify-content:center;min-width:0}
body.base .hartm-footer-header-layout .hartm-language-row{position:static!important;inset:auto!important;margin:0!important;padding:0!important;transform:none!important}
body.base .hartm-footer-header-layout .hf-payment-host{grid-area:payments;position:static;justify-self:start;width:173.33px;min-width:0}
body.base .hartm-footer-header-layout .hf-payment-host{height:32px}
body.base .hartm-footer-header-layout [data-hartm-payment-slot='footer']{display:flex!important;position:static!important;inset:auto!important;width:260px!important;max-width:none!important;height:48px!important;margin:0!important;padding:0!important;min-height:48px!important;transform:scale(.666666666667)!important;transform-origin:left top!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:6px!important}
body.base .hartm-footer-header-layout [data-hartm-payment-slot='footer'] .hartm-payment-logo{width:60.5px!important}
body.base .hartm-footer-header-layout footer>.clearboth{margin:0!important;padding:0!important;min-height:0!important}
body.base .hartm-footer-header-layout .powered-by{margin:0!important}
@media(min-width:761px) and (max-width:1230px){body.base .hartm-footer-header-layout .hf-link-grid{font-size:15.5px;gap:4px 8px}}
@media(min-width:761px) and (max-width:1000px){body.base .hartm-footer-header-layout .hf-main{grid-template-columns:minmax(0,1fr) minmax(240px,300px) minmax(0,1fr)}body.base .hartm-footer-header-layout .hf-contacts{font-size:16.445px;padding:10px}body.base .hartm-footer-header-layout .hf-links{padding:10px}body.base .hartm-footer-header-layout .hf-link-grid{font-size:15px}body.base .hartm-footer-header-layout .hf-brand-title{font-size:18px}body.base .hartm-footer-header-layout .hf-logo img{height:104px}}
@media(max-width:760.99px){
body.base .hartm-footer-header-layout>.container{padding:8px 12px!important}
body.base .hartm-footer-header-layout .hf-main{grid-template-columns:100px minmax(0,1fr);grid-template-areas:'brand brand' 'logo contacts' 'links links';grid-template-rows:auto minmax(137px,auto) auto;gap:3px 12px}
body.base .hartm-footer-header-layout .hf-brand-title{font-size:14px;line-height:1.2;letter-spacing:.1px}
body.base .hartm-footer-header-layout .hf-logo{align-self:center}
body.base .hartm-footer-header-layout .hf-brand-mark{align-self:center}
body.base .hartm-footer-header-layout .hf-details{font-size:10px;line-height:1.2}
body.base .hartm-footer-header-layout .hf-logo img{height:76px;max-height:76px;max-width:108px}
body.base .hartm-footer-header-layout .hf-contacts{font-size:12px;line-height:1.35;padding:6px 8px;border-radius:10px}
body.base .hartm-footer-header-layout .hf-contact-top{gap:4px}
body.base .hartm-footer-header-layout .hf-social{width:52%;gap:2px}
body.base .hartm-footer-header-layout .hf-links{padding:2px 12px;border-radius:10px;width:100%}
body.base .hartm-footer-header-layout .hf-links-title{font-size:14px;line-height:1.2;margin-bottom:4px}
body.base .hartm-footer-header-layout .hf-link-grid{font-size:12px;line-height:1.2;gap:0 12px}
body.base .hartm-footer-header-layout .hf-link-grid a{min-height:18px}
body.base .hartm-footer-header-layout .hf-promo{grid-template-columns:minmax(0,1fr);grid-template-areas:'promo' 'payments';height:auto;min-height:var(--hf-promo-height,56.925px);padding:7px 12px;gap:6px}
body.base .hartm-footer-header-layout .hf-promo-content{justify-content:flex-start;gap:10px}
body.base .hartm-footer-header-layout .hf-promo-content>img{width:62px;max-width:23%;height:auto;max-height:40px}
body.base .hartm-footer-header-layout .hf-promo-text{font-size:12px;line-height:1.3}
body.base .hartm-footer-header-layout .hf-promo-cost{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
body.base .hartm-footer-header-layout .hf-promo-cost .hartm-language-row{width:auto!important;flex:0 0 auto}
body.base .hartm-footer-header-layout .hf-contacts .hcx-button{padding:4px 8px!important}
body.base .hartm-footer-header-layout .hf-language-host{display:none}
body.base .hartm-footer-header-layout .hf-links-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
body.base .hartm-footer-header-layout .hf-payment-host{grid-area:payments;position:static;justify-self:center;flex:0 0 auto;width:173.33px;max-width:100%;min-width:0}
}

@media(min-width:761px){body.base .hartm-footer-header-layout .hf-details{position:relative;top:var(--hf-details-shift,0px)}}

/* Messenger positions and spacing follow the existing header synchronizer. */
body.base .hartm-footer-header-layout .hf-contact-top{position:relative;min-height:var(--hf-it)}
body.base .hartm-footer-header-layout .hf-social{position:absolute;left:var(--hf-ix);top:50%;transform:translateY(-50%);width:var(--hf-iw);max-width:none;grid-template-columns:var(--hf-ic);column-gap:var(--hf-ig);align-items:center}
body.base .hartm-footer-header-layout .hf-social a{display:inline-flex;align-items:center;justify-content:center;height:var(--hf-ih)!important;aspect-ratio:auto}
body.base .hartm-footer-header-layout .hf-social img{max-width:25.344px!important;max-height:none!important;padding:0!important}
@media(max-width:760px){body.base .hartm-footer-header-layout .hf-social img{max-width:21.114px!important}}

a[href="https://metrika.yandex.ru/stat/?id=97165744&from=informer"]{display:none!important}
