/* 
Theme Name: Bleu tempête
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: Fabrice Court
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* H1 */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

/* H2 */
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

/* H3 */
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

/* H4 */
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.25;
}

/* H5 */
h5 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
}

/* H6 */
h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.35;
}

/*WooCommerce*/
p.stock.in-stock {display:none}

.woocommerce-product-attributes td {
    padding-left: 30px !important;
}

.single_add_to_cart_button {
    width: 70%!important;
}

/*Cookie Admin*/
.cookie-admin-powered-by, .cookieadmin-credits {
    display: none !important;
}

/* Gradient overlay sur Slides Elementor Pro - tablet + desktop */
@media (min-width: 768px) {
  .elementor-widget-slides .swiper-slide-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #223959, transparent);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
  }

  .elementor-widget-slides .swiper-slide-contents {
    position: relative;
    z-index: 1;
  }
}

/* ========================================
   BLOC AUTEUR
======================================== */

.auteurs-produit {
    margin: 0;
}

.auteur-produit {
    margin: 0;
}

.auteur-produit + .auteur-produit {
    margin-top: 35px;
}


/* ========================================
   NOM DE L'AUTEUR
======================================== */

.auteur-produit-nom {
    margin: 0 0 15px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500!important;
}


/* ========================================
   BIO COURTE
======================================== */

.auteur-produit-bio-courte {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.auteur-produit-bio-courte p {
    margin: 0 0 12px;
}

.auteur-produit-bio-courte p:last-child {
    margin-bottom: 0;
}


/* ========================================
   LIRE LA SUITE
======================================== */

.auteur-produit-details {
    margin-top: 15px;
}

/* Aspect du lien "Lire la suite" */

.auteur-produit-details summary {
    display: inline-block;
    cursor: pointer;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Supprime le petit triangle natif */

.auteur-produit-details summary::marker {
    display: none;
}

.auteur-produit-details summary::-webkit-details-marker {
    display: none;
}


/* ========================================
   CACHER "LIRE LA SUITE" UNE FOIS OUVERT
======================================== */

/* C'est cette règle qui fait disparaître
   le texte lorsque la bio est ouverte */

.auteur-produit-details[open] summary {
    display: none;
}


/* ========================================
   BIO LONGUE
======================================== */

.auteur-produit-bio-longue {
    margin-top: 0;

    font-size: 16px;
    line-height: 1.7;
}

.auteur-produit-bio-longue p {
    margin: 0 0 14px;
}


/* ========================================
   VOIR TOUS LES OUVRAGES
======================================== */

.auteur-produit-actions {
    margin-top: 25px;
}

.auteur-produit-lien {

    display: inline-block;
    padding: 12px 0;
    background: #97a9d07d;
    border: 0;
    color: #222222;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
    padding: 3px 10px;
}

}

.auteur-produit-lien:hover {
    color: #222222;
    opacity: 0.65;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .auteur-produit-nom {
        font-size: 20px;
    }

    .auteur-produit + .auteur-produit {
        margin-top: 30px;
    }

}


