/*
 ===============================================================
 PinCabOS - LOGO UNIFIED V2
 UNE SEULE TAILLE POUR TOUS LES HEADERS
 ===============================================================
 */

.pco-header-logo5,
.pc-brand > img,
.pc-brand img[src*="logo5"],
img[src*="/assets/img/logo5"] {

    display: block !important;

    width: auto !important;

    height: 105px !important;
    max-height: 105px !important;

    max-width: 370px !important;

    object-fit: contain !important;
    object-position: left center !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}

/* Le lien contenant le logo ne doit jamais le rapetisser */

.pc-brand,
a.pc-brand {

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: none !important;

    flex: 0 0 auto !important;
}

/* Hauteur uniforme du header */

.pc-header.pco-global-header-v6,
.pc-header,
.pincabos-header {

    min-height: 120px !important;
}


/* TABLETTE */

@media (max-width: 900px) {

    .pco-header-logo5,
    .pc-brand > img,
    .pc-brand img[src*="logo5"],
    img[src*="/assets/img/logo5"] {

        height: 78px !important;
        max-height: 78px !important;

        max-width: 275px !important;
    }

    .pc-header.pco-global-header-v6,
    .pc-header,
    .pincabos-header {

        min-height: 96px !important;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .pco-header-logo5,
    .pc-brand > img,
    .pc-brand img[src*="logo5"],
    img[src*="/assets/img/logo5"] {

        height: 62px !important;
        max-height: 62px !important;

        max-width: 220px !important;
    }
}
