/* v1.1.53 — CLEAN single owner for main header/footer colors.
   Main site only; landing plugin header/footer are excluded. */
html body .site-header:not(.rkv3c-site-header){
  position:fixed;
  left:0;
  right:0;
  top:0;
  width:100%;
  z-index:1000;
  background:#2a2826 !important;
  background-image:none !important;
  border-bottom:1px solid rgba(244,238,223,.12) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.30) !important;
  color:#f4eedf !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html body.admin-bar .site-header:not(.rkv3c-site-header){top:32px;}
@media(max-width:782px){html body.admin-bar .site-header:not(.rkv3c-site-header){top:46px;}}
html body .site-header:not(.rkv3c-site-header) .header-layout{min-height:82px;display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,2fr) minmax(205px,.8fr);align-items:center;gap:18px;}
html body .site-header:not(.rkv3c-site-header) .brand-logo,
html body .site-header:not(.rkv3c-site-header) .brand-logo:visited{justify-self:start;color:#f4eedf !important;-webkit-text-fill-color:#f4eedf !important;text-decoration:none !important;font-weight:650;opacity:1 !important;}
html body .site-header:not(.rkv3c-site-header) .main-nav{display:flex;justify-content:center;align-items:center;gap:clamp(12px,1.25vw,20px);white-space:nowrap;}
html body .site-header:not(.rkv3c-site-header) .main-nav a,
html body .site-header:not(.rkv3c-site-header) nav a{color:rgba(244,238,223,.82) !important;-webkit-text-fill-color:rgba(244,238,223,.82) !important;text-decoration:none !important;font-size:13px;font-weight:500;line-height:1.2;opacity:1 !important;}
html body .site-header:not(.rkv3c-site-header) .main-nav a:hover,
html body .site-header:not(.rkv3c-site-header) nav a:hover,
html body .site-header:not(.rkv3c-site-header) .main-nav a[aria-current],
html body .site-header:not(.rkv3c-site-header) .main-nav a.active{color:#d6aa52 !important;-webkit-text-fill-color:#d6aa52 !important;}
html body .site-header:not(.rkv3c-site-header) .header-contacts{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:4px;}
html body .site-header:not(.rkv3c-site-header) .header-contacts a{color:rgba(244,238,223,.88) !important;-webkit-text-fill-color:rgba(244,238,223,.88) !important;text-decoration:none !important;font-size:13px;font-weight:500;line-height:1.25;opacity:1 !important;}
html body .site-header:not(.rkv3c-site-header) .header-contacts a:hover{color:#d6aa52 !important;-webkit-text-fill-color:#d6aa52 !important;}
html body .site-header:not(.rkv3c-site-header) .mobile-menu-toggle{background:rgba(255,255,255,.055) !important;border:1px solid rgba(244,238,223,.18) !important;}
html body .site-header:not(.rkv3c-site-header) .mobile-menu-toggle span{background:#f4eedf !important;}

/* 4.0.10 — компактные подменю «Помощь» и «Кабинет». */
html body .site-header:not(.rkv3c-site-header) .rk-account-menu{position:relative;margin:0;padding:0;}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary{
  display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:0;
  color:rgba(244,238,223,.82);font-size:13px;font-weight:500;line-height:1.2;
  list-style:none;cursor:pointer;user-select:none;
}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary::-webkit-details-marker{display:none;}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary::after{content:'▾';font-size:10px;opacity:.72;transition:transform .16s ease;}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu[open] .rk-account-menu__summary::after{transform:rotate(180deg);}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary:hover,
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary:focus-visible{color:#d6aa52;outline:none;}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown{
  position:absolute;top:calc(100% + 12px);right:0;z-index:1100;display:grid;min-width:210px;
  padding:8px;border:1px solid rgba(244,238,223,.14);border-radius:14px;
  background:#34312e;box-shadow:0 18px 44px rgba(0,0,0,.34);
}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu:not([open]) .rk-account-menu__dropdown{display:none;}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown a{
  display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:9px;
  font-size:13px;font-weight:500;white-space:nowrap;
}
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown a:hover,
html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown a:focus-visible{background:rgba(255,255,255,.065);outline:none;}
@media(min-width:901px) and (max-width:1180px){
  html body .site-header:not(.rkv3c-site-header) .header-layout{grid-template-columns:minmax(130px,.65fr) minmax(0,2.15fr) minmax(180px,.75fr);gap:12px;}
  html body .site-header:not(.rkv3c-site-header) .main-nav{gap:10px;}
  html body .site-header:not(.rkv3c-site-header) .main-nav a,
  html body .site-header:not(.rkv3c-site-header) nav a,
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary{font-size:12px;}
  html body .site-header:not(.rkv3c-site-header) .header-contacts a{font-size:12px;}
}
@media(max-width:900px){
  html body .site-header:not(.rkv3c-site-header) .header-layout{display:flex;min-height:76px;}
  html body .site-header:not(.rkv3c-site-header) .main-nav#primary-navigation{background:#2a2826 !important;border:1px solid rgba(244,238,223,.12) !important;box-shadow:0 22px 64px rgba(0,0,0,.44) !important;}
  html body .site-header:not(.rkv3c-site-header) .main-nav#primary-navigation a{color:#f2ead9 !important;-webkit-text-fill-color:#f2ead9 !important;border-bottom:1px solid rgba(244,238,223,.08) !important;}
  html body.mobile-nav-open .site-header:not(.rkv3c-site-header) .main-nav#primary-navigation{max-height:calc(100vh - 110px) !important;overflow-y:auto !important;}
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu{width:100%;}
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu__summary{
    justify-content:center;width:100%;min-height:48px;color:#f2ead9;font-size:16px;font-weight:500;
    border-bottom:1px solid rgba(244,238,223,.08);
  }
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown{
    position:static;display:grid;min-width:0;width:100%;padding:6px 10px 10px;
    border:0;border-radius:0;background:rgba(255,255,255,.035);box-shadow:none;
  }
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu:not([open]) .rk-account-menu__dropdown{display:none;}
  html body .site-header:not(.rkv3c-site-header) .rk-account-menu__dropdown a{
    justify-content:center;min-height:44px;padding:0 12px;font-size:14px;font-weight:500;
    border-bottom:1px solid rgba(244,238,223,.06) !important;
  }
}

/* v1.1.60 — Footer visually matches the approved dark header.
   Keep this scoped away from landing-plugin footer/header classes. */
html body footer.rk-footer-v2473:not(.rkv3c-main-style-footer),
html body .rk-footer-v2473:not(.rkv3c-main-style-footer){
  background:#2a2826 !important;
  background-image:none !important;
  border-top:1px solid rgba(244,238,223,.12) !important;
  color:#f4eedf !important;
  box-shadow:none !important;
}
html body footer.rk-footer-v2473:not(.rkv3c-main-style-footer) *,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) *{font-family:var(--font-main, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;}
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__inner,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__top,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__bottom,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__formats{background:transparent !important;color:inherit !important;border-color:rgba(244,238,223,.12) !important;}
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__logo,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__phone,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__email,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__nav a,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__formats a,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__links a,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) a:not(.btn):not(.btn-primary){color:rgba(244,238,223,.88) !important;-webkit-text-fill-color:rgba(244,238,223,.88) !important;text-decoration:none !important;opacity:1 !important;}
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__tagline,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__tagline span,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__legal,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) p,
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) small{color:rgba(244,238,223,.66) !important;-webkit-text-fill-color:rgba(244,238,223,.66) !important;}
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) a:hover{color:#d6aa52 !important;-webkit-text-fill-color:#d6aa52 !important;}
html body .rk-footer-v2473:not(.rkv3c-main-style-footer) .rk-footer-v2473__formats a{background:rgba(255,255,255,.055) !important;border-color:rgba(244,238,223,.18) !important;}
