/* ==================================================
   Structure principale des étapes (sections)
   ================================================== */
.step,
#step-sirop,
#step-fruit,
#step1-gammes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35vh 2vw;
    height: 100vh;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

.step h1 {
    font-size: 2.4em;
    margin-bottom: 30px;
    color: #223222;
	font-family: 'Raleway', sans-serif;
}

.step p {
    font-size: 1.2em;
    color: #223222;
	font-family: 'Raleway', sans-serif;
}

.center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
	margin-top:20px;
}

/* ==================================================
   Étape 1 : Boutons de sélection des gammes
   ================================================== */
.gammes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.gamme-btn {
    padding: 15px;
    font-size: 18px;
    background-color: #223222;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.2s;
}

.gamme-btn:hover {
    transform: scale(1.1);
}

/* ==================================================
   Étape 2 : Sliders (familles ou sirops)
   ================================================== */
.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
	max-height: 450px;
    height: 444px;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    background: transparent;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-right: 10px;
    min-width: 180px;
	max-width: 372px;
}

.swiper-container::before,
.swiper-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px; /* élargi pour effet progressif */
    height: 100%;
    z-index: 10;
    pointer-events: none;
}


.swiper-pagination {
	display:none !important;
}

.swiper-button-next, .swiper-button-prev {
	background:#223222;
	padding:30px;
	color:#ffffff;
	border-radius:2px;
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size:25px;
}

.gamme-card.swiper-slide {
    min-width: 220px !important;
    max-width: 400px !important;
    width: 19vw !important;
    box-sizing: border-box;
    height: 450px !important;
    margin-right: 33px !important;
}


 
/* Carte famille (slider famille) */
.custom-slider-item {
    color: #fff;
    padding: 10px 0px 40px 0px;
    min-width: 333px !important;
    height: 333px;
    display: flex;
    flex-direction: column;       
    justify-content: flex-start;   
    align-items: center;          
    font-size: 18px;
    transition: transform 0.2s ease-in-out, background 0.3s;
    cursor: pointer;
	height: 100%;
}

.famille-card {
    color: #fff;
    padding: 10px 0px 40px 0px;
    min-width: 333px !important;
    height: 333px;
    display: flex;
    flex-direction: column;       
    justify-content: flex-start;   
    align-items: center;          
    font-size: 18px;
    transition: transform 0.2s ease-in-out, background 0.3s;
    cursor: pointer;
}

.custom-slider-item.famille-card:hover {
    background: transparent;
    transform: scale(1.05);
}

/* Carte sirop (slider sirops) */
.sirop-card img {
    width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.sirop-card p {
    margin-top: 12px;
    font-size: 16px !important;
    font-weight: 600;
    color: white;
	background-color:#223222;
	padding: 15px;
    width: 100%;
}

.sirop-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
}

/*fiches recettes & recettes cards*/

.fiche-recette-detaillee {
	width:1300px
}

.recette-wrapper {
    max-width: 1300px;
    margin: 0rem auto;
    border-radius: 16px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
}

.recipe-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    gap: 48px;
    margin: 0 auto;
}

.recipe-left {
    flex: 1 1 40%;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.recette-card {
    width: 30%;
	height:425px;
    margin: 1rem;
    padding: 1rem;
    border-radius: 1px;
    background: #ffffff;
    box-shadow:10px 10px 15px -5px #000000;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease;
}

.recette-card:hover {
    transform: scale(1.05);
}

.recette-card img {
    width: 100%;
    height: auto;
    border-radius: 1px;
    margin-bottom: 1rem;
}

.recette-card h3 {
    font-size: 2.0rem !important;
    color: #223222;
    margin: 0;
	font-family: 'BirthstoneCustom', cursive;
	font-weight:200;
	line-height:30px;
}

.fiche-recette {
    max-width: 900px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.fiche-recette h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #223222;
}

.recipe-left img {
    width: auto;
    max-height: 444px;
    border-radius: 1px;
    border: 15px solid #fff;
    box-shadow: 15px 15px 10px -7px black;
    background: #ffffff;
}

.fiche-recette img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.recette-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.recette-list {
	display:flex;
	width:1200px;
	gap:20px;
	height:450px;
}

.recette-bottom-row {
	display: flex;
    gap: 0px;
    margin-top: 16px;
    width: 80%;
}

.recette-list img {
    height: 81%;
    width: auto;
	object-fit: cover;
}
.fiche-recette .btn-primary {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #223222;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.fiche-recette .btn-primary:hover {
    background-color: #2f462f;
}

#titre-recettes-sirop {
    text-align: center;
    font-size: 2.3em;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

#titre-recettes-sirop .sous-titre-sirop {
    display: block;
    font-size: 1.2em;
    font-weight: 400;
    margin-top: 6px;
    margin-left: 20vw; /* Décale légèrement à droite, ajuste selon ton rendu */
    color: #223222;
    font-family: 'BirthstoneCustom', 'Raleway', sans-serif;
    letter-spacing: 0.5px;
    /* Responsive: moins décalé sur mobile */
}
@media (max-width: 900px) {
    #titre-recettes-sirop .sous-titre-sirop {
        margin-left: 7vw;
    }
}
@media (max-width: 600px) {
    #titre-recettes-sirop .sous-titre-sirop {
        margin-left: 0vw;
        font-size: 1em;
    }
}

