/*body#index .email_subscription.block_newsletter {*/
/*    !*background:red;*!*/
/*    !*background-image: none !important;*!*/
/*    background: repeating-linear-gradient(*/
/*            to right,*/
/*            #28255a 0 38px,*/
/*            #582432 38px 101px,*/
/*            #28255a 101px 126px*/
/*    ) !important;*/
/*}*/

/* HEADER */
/*body#index #header a, body#index #header .header-top .menu a, body#index #header:hover .sticky-header-tools, body#index .header-top-right > div#_desktop_language_selector ul li a {*/
/*    color:#000 !important;*/
/*}*/

body#index #header .sticky-header-tools {
    color:#fff;
}

/* HOME */

.videoHome {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
}

@media (max-width: 767px) {
    .videoHome {
        position: relative;
    }
    .videoHome video {
        position: relative !important;
    }


    .homeTitleProduct {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        white-space: normal !important;
        padding: 0 5px 0 5px;
    }
}


/* HOOK KLDISPLAYPRODUCTS */

.kldisplayproducts {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 50px;
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    box-sizing: border-box;
}

.kldisplayproducts a {
    flex: 0 0 calc(25% - 2px); /* 4 par ligne desktop */
    display: block;
    background: #EBECEEFF;
    position: relative;
    min-width: 0;
    margin: 1px;
    overflow: hidden; /* h3 ne dépasse jamais du parent */
}

.kldisplayproducts a img {
    width: 100%;
    padding: 25% 0;
    display: block;
}

.kldisplayproducts h3 {
    font-family: "Snell Roundhand";
    opacity: 0;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    color: black;
    margin: 0;
    letter-spacing: 1.5px;
    text-decoration: none;
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 200ms ease;
}

.kldisplayproducts a:hover h3 {
    opacity: 1;
}

@media (max-width: 767px) {
    .kldisplayproducts {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .kldisplayproducts a {
        flex: 0 0 calc(50% - 2px); /* 2 par ligne mobile */
    }
    .kldisplayproducts h3 {
        font-size: 16px;
        bottom: 40px;
        opacity: 1; /* toujours visible sur mobile (pas de hover) */
    }
}

.kldisplayproducts a:hover h3 {
    opacity: 1;
}

/* Hopital à chemises */

#cms.cms-id-42 #content-wrapper .page-cms p,
#cms.cms-id-29 #content-wrapper .page-cms p{
    font-family: 'Gill Sans' !important;
    line-height: 1.8 !important;
    margin-top:10px !important;
    font-size:14px !important;
    color:#000 !important;
}


#cms.cms-id-42 h2,
#cms.cms-id-29 h2{
    font-family: Snell Roundhand !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 46px !important;
    font-weight: 100 !important;
    color:#000 !important;
}


.elementor-button-link {
    border: 1px solid #000;
    background: #fff;
    color: #000 !important;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Raleway, Arial, Helvetica, sans-serif;
    padding: 12px 40px;
    margin: 20px 15px;
    letter-spacing: 4px;
    font-weight: 400;
}


.elementor-button-link:hover {
    background: #000;
    color: #fff !important;
}

body .elementor-widget-image a {
    width:100%;
}

/* Cover article blog */

article .coverContainer {
    width:100%;
    opacity:0;
    transition: opacity 500ms;
}


body:not(.elementor-editor-active) article .postCover {
    display: none;
}


article .coverContainer.shown {
    opacity:1;
}



article.cover-v2 .coverContainer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: block;
}

article.cover-v2 .coverContainer img {
    width:100%;
}

/* COMPTEUR PRODUITS (debug — kltest=1) */

#kl-product-counter {
    text-align: center;
    font-size: 13px;
    color: #333;
    padding: 6px 16px;
    padding-top: 40px;
    margin: 0 auto 8px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: .5px;
    font-family: monospace;
}

/* SCROLL INFINI */
.kl-load-more-products-wrapper {
    text-align: center;
    margin:10px 0 40px 0;
}

.kl-load-more-products-wrapper #kl-load-more-products {
    background:#000;
    border:1px solid #000;
    color:#fff;
    text-decoration: none;
    padding: 12px 30px;
    letter-spacing: 2px;
    transition: all 500ms;
}

.kl-load-more-products-wrapper #kl-load-more-products:hover {
    background:#fff;
    border:1px solid #000;
    color:#000;
}

.pagination {
    opacity:0;
}

