#rostContact {
  --rc-accent: #ff6b2d;
  position: relative;
  display: inline-flex;
  overflow: visible;
  font-family: Manrope, Arial, sans-serif;
  color: #f5f4ef;
  line-height: 1.5;
  color-scheme: dark;
}

#rostContact *,
#rostContact *::before,
#rostContact *::after {
  box-sizing: border-box;
}

#rostContact [hidden] {
  display: none !important;
}

#rostContact a {
  color: inherit;
  text-decoration: none;
}

/* Кнопка */
#rostContact .rc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #3d454d;
  border-radius: 24px;
  background: linear-gradient(165deg, #2a3036, #181e23);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  color: #f1f2ef;
  font: 500 12px/1.4 Manrope, Arial, sans-serif;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}

#rostContact .rc-button > svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#rostContact .rc-button:hover {
  border-color: #69737c;
}

#rostContact .rc-chevron {
  width: 7px;
  height: 7px;
  margin: -3px 3px 0 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s, color .18s;
}

#rostContact .rc-button[aria-expanded="true"] .rc-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
  color: var(--rc-accent);
}

/* Выпадающая панель */
#rostContact .rc-menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 12px);
  right: 0;
  width: min(326px, calc(100vw - 28px));
  padding: 23px 20px 20px;
  border: 1px solid #424950;
  border-radius: 20px;
  background:
    linear-gradient(155deg, #242a30 0%, #191f24 44%, #161c20 100%);
  box-shadow:
    0 24px 55px rgb(0 0 0 / 52%),
    inset 0 1px 0 rgb(255 255 255 / 7%);
  translate: var(--rc-shift, 0px) 0;
  transform-origin: top right;
  animation: rcContactOpen .18s ease-out;
}

#rostContact .rc-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b4bbc1;
  font-size: 11px;
  letter-spacing: 1.8px;
}

#rostContact .rc-brand::before {
  content: "";
  width: 13px;
  height: 2px;
  background: var(--rc-accent);
}

#rostContact h3 {
  margin: 9px 0 22px;
  color: #f5f4ef;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.7px;
  font-weight: 500;
}

/* Плитки каналов */
#rostContact .rc-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#rostContact .rc-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  min-height: 104px;
  padding: 12px 5px;
  border: 1px solid #414a52;
  border-radius: 14px;
  background: linear-gradient(155deg, #30373e, #252c32);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform .18s,
    border-color .18s,
    background .18s;
}

#rostContact .rc-channel:hover {
  transform: translateY(-2px);
  border-color: #697983;
  background: #343e47;
}

#rostContact .rc-channel[aria-disabled="true"] {
  cursor: default;
}

#rostContact .rc-channel[aria-disabled="true"]:hover {
  transform: none;
  border-color: #414a52;
}

#rostContact .rc-channel img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

#rostContact .rc-mail {
  display: grid;
  place-items: center;
  width: 37px;
  height: 33px;
  border-radius: 8px;
  background: #efeee7;
}

#rostContact .rc-mail svg {
  width: 25px;
  height: 25px;
  stroke: #28343d;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Телефон и график */
#rostContact .rc-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid #39434b;
}

#rostContact .rc-phone {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.45px;
}

#rostContact .rc-hours {
  color: #a7b0b8;
  font-size: 11px;
}

#rostContact :is(button, a):focus-visible {
  outline: 2px solid var(--rc-accent);
  outline-offset: 4px;
}

@keyframes rcContactOpen {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  #rostContact .rc-menu {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (pointer: coarse) {
  #rostContact .rc-button,
  #rostContact .rc-phone {
    min-height: 44px;
  }

  #rostContact .rc-phone {
    display: flex;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rostContact *,
  #rostContact *::before {
    animation: none !important;
    transition: none !important;
  }
}
/* Site integration: local Manrope is already loaded; retain the supplied design. */
body .header .header-actions #rostContact{flex:none;z-index:125}
#rostContact .rc-button{min-height:44px;white-space:nowrap;font-size:14px;padding:10px 13px}
#rostContact .rc-menu{max-height:min(540px,calc(100dvh - 110px));overflow:auto}
#rostContact .rc-brand,#rostContact .rc-hours{font-size:14px}
#rostContact .rc-channel{font-size:16px}
#rostContact .rc-phone{min-height:44px;display:inline-flex;align-items:center}
body .announcement.announcement--social{justify-content:flex-end}
body .announcement--social .ra-call-line{max-width:100%!important;margin-left:auto}
body .footer .ra-contact-text-links{display:flex;gap:12px 18px;flex-wrap:wrap;margin:0 0 16px}
body .footer .ra-contact-text-links a{font-size:17px;min-height:40px;display:inline-flex;align-items:center}
body .delivered-summary-socials.delivered-summary-socials--text{gap:16px;align-items:center;flex-wrap:wrap}
body .delivered-summary-socials.delivered-summary-socials--text a{width:auto!important;height:auto!important;min-height:44px;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:5px 0;font:550 17px/1.5 Manrope,Arial,sans-serif;color:#d6e0e8}
@media(max-width:1500px) and (min-width:761px){body .header .nav>a.nav-extra{display:none!important}}
@media(max-width:760px){
 body .header .header-inner{gap:10px!important}
 body .header .header-actions{gap:9px!important}
 body .header .header-actions .header-account{display:none!important}
 body .header .menu-toggle{padding:0!important;min-width:40px!important;width:40px!important;border:0!important}
 body .header .menu-toggle b{display:none}
 body .header .logo .brand-wordmark{font-size:20px!important}
 body .header .logo--authentic .brand-mark{width:38px;height:30px}
 #rostContact .rc-button{padding:9px 10px;font-size:14px;gap:7px}
 #rostContact .rc-chevron{margin-left:2px}
 #rostContact .rc-menu{width:min(326px,calc(100vw - 28px))}
}
@media(max-width:360px){body .header .logo .brand-wordmark{font-size:18px!important}body .header .logo--authentic .brand-mark{width:33px}body .header .header-inner{padding-inline:12px!important;gap:7px!important}body .header .header-actions{gap:7px!important}#rostContact .rc-button{font-size:13px;padding-inline:9px}}


@media(max-width:760px){#rostContact .rc-button{padding-inline:8px;gap:6px}#rostContact .rc-button>svg{width:16px;height:16px}#rostContact .rc-chevron{width:6px;height:6px;margin-right:0;margin-left:0}#rostContact .rc-menu{max-width:calc(100vw - 44px)}}
@media(max-width:340px){body .header .logo .brand-wordmark{display:none}body .header .logo--authentic .brand-mark{width:38px;height:32px}}
