/*
 Theme Name:   Julien Besse
 Description:  Thème enfant de Hello Elementor
 Author:       Dimitri Tonnaire
 Author URI:   https://www.linkedin.com/in/dimitri-tonnaire/
 Template:     hello-elementor
 Version:      1.0
*/

/* Importer le style du thème parent */
@import url("../hello-elementor/style.css");

/* Ajoutez ici vos styles personnalisés */


/* Intégration des typos Lovely et Alike */
@font-face {
    font-family: 'Lovely';
    src: url('font/lovely_font_demo-webfont.eot'); /* IE9 Compat Modes */
    src: url('font/lovely_font_demo-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('font/lovely_font_demo-webfont.woff2') format('woff2'), /* Super Modern Browsers */
         url('font/lovely_font_demo-webfont.woff') format('woff'), /* Modern Browsers */
         url('font/lovely_font_demo-webfont.ttf') format('truetype'), /* Safari, Android, iOS */
         url('font/lovely_font_demo-webfont.svg#Lovely') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alike';
    src: url('font/alike-regular-webfont.eot'); /* IE9 Compat Modes */
    src: url('font/alike-regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('font/alike-regular-webfont.woff2') format('woff2'), /* Super Modern Browsers */
         url('font/alike-regular-webfont.woff') format('woff'), /* Modern Browsers */
         url('font/alike-regular-webfont.ttf') format('truetype'), /* Safari, Android, iOS */
         url('font/alike-regular-webfont.svg#Alike') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
}

/* Application des typos */
body {
    font-family: 'Alike', sans-serif;
    color: #000000;
}

main {
    background-color: #e6d59f !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lovely', serif;
    color: #000000;
}

//SLIDERS PRODUITS PAGE BOUTIQUE

/* Conteneur principal du slider */
.product-slider {
    width: 100%;
    overflow: hidden;
}

.category-title {
    font-family: 'Lovely', serif;
    font-size: 40px;
    color: #000000; /* Couleur du texte */
    text-align: left; /* Aligne le texte à gauche */
    padding: 10px;
    margin-bottom: 30px; /* Supprime l'auto-centre */
    margin-left: 50px;
    width: auto; /* Permet de prendre toute la largeur nécessaire */
    display: inline-block;
}


/* Catégorie de produit avec image de fond */
/* Conteneur principal de la catégorie */
.slider-category {
    padding: 0; /* Pas de padding pour le conteneur principal */
    width: 100%;
    height: 100%; /* Recouvre tout le conteneur */
    background: url('http://wsnsybq.cluster031.hosting.ovh.net/julienbesse/wp-content/themes/jbesse/assets/images/bois.png'), #e6d59f;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: #e6d59f;

    z-index: 0; /* Place l'image derrière le contenu */
}

/* Contenu du slider */
.slider-content {
    position: relative;
    z-index: 1; /* Place le contenu au-dessus de l'image de fond */
    padding: 60px 20px; /* Espacement autour du contenu */
}


/* Conteneur des produits dans le slider */
.slider-items {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: nowrap; /* Empêche les éléments de se mettre en plusieurs lignes */

}

.product-image {
    width: 300px;
    height: 550px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*object-position: center bottom;*/
    border-radius: 10px;
}
.product-name {
    font-family: 'Lovely', sans-serif;
    color: #ffffff;
    margin-top: 10px;
    font-size: 25px;
}

/* Indique quand le slider est actif */
.slider-items.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Conteneur des produits */
.slider-items {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
	justify-content: center;
    user-select: none; /* Désactive la sélection de texte pendant le glissement */
	flex-wrap: nowrap; /* Empêche les éléments de se mettre en plusieurs lignes */
}

.slider-item {
    flex: 0 0 300px; /* Largeur de chaque produit */
    text-align: center;
}

.vigneron-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #e6d59f !important;
}

.vigneron-section container {
    background-color: #e6d59f !important;
}

h2.section-title {
    font-family: 'Lovely', serif !important;
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.section-subtitle {
    font-family: 'Alike', serif;
    font-size: 18px;
    color: #000000;
    margin-bottom: 40px;
}

.vigneron-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.vigneron-image img {
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
}

.vigneron-quote {
    max-width: 600px;
    text-align: center;
}

.vigneron-quote blockquote {
    font-family: 'Alike', serif;
    font-size: 16px;
    color: #000000;
    margin: 0;
    position: relative;
    padding-left: 40px;
}

.vigneron-quote blockquote::before {
    content: '“';
    font-family: 'Lovely', serif;
    font-size: 60px;
    color: #000000;
    position: absolute;
    left: 0;
    top: -10px;
}

.quote-title {
    font-family: 'Lovely', serif;
    font-size: 24px;
    color: #000000;
    margin-top: 20px;
    text-align: center;
}

/* Titre avec traits de séparation */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
padding : 10px 0;
}

.section-title-wrapper .line {
    flex: 1;
    border: 1px solid #ed4018;
}

.section-title {
    font-family: 'Lovely', serif;
    font-size: 36px;
    margin: 0;
    text-align: center;
}

/* Citation avec guillemets */
.vigneron-quote {
    position: relative;
    margin-top: 20px;
    padding: 20px;
    font-family: 'Alike', serif;
    font-size: 18px;
    color: #000000;
text-align: center;
}

.quote-icons {
    position: absolute;
}

.quote-icons.top-left {
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
}

.quote-icons.bottom-right {
    bottom: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
}

.quote-icons img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Titre avec traits de séparation */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title-wrapper .line {
    flex: 1;
    border: 1px solid #000000;
}

.section-title {
    font-family: 'Lovely', serif;
    font-size: 50px;
    color: #000000;
    margin: 0;
    text-align: center;
padding : 10px;
}

/* Citation avec guillemets */
.vigneron-quote {
    position: relative;
    margin-top: 20px;
    padding: 20px;
    font-family: 'Alike', serif;
    font-size: 18px;
    color: #000000;
}

.quote-icons {
    position: absolute;
}

.quote-icons.top-left {
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
}

.quote-icons.bottom-right {
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    transform: rotate(180deg);
}

.quote-icons img {
    width: 150%;
    height: auto;
    object-fit: contain;
}

/* Sous-titre */
.section-subtitle {
    font-family: 'Alike', serif;
    font-size: 18px;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.character-wrapper {
    text-align: right;
    margin-bottom: -55px; /* Ajustez pour placer l'image plus près du titre */
margin-right: 10%;
    position: relative;
}

.character-image {
    width: 150px; /* Ajustez la taille de l'image selon vos besoins */
    height: auto;
    display: inline-block;
    z-index: 2;
}

/* Section Timeline */
.timeline-section {
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.timeline-background {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-align: center;
}

.timeline-background h2 {
    font-family: 'Lovely', serif;
    font-size: 36px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
}

/* Contenu de la timeline */
.timeline-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Ligne SVG */
.timeline-svg {
    position: absolute;
    width: 100%;
    height: 1000px;
    z-index: 1;
}

/* Points et événements */
.timeline-events {
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transform: translate(-50%, -50%);
}

.timeline-point {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.timeline-point img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.timeline-info {
    margin-top: 10px;
    font-family: 'Alike', serif;
    color: black;
    z-index: 2;
}

.timeline-year {
    font-size: 24px;
    font-weight: bold;
}

.timeline-text {
    font-size: 16px;
}

/* Pied de page */
.timeline-footer {
    margin-top: 50px;
    text-align: center;
    font-family: 'Lovely', serif;
    font-size: 20px;
    color: black;
}

/* Section Vigneron Indépendant */
.vigneronindep-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.vigneronindep-background {
    position: relative;
    width: 100%;
    height: 500px; /* Ajustez selon la hauteur désirée */
    background-size: cover;
    background-position: center;
}

.vigneronindep-logo {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 130px; /* Ajustez la taille selon vos besoins */
    z-index: 2;
}

.vigneronindep-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

//PAGE PRODUIT ICI //

/* Container global */
.single-product-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 20px;
}

/* Titre */
.product-header {
    text-align: center;
    margin-bottom: 20px;
}

.product-title {
    font-family: 'Lovely', serif;
    font-size: 36px;
padding: 12px;
    color: #000000;
    background-image: url('http://wsnsybq.cluster031.hosting.ovh.net/julienbesse/wp-content/uploads/2024/12/Osez-buller.png');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}

/* Contenu principal */
.product-content {
    display: flex;
    flex-wrap: wrap;
}

/* Colonne gauche (détails) */
.product-left {
    flex: 1;
}

.product-description {
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    background-color: #CCB265;
}

.product-description::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(100% + 100px); /* Ajustez la largeur pour dépasser */
    background-color: #CCB265;
    z-index: -1; /* Place le fond derrière le contenu */
}

.product-options label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    font-family: "Lovely";
text-align: center;

}

.product-options select,
.product-options input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

.product-add-to-cart {
    text-align: center;
    margin: 20px 0;
}

.product-add-to-cart .button {
background-color: none;
border: solid 9px #CCB265;
color: #000000;
    font-family: 'Lovely', serif;
font-size: 25pt;
    padding: 10px 20px;
    text-decoration: none;
}

.button:hover {
background-color: #CCB265 !important;
}

.product-file {
    text-align: center;
    margin-top: 20px;
}

.product-file .button {
background-color: none;
border: solid 9px #CCB265;
color: #000000;
    font-family: 'Lovely', serif;
font-size: 25pt;
    padding: 10px 20px;
    text-decoration: none;
}

/* Colonne droite (image produit et suggestions) */
.product-right {
    flex: 1;
    text-align: center;
    position: relative;
}

.product-image-background img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-framed-image {
    position: relative;
    width: 400px;
    margin: -30% auto 30px;
}

.product-framed-image .product-thumbnail {
    position: relative;
    max-width: 100%;
    height: auto;
    z-index: 2;
    background: url('http://wsnsybq.cluster031.hosting.ovh.net/julienbesse/wp-content/uploads/2024/12/Cadre-bois.png'), #e6d59f;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
padding: 10px;

}

/* Suggestions */
.product-suggestions {
    margin-top: 30px;
    text-align: center;
}

.suggestion-items {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.suggestion-item img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.suggestion-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #000000;
}

.product-left-hidden {
visibility: hidden;
}

/* Conteneur des options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    font-family: 'Alike', serif;
}

/* Option individuelle */
.product-option {
    text-align: center;
}

/* Label */
.product-option label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Sélecteur */
.product-select {
    width: 200px;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 5px;
    background-color: #faf7f4;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

/* Input pour la quantité */
.product-quantity {
    width: 200px;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 5px;
    background-color: #faf7f4;
    font-size: 16px;
    text-align: center;
}

/* Conteneur général */
.product-options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #e6d59f;
    padding: 20px;
    border: 2px solid #ccb265;
    border-radius: 10px;
    font-family: 'Lovely', serif;
}

/* Chaque option */
.product-option {
    text-align: center;
    margin-bottom: 10px;
}

/* Label */
.product-option label {
    display: block;
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
}

/* Select pour la variation */
.product-option select {
    width: 100%;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 5px;
    background-color: #faf7f4;
    font-size: 16px;
    text-align: center;
}

/* Champ quantité */
.product-option input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 5px;
    background-color: #faf7f4;
    font-size: 16px;
    text-align: center;
}

