/* Messenger actions in order sections, confirmation and contact popup. */
.social { flex-wrap: wrap; gap: 10px; }
a.messenger, .quick-messengers a.messenger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 800; line-height: 1.2; transition: filter .18s ease, transform .18s ease; box-sizing: border-box; }
a.messenger:hover, a.messenger:focus-visible { filter: brightness(.92); }
a.messenger:focus-visible { outline: 3px solid #18242b; outline-offset: 3px; }
a.msg-telegram, .quick-messengers a.msg-telegram { color: #fff; background: #0678aa; }
a.msg-max, .quick-messengers a.msg-max { color: #fff; background: #5b36bb; }
a.messenger::before { content: ''; display: inline-block; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background-color: rgba(255,255,255,.22); background-repeat: no-repeat; background-position: center; }
a.msg-telegram::before { background-size: 18px 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M21.8 3.5 18.5 20c-.2 1.2-.9 1.5-1.9.9l-5.1-3.8-2.4 2.4c-.3.3-.5.5-1 .5l.4-5.2L18 6.2c.4-.4-.1-.6-.6-.3L5.7 13.3.7 11.7c-1.1-.4-1.1-1.1.2-1.6L20.4 2.6c.9-.3 1.7.2 1.4.9Z'/%3E%3C/svg%3E"); }
a.msg-max::before { content: 'М'; display: inline-flex; align-items: center; justify-content: center; font: 800 17px/1 sans-serif; color: #fff; }
.quick-messengers a.messenger { flex: 1 1 0; padding-inline: 8px; }
@media (max-width: 330px) { .quick-messengers a.messenger { gap: 5px; font-size: 12px; } .quick-messengers a.messenger::before { flex-basis: 22px; width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { a.messenger { transition: none; } }