/* fiche recette : colonne texte */
.recipe-right {
    flex: 1 1 60%;
    max-width: 60%;
    text-align: left;
    font-size: 1em;
    line-height: 1.5;
    max-height: min(520px, calc(100vh - 260px));
    overflow-y: auto;
    padding-right: 16px;
    padding-bottom: 32px;
    margin-bottom: 40px;
    position: relative;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 50, 34, 0.45) transparent;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
}

#step-recette-detail .center-recevoir {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
}

#recette-detail-container .recipe-left .center-recevoir {
    width: 100%;
}

#btn-parcours2-recevoir-recette {
    background: #223222;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.22s, transform 0.18s, box-shadow 0.19s;
    outline: none;
    margin: 0;
    letter-spacing: 0.01em;
    font-weight: 600;
}

#btn-parcours2-recevoir-recette:hover,
#btn-parcours2-recevoir-recette:focus {
    background: #2c4532;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 50, 34, 0.24);
}

#recette-detail-container .recipe-right::before,
#recette-detail-container .recipe-right::after {
    content: '';
    position: absolute;
    right: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

#recette-detail-container .recipe-right::before {
    top: 12px;
    width: 4px;
    height: calc(100% - 24px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(34, 50, 34, 0.25), rgba(34, 50, 34, 0));
}

#recette-detail-container .recipe-right::after {
    bottom: -28px;
    right: auto;
    left: 50%;
    width: auto;
    height: auto;
    border: none;
    transform: translateX(-50%);
    font-size: 20px;
    color: #223222;
    font-family: 'Raleway', sans-serif;
    line-height: 1;
    pointer-events: none;
    content: '\2193';
}

#recette-detail-container .recipe-right[data-overflow="true"]::before {
    opacity: 0.35;
}

#recette-detail-container .recipe-right[data-overflow="true"]::after {
    opacity: 0.8;
}

#recette-detail-container .recipe-right[data-scrolled="true"]::after,
#recette-detail-container .recipe-right[data-scrolled="true"]::before,
#recette-detail-container .recipe-right[data-overflow="false"]::after,
#recette-detail-container .recipe-right[data-overflow="false"]::before {
    opacity: 0;
}

#recette-detail-container .recipe-right::-webkit-scrollbar {
    width: 8px;
}

#recette-detail-container .recipe-right::-webkit-scrollbar-track {
    background: rgba(34, 50, 34, 0.14);
    border-radius: 999px;
}

#recette-detail-container .recipe-right::-webkit-scrollbar-thumb {
    background: rgba(34, 50, 34, 0.5);
    border-radius: 999px;
}

#recette-detail-container .recipe-right::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 50, 34, 0.62);
}

/* Responsive (ajuste la hauteur max sur petits écrans) */
@media (max-width: 1024px) {
    .recipe-container {
        gap: 32px;
    }
    #recette-detail-container .recipe-right {
        max-width: 58%;
        max-height: min(480px, calc(100vh - 240px));
    }
}

@media (max-width: 900px) {
    .recipe-container {
        flex-direction: column;
        align-items: center;
    }
    .recipe-left,
    .recipe-right {
        max-width: 100%;
    }
    #recette-detail-container .recipe-right {
        max-height: min(360px, calc(100vh - 260px));
        padding-right: 12px;
    }
    #recette-detail-container .recipe-right::before {
        right: 4px;
    }
    #recette-detail-container .recipe-right::after {
        right: 10px;
    }
}

@media (max-width: 600px) {
    #recette-detail-container .recipe-right {
        max-height: min(320px, calc(100vh - 280px));
    }
}


/* Track générique (en cas de fallback hors Swiper) */
.custom-slider-track {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    background: lightgray;
}

.custom-slider-item {
    background-color:transparent;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s;
	font-size:17px;
	font-family: 'Raleway', Arial, sans-serif;
}

.custom-slider-item:hover {
    transform: scale(1.05);
}

.famille-card {
    font-size: 18px;
}

.gamme-slider-img {
    width: 100%; 
    height: 88%;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    background: transparent;
	
}

.famille-slider-img {
    width: 100%; 
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    background: transparent;
	object-fit:cover;
	border: 10px solid #fff;
    box-shadow: 10px 15px 11px -8px #000;
}
	

.gamme-label {
    text-align: center;
    font-size: 1em;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin-top: 0;
	width:100%;
	background:#223222;
	padding: 10px 0px 10px 0px;
}

.famille-label {  
	padding-bottom:23px;
    font-size: 4.18em;
    font-family: 'BirthstoneCustom', cursive;
    font-weight: 100;
    text-align: center;
    color: #fff;
    background: transparent;
	width:100%;
	position: absolute;
    margin-top: 30%;
    transform: translate(0%, 0%) rotate(-17deg);
	line-height:40px;
}
/*google Gtranslate*/
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc  {
  display: none !important;
}