/* Bouton Ajouter au panier */
.product-option .button {
    font-family: 'Lovely', serif;
    font-size: 20px;
    color: #000000;
    background-color: transparent;
    border: 3px solid #ccb265;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
}

.product-option .button:hover {
    background-color: #ccb265;
    color: #ffffff;
}

.timeline-section {
    padding: 50px 20px;
    background: #e6d59f;
    position: relative;
    overflow: hidden;
}

.timeline-background {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.timeline-title {
    display: none;
}

.timeline-desktop {
    display: block;
    max-width: 1100px;
    height: 520px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: relative;
    width: 100%;
    height: 100%;
}

.timeline-line svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.timeline-line path {
    fill: none;
    stroke: #2d2828;
    stroke-width: 12;
    stroke-linecap: round;
}

.timeline-event {
    position: absolute;
    font-family: 'Lovely', serif;
    color: #000;
}

.timeline-dot {
    width: 34px;
    height: 34px;
    background: #ccb265;
    border: 2px solid #2d2828;
    border-radius: 50%;
    display: block;
    position: absolute;
}

.timeline-year {
    font-size: 42px;
    line-height: 1;
}

.timeline-text {
    font-size: 27px;
    line-height: 1.15;
    white-space: nowrap;
}

.event-2010 {
    left: 8%;
    top: 70px;
}

.event-2010 .timeline-dot {
    left: 80px;
    top: -10px;
}

.event-2010 .timeline-year {
    margin-left: 150px;
    margin-bottom: 20px;
}

.event-2016 {
    left: 32%;
    top: 180px;
}

.event-2016 .timeline-dot {
    left: 20px;
    top: 0;
}

.event-2016 .timeline-year {
    margin-left: -140px;
}

.event-2016 .timeline-text {
    margin-left: 90px;
    margin-top: -35px;
}

.event-2017 {
    left: 10%;
    top: 330px;
}

.event-2017 .timeline-dot {
    left: 470px;
    top: -10px;
}

.event-2017 .timeline-year {
    margin-left: 550px;
    margin-top: -15px;
}

.event-2017 .timeline-text {
    margin-top: -15px;
}

.event-now {
    right: 5%;
    bottom: 55px;
    text-align: right;
}

.event-now .timeline-dot {
    left: -80px;
    top: 45px;
}

.event-now .timeline-year {
    margin-bottom: 55px;
}

.event-now .timeline-text {
    margin-right: 80px;
}

.timeline-drop {
    position: absolute;
    right: 0;
    bottom: 30px;
    width: 30px;
    height: 42px;
    background: #000;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.timeline-mobile {
    display: none;
}

.timeline-footer {
    text-align: center;
    font-family: 'Lovely', serif;
    font-size: 24px;
    color: #000;
    margin-top: 30px;
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-background {
        height: 180px;
    }

    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
        position: relative;
        margin: 35px 20px;
        padding-left: 55px;
    }

    .timeline-mobile::before {
        content: "";
        position: absolute;
        left: 19px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #2d2828;
        border-radius: 99px;
    }

    .timeline-mobile-item {
        position: relative;
        margin-bottom: 38px;
    }

    .timeline-mobile-item::before {
        content: "";
        position: absolute;
        left: -49px;
        top: 2px;
        width: 32px;
        height: 32px;
        background: #ccb265;
        border: 2px solid #2d2828;
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-mobile-year {
        font-family: 'Lovely', serif;
        font-size: 34px;
        line-height: 1;
        color: #000;
        margin-bottom: 6px;
    }

    .timeline-mobile-text {
        font-family: 'Lovely', serif;
        font-size: 23px;
        line-height: 1.25;
        color: #000;
    }

    .timeline-footer {
        font-size: 21px;
        padding: 0 20px;
    }
}

/* Carte cadeau Gift4U - forcer affichage en lignes */
.elementor-element-6cbb3e03 form.cart {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 18px !important;
}

.elementor-element-6cbb3e03 .gift4u-section-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
}

.elementor-element-6cbb3e03 .gift4u-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

.elementor-element-6cbb3e03 .gift4u-row label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.elementor-element-6cbb3e03 .gift4u-input,
.elementor-element-6cbb3e03 .gift4u-row input,
.elementor-element-6cbb3e03 .gift4u-row textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.elementor-element-6cbb3e03 form.cart > .quantity,
.elementor-element-6cbb3e03 form.cart > .single_add_to_cart_button {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .product-slider {
        overflow: visible;
    }

    .slider-items {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px 15px;
        scroll-padding-left: 20px;
        box-sizing: border-box;
    }

    .slider-item {
        flex: 0 0 280px;
    }
}

.gift-card-category{
    width:100%;
    background:none !important;
    padding:0;
}

.gift-card-category .category-title{
    margin-bottom:30px;
}

.gift-card-link{
    display:block;
    width:100vw;
    height:50vh;

    /* permet à l'image de prendre toute la largeur
       même si le parent est dans un container */
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
}

.gift-card-banner{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:bottom;
}