/* Social profile rows across header, topline, footer, contact page, dock & share dialogs */
.social-row,
footer .footer-grid .social-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 12px 0 14px;
}

.social-row a.social-link,
footer .footer-grid .social-row a.social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border-radius: 50%;
    flex: 0 0 auto;
    border: 1.5px solid rgba(33, 37, 31, 0.25);
    background: rgba(255, 255, 255, 0.85);
    color: #21251f !important;
    opacity: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

html[data-theme=dark] .social-row a.social-link,
html[data-theme=dark] footer .footer-grid .social-row a.social-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #f4f3ec !important;
}

.social-row a.social-link svg,
footer .footer-grid .social-row a.social-link svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

/* Brand hover colours */
.social-row a.social-link:hover,
.social-row a.social-link:focus-visible,
footer .footer-grid .social-row a.social-link:hover,
footer .footer-grid .social-row a.social-link:focus-visible {
    transform: translateY(-2px);
    background: var(--orange, #eb642c);
    border-color: var(--orange, #eb642c);
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.social-row a.social-platform-whatsapp:hover,
footer .footer-grid .social-row a.social-platform-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff !important;
}
.social-row a.social-platform-instagram:hover,
footer .footer-grid .social-row a.social-platform-instagram:hover {
    background: #e1306c;
    border-color: #e1306c;
    color: #ffffff !important;
}
.social-row a.social-platform-facebook:hover,
footer .footer-grid .social-row a.social-platform-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff !important;
}
.social-row a.social-platform-youtube:hover,
footer .footer-grid .social-row a.social-platform-youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff !important;
}
.social-row a.social-platform-linkedin:hover,
footer .footer-grid .social-row a.social-platform-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff !important;
}
.social-row a.social-platform-tiktok:hover,
.social-row a.social-platform-x:hover,
footer .footer-grid .social-row a.social-platform-tiktok:hover,
footer .footer-grid .social-row a.social-platform-x:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff !important;
}

/* Screen-reader label when icon-only */
.social-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Labeled pills (e.g. on /contact page) */
.social-row.social-row-labeled a.social-link {
    width: auto;
    height: 40px;
    border-radius: 999px;
    padding: 0 15px 0 12px;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
}
.social-row.social-row-labeled .social-link-text {
    line-height: 1;
}

/* Top announcement bar (.topline) compact social icons */
.topline {
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.topline .topline-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}
.topline .social-row {
    margin: 0 !important;
    gap: 6px;
}
.topline .social-row a.social-link {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #f4f3ec !important;
}
.topline .social-row a.social-link svg {
    width: 14px;
    height: 14px;
}

/* Header utility menu */
.nav-utility .social-row {
    margin: 4px 6px 4px 0 !important;
    gap: 6px;
}
.nav-utility .social-row a.social-link {
    width: 32px;
    height: 32px;
}
.nav-utility .social-row a.social-link svg {
    width: 16px;
    height: 16px;
}

/* Floating contact dock social bar */
.site-dock-panel .social-row {
    margin: 14px 0 4px !important;
    padding-top: 12px;
    border-top: 1px solid var(--line, #e5e5dd);
    justify-content: center;
}
.site-dock-panel .social-row a.social-link {
    width: 36px;
    height: 36px;
}

/* Share buttons with icons */
.share-networks a,
.inline-actions a.share-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.share-networks a svg,
.inline-actions a.share-chip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* "Book on WhatsApp" — vehicle page and catalogue cards */
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wa-book { display: inline-flex; align-items: center; gap: 6px; }
.wa-card {
    display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 12px;
    font-weight: 600; text-decoration: none; color: #128c7e; border: 1px solid #128c7e33;
    border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.wa-card:hover, .wa-card:focus-visible { background: #128c7e; color: #fff; border-color: #128c7e; }
@media (max-width: 700px) {
    .wa-card span { display: none; }
    .wa-card { padding: 6px 8px; }
    .social-row a.social-link,
    footer .footer-grid .social-row a.social-link {
        width: 42px;
        height: 42px;
    }
    .topline .social-row a.social-link {
        width: 26px;
        height: 26px;
    }
}
