/* Chosen footer layout. Scoped to the footer; floating chat/cookie remain unchanged. */
.ft.ft--collected {
    background: #15171c;
    color: #f6f7fa;
    padding: 36px 0 24px;
    font-size: 14px;
    line-height: 1.5;
}
.ft--collected .ft__g {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1fr minmax(230px, 1.3fr);
    grid-template-areas: 'brand buyers company contacts';
    gap: 28px;
    align-items: start;
}
.ft--collected .ft__g > * { min-width: 0; }
.ft--collected .ft__brand { grid-area: brand; }
.ft--collected .ft__brand img { display: block; width: 160px; max-width: 100%; height: auto; }
.ft--collected .ft__brand p { margin: 15px 0 0; color: #aeb6c4; font-size: 14px; }
.ft--collected .ft__brand .ft__brand-note { max-width: 210px; margin-top: 16px; color: #f6f7fa; }
.ft--collected .ft__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: none;
    gap: 10px;
}
.ft--collected .ft__nav--buyers { grid-area: buyers; }
.ft--collected .ft__nav--company { grid-area: company; }
.ft--collected h2 { margin: 0 0 5px; color: #aeb6c4; font: 500 13px/1.5 var(--f-text, 'IBM Plex Sans', Arial, sans-serif); letter-spacing: .4px; }
.ft--collected a { color: #f6f7fa; }
.ft--collected a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft--collected a:focus-visible, .ft--collected button:focus-visible { outline: 2px solid #f6f7fa; outline-offset: 4px; }
.ft--collected .ft__nav a { font-size: 14px; line-height: 1.5; overflow-wrap: break-word; max-width: 100%; }
.ft--collected .ft__contacts { grid-area: contacts; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.ft--collected .ft__contact-lines, .ft--collected .ft__contact-extra, .ft--collected .ft__contact-actions { display: contents; }
.ft--collected .ft__phone { font: 700 22px/1.35 var(--f-head, Manrope, Arial, sans-serif); letter-spacing: -.4px; white-space: nowrap; }
.ft--collected .ft__phone-secondary { font: 600 16px/1.4 var(--f-head, Manrope, Arial, sans-serif); white-space: nowrap; }
.ft--collected .ft__email { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; overflow-wrap: anywhere; }
.ft--collected .ft__email .i { width: 16px; height: 16px; flex: none; color: #aeb6c4; }
.ft--collected .ft__messengers { gap: 8px; margin: 4px 0 2px; }
.ft--collected .ft__messengers .ft__messenger { justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 8px; border: 1px solid #353a45; border-radius: 7px; color: #fff; }
.ft--collected .ft__messengers .ft__messenger svg { display: block; width: 24px; height: 24px; }
.ft--collected .ft__messengers .ft__messenger--telegram svg { width: 28px; height: 28px; }
.ft--collected .ft__messengers .ft__messenger:hover { background: #292d36; text-decoration: none; }
/* Shared origin keeps either caption inside the contact column. */
.ft--collected .ft__messengers { position: relative; }
.ft--collected .ft__tooltip {
    position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 4;
    width: max-content; max-width: 220px; padding: 7px 10px;
    border: 1px solid #505766; border-radius: 6px; background: #323843; color: #fff;
    font: 500 12px/1.4 var(--f-text, 'IBM Plex Sans', Arial, sans-serif);
    box-shadow: 0 4px 12px #0004; white-space: normal; text-align: left;
    opacity: 0; visibility: hidden; pointer-events: none;
}
.ft--collected .ft__messenger:hover .ft__tooltip,
.ft--collected .ft__messenger:focus-within .ft__tooltip { opacity: 1; visibility: visible; }
.ft--collected .ft__contacts .btn { margin-top: 1px; min-height: 44px; padding: 11px 15px; gap: 12px; border-radius: 7px; font-size: 14px; font-weight: 600; }
.ft--collected .ft__c {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px 22px;
    align-items: center;
    margin-top: 32px;
    padding-top: 22px;
    padding-bottom: 72px;
    border-color: #353a45;
    color: #aeb6c4;
    font-size: 12px;
}
.ft--collected .ft__c p { margin: 0; }
.ft--collected .ft__copyright { grid-column: 1; grid-row: 1; }
.ft--collected .ft__legal-links { grid-column: 2; grid-row: 1; }
.ft--collected .ft__legal { grid-column: 1 / -1; grid-row: 2; max-width: 1100px; font-size: 12px; line-height: 1.6; }
.ft--collected .snab-cookie-preferences { grid-column: 3; grid-row: 1; margin: 0; font-size: 12px; color: #f6f7fa; }
.ft--collected .snab-cookie-preferences [data-cookie-current] { display: inline; color: #aeb6c4; }
.ft--collected .snab-cookie-reopen { padding: 0; text-decoration: none; }
.ft--collected .snab-cookie-reopen:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 901px) and (max-width: 1100px) {
    .ft--collected .ft__g { grid-template-columns: minmax(0, 1fr) minmax(230px, 1fr); grid-template-areas: 'brand contacts' 'buyers company'; gap: 28px 40px; }
}
@media (max-width: 900px) {
    .ft.ft--collected { padding: 14px 0 14px; }
    .ft--collected .ft__g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'brand brand' 'contacts contacts' 'buyers company'; gap: 10px 24px; }
    .ft--collected .ft__brand { display: block; }
    .ft--collected .ft__brand img { width: 160px; }
    .ft--collected .ft__brand p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; }
    .ft--collected .ft__brand .ft__brand-note { display: none; }
    .ft--collected .ft__contacts { align-items: stretch; gap: 1px; }
    .ft--collected .ft__contact-lines, .ft--collected .ft__contact-extra, .ft--collected .ft__contact-actions { display: contents; }
    .ft--collected .ft__phone { display: flex; align-items: center; font-size: 22px; }
    .ft--collected .ft__phone-secondary { display: inline-flex; align-items: center; font-size: 16px; }
    .ft--collected .ft__email { font-size: 14px; }
    .ft--collected .ft__contact-actions .btn { order: 0; flex: none; width: 100%; margin-top: 1px; padding: 11px 14px; font-size: 14px; }
    .ft--collected .ft__messengers { gap: 6px; margin: 1px 0 2px; }
    .ft--collected h2 { margin-bottom: 1px; font-size: 12px; }
    .ft--collected .ft__nav { gap: 0; }
    .ft--collected .ft__nav a { display: flex; align-items: center; min-height: 28px; }
    .ft--collected .ft__c { grid-template-columns: minmax(0, 1fr); gap: 3px; padding-top: 10px; padding-bottom: 64px; margin-top: 12px; }
    .ft--collected .ft__copyright { grid-column: 1; grid-row: 1; }
    .ft--collected .ft__legal-links { grid-column: 1; grid-row: 2; }
    .ft--collected .snab-cookie-preferences { grid-column: 1; grid-row: 3; gap: 0 10px; font-size: 12px; }
    .ft--collected .ft__legal { grid-column: 1; grid-row: 4; font-size: 11.5px; line-height: 1.5; }
}
@media (pointer: coarse) {
    .ft--collected .ft__nav a, .ft--collected .ft__messengers .ft__messenger,
    .ft--collected .ft__legal-links a, .ft--collected .snab-cookie-reopen,
    .ft--collected .ft__phone, .ft--collected .ft__phone-secondary, .ft--collected .ft__email { min-height: 44px; }
    .ft--collected .ft__legal-links a, .ft--collected .snab-cookie-reopen { display: inline-flex; align-items: center; }
}
@media (max-width: 900px) and (pointer: coarse) {
    .ft--collected .ft__nav a, .ft--collected .ft__phone,
    .ft--collected .ft__phone-secondary, .ft--collected .ft__email { min-height: 32px; }
    .ft--collected .ft__legal-links a, .ft--collected .snab-cookie-reopen { min-height: 28px; }
}
