/* Flowwow only: the same native messenger chooser as the homepage. */
body[data-theme="yandex"] .service-hero-picker-v17 { overflow: visible; position: relative; z-index: 2; }
body[data-theme="yandex"] .service-hero-picker-v17 .fwf-hero-grid { z-index: 2; }
body[data-theme="yandex"] .service-hero-actions-v17 { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 28px; }
body[data-theme="yandex"] .service-hero-actions-v17 .hero-messenger-picker { position: relative; max-width: 100%; min-width: 0; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 16px 22px; gap: 18px; list-style: none; cursor: pointer; line-height: 1.4; font-size: 16px; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle::-webkit-details-marker { display: none; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle .ui-icon { width: 20px; height: 20px; flex: 0 0 20px; }
body[data-theme="yandex"] .service-hero-actions-v17 .hero-messenger-picker[open] .messenger-picker-toggle .ui-icon { transform: rotate(180deg); }
body[data-theme="yandex"] .service-hero-actions-v17 > .button-secondary { min-height: 58px; padding: 16px 22px; border: 1px solid #ffffff55; border-radius: 14px; color: #fff; background: transparent; box-shadow: none; font-size: 16px; font-weight: 750; line-height: 1.4; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-panel { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; display: grid; width: 100%; min-width: min(240px,100%); gap: 2px; padding: 10px; border: 1px solid #e1e6ee; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px #08132330; scroll-margin-block: 100px; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-panel .messenger-link { justify-content: flex-start; flex-direction: row; min-height: 54px; padding: 12px 16px; gap: 14px; border: 0; border-radius: 12px; color: #0f1827; background: #fff; font-size: 17px; font-weight: 700; box-shadow: none; transform: none; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-panel .messenger-icon { width: 26px; height: 26px; flex: 0 0 26px; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-panel .messenger-link:hover { color: #0f1827; background: #f0f3f8; }
body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-panel .messenger-link:focus-visible { outline: 2px solid #354e73; outline-offset: -2px; background: #f0f3f8; }
@media (hover:hover) and (pointer:fine) {
  body[data-theme="yandex"] .service-hero-actions-v17 > .button-secondary:hover { border-color: #ffffffa6; color: #fff; background: #ffffff10; box-shadow: none; }
}
@media (max-width:640px) {
  body[data-theme="yandex"] .service-hero-actions-v17 { flex-direction: column; gap: 12px; margin-top: 24px; }
  body[data-theme="yandex"] .service-hero-actions-v17 > *,
  body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle { width: 100%; }
  body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle { display: grid; grid-template-columns: 20px minmax(0,1fr) 20px; gap: 8px; padding-inline: 16px; text-align: center; font-size: 15px; }
  body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle::before { content: ''; }
  body[data-theme="yandex"] .service-hero-actions-v17 .messenger-picker-toggle > span { min-width: 0; }
  body[data-theme="yandex"] .service-hero-actions-v17 > .button-secondary { justify-content: center; font-size: 15px; }
  html.js body[data-theme="yandex"]:has(.cookie-banner:not([hidden])) .service-hero-actions-v17 .messenger-picker-panel { top: auto; bottom: calc(100% + 10px); }
}
