/* MarketDG: icones de marques, Google Maps et logo local. */
.dzmarket-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}
.dzmarket-brand-logo img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}
.dzmarket-brand-logo--inverse { color: #fff !important; }
.dzmarket-brand-logo:hover { opacity: .94; }
.dzmarket-page-brand {
    width: min(1100px, calc(100% - 32px));
    margin: 17px auto 0;
    display: flex;
    align-items: center;
}

/* Carrés d'icônes reprenant les couleurs connues des applications d'origine. */
.dz-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    vertical-align: middle;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}
.dz-brand-icon img {
    display: block;
    width: 21px;
    height: 21px;
    object-fit: contain;
}
.dz-brand-icon--whatsapp { background: #25D366; }
.dz-brand-icon--instagram { background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 24%, #D62976 52%, #962FBF 76%, #4F5BD5 100%); }
.dz-brand-icon--facebook { background: #0866FF; }
.dz-brand-icon--x { background: #000; }
.dz-brand-icon--snapchat { background: #FFFC00; border: 1px solid #e5df00; }
.dz-brand-icon--tiktok { background: #050505; }
.dz-brand-icon--googlemaps { background: #fff; border: 1px solid #dadce0; border-radius: 9px; }
.dz-brand-icon--googlemaps img { width: 27px; height: 27px; }

/* Cartes cliquables sur les pages publiques (icône de marque + nom lisible). */
.social-links a.social-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 6px 12px 6px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .05);
    transition: transform .15s ease, box-shadow .15s ease;
}
.social-links a.social-brand-link:hover,
.social-links a.social-brand-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, .12);
    outline-offset: 3px;
}
.social-brand-link .social-brand-label { overflow-wrap: anywhere; }
.social-label .dz-brand-icon { width: 27px; height: 27px; flex-basis: 27px; border-radius: 7px; }
.social-label .dz-brand-icon img { width: 17px; height: 17px; }
.map-location-link { align-items: center; }
.map-location-link .dz-brand-icon { width: 31px; height: 31px; flex-basis: 31px; border-radius: 8px; }
.map-location-link .dz-brand-icon img { width: 24px; height: 24px; }
.map-brand-section-label { display: flex !important; align-items: center; gap: 9px; }
.map-brand-section-label .dz-brand-icon { width: 31px; height: 31px; flex-basis: 31px; }
.map-brand-section-label .dz-brand-icon img { width: 24px; height: 24px; }

body.dark-theme .social-links a.social-brand-link {
    background: #202723;
    border-color: #37433b;
    color: #e8eee9;
}
body.dark-theme .dzmarket-brand-logo:not(.dzmarket-brand-logo--inverse) { color: #93c5fd; }

@media (max-width: 600px) {
    .dzmarket-brand-logo { font-size: 21px; gap: 8px; }
    .dzmarket-brand-logo img { width: 36px; height: 36px; flex-basis: 36px; }
    .dzmarket-page-brand { width: calc(100% - 24px); margin-top: 12px; }
    .social-links a.social-brand-link { padding-right: 10px; font-size: 14px; }
}
