/* Messenger icons next to phone (WhatsApp + MAX) */

/* Extra icons need a wider contact column so the phone doesn't wrap.
   !important: main.min.css is loaded async and can otherwise override. */
.header .contact {
    max-width: 440px !important;
}

.header .contact .phone {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    margin-bottom: 4px;
    white-space: nowrap;
}

.header .contact .phone .phone__number {
    margin-right: 40px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.header .contact .order {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Override legacy display:none on WhatsApp in main.min.css */
.header .phone .social.ws {
    display: inline-flex !important;
    align-items: center;
    position: relative;
    margin-left: 0;
    flex-shrink: 0;
}

.header .phone .social {
    margin-left: 12px;
    margin-top: 0;
    flex-shrink: 0;
}

.footer .contact__info .social.ws,
.sc-custom-contact .social.ws,
.sc-contact .social.ws,
.phone__mobile .social.ws,
.phone__info .social.ws,
.single__contact .social.ws {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.header .phone .social.max,
.footer .contact__info .social.max,
.sc-custom-contact .social.max,
.sc-contact .social.max,
.phone__mobile .social.max,
.phone__info .social.max,
.single__contact .social.max {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.header .phone .meta-asterisk {
    flex-shrink: 0;
}

.sc-contact .social.ws,
.single__contact .social.ws {
    margin-left: 20px;
}

.footer .contact__info .social {
    margin-left: 20px;
}

/* WhatsApp hover = same as phone number (opacity), not green */
.header .phone .social.ws,
.footer .contact__info .social.ws,
.sc-custom-contact .social.ws,
.sc-contact .social.ws,
.phone__info .social.ws,
.single__contact .social.ws {
    transition: opacity 0.3s;
}

.header .phone .social.ws:hover,
.footer .contact__info .social.ws:hover,
.sc-custom-contact .social.ws:hover,
.sc-contact .social.ws:hover,
.phone__info .social.ws:hover,
.single__contact .social.ws:hover {
    opacity: 0.7;
}

/* Keep original SVG fills on hover (cancel main.css green) */
.header .phone .social.ws:hover path {
    fill: #fff !important;
}

.header .phone .social.ws:hover rect {
    fill: #000 !important;
}

.footer .contact__info .social.ws:hover path,
.sc-custom-contact .social.ws:hover path,
.phone__info .social.ws:hover path,
.sc-contact .social.ws:hover path,
.single__contact .social.ws:hover path {
    fill: #3A3636 !important;
}

.footer .contact__info .social.ws:hover rect,
.sc-custom-contact .social.ws:hover rect,
.phone__info .social.ws:hover rect,
.sc-contact .social.ws:hover rect,
.single__contact .social.ws:hover rect {
    fill: #fff !important;
}

.header .phone .social.max .max-bg {
    fill: #fff;
}

.header .phone .social.max .max-mark {
    fill: #3A3636;
}

.header.header__dark-mode .phone .social.max .max-bg {
    fill: #fff;
}

.header.header__dark-mode .phone .social.max .max-mark {
    fill: #3A3636;
}

.header .phone .social.max:hover .max-bg {
    fill: #3A3636;
}

.header .phone .social.max:hover .max-mark {
    fill: #fff;
}

.footer .contact__info .social.max .max-bg,
.sc-custom-contact .social.max .max-bg,
.phone__info .social.max .max-bg {
    fill: #3A3636;
}

.footer .contact__info .social.max .max-mark,
.sc-custom-contact .social.max .max-mark,
.phone__info .social.max .max-mark {
    fill: #fff;
}

.footer .contact__info .social.max:hover .max-bg,
.sc-custom-contact .social.max:hover .max-bg {
    fill: #5B6CFF;
}

.footer .contact__info .social.max:hover .max-mark,
.sc-custom-contact .social.max:hover .max-mark {
    fill: #fff;
}

.footer .contact__info .phone__info,
.sc-custom-contact .phone__mobile {
    flex-wrap: wrap;
    align-items: center;
}

.sc-custom-contact .phone__messengers {
    display: inline-flex;
    align-items: center;
    margin-left: 16px;
    vertical-align: middle;
}

.sc-custom-contact .phone__messengers .social {
    margin-left: 16px;
}

.sc-custom-contact .phone__messengers .social.ws {
    margin-left: 0;
}

/* Asterisk next to WhatsApp → footer disclaimer */
.meta-asterisk {
    display: inline-block;
    margin-left: 2px;
    margin-right: 0;
    font-size: 11px;
    line-height: 1;
    vertical-align: super;
    text-decoration: none !important;
    font-weight: 400;
    transition: opacity 0.3s;
    position: relative;
    top: -6px;
}

.header .phone .meta-asterisk {
    color: #fff;
    margin-left: 2px;
    margin-right: 0;
    top: -8px;
}

.header.header__dark-mode .phone .meta-asterisk {
    color: #3A3636;
}

.header .phone .meta-asterisk:hover {
    opacity: 0.7;
    color: #fff;
}

.header.header__dark-mode .phone .meta-asterisk:hover {
    color: #3A3636;
}

.footer .contact__info .meta-asterisk,
.sc-custom-contact .meta-asterisk,
.phone__info .meta-asterisk {
    color: #3A3636;
    top: -8px;
    margin-left: 3px;
}

.footer .contact__info .meta-asterisk:hover,
.sc-custom-contact .meta-asterisk:hover,
.phone__info .meta-asterisk:hover {
    opacity: 0.7;
    color: #3A3636;
}

.footer .footer__meta-note {
    margin-top: 12px;
    padding-bottom: 8px;
}

.footer .meta-note {
    display: block;
    margin: 0;
    max-width: 100%;
    color: rgba(58, 54, 54, 0.55);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0.01em;
    scroll-margin-top: 100px;
}

@media (max-width: 1199px) {
    .header .contact {
        max-width: 380px !important;
    }
}

@media (max-width: 991px) {
    .header .contact {
        max-width: 340px !important;
    }

    .header .phone .social {
        margin-left: 8px;
    }

    .header .contact .phone .phone__number {
        margin-right: 32px;
    }
}

@media (max-width: 767px) {
    .footer .meta-note {
        font-size: 9px;
    }
}
