@import url("componentAccordion-28bf5d2617129395cc2e5dc4fcdbc5af.css");
/* RECIPES LIST */

.componentRecipesList:not(.overlappingBoxes) {
    margin-bottom: 1.875rem;
}

.componentRecipesList:not(.overlappingBoxes):last-of-type {
    margin-bottom: 2.313rem;
}

.componentRecipesList:not(.overlappingBoxes) .swiper-container {
    --side-padding: 0rem;
    padding-top: 1.063rem;
    padding-bottom: 1.438rem;
}

.componentRecipesList:not(.overlappingBoxes):last-child .swiper-container {
    margin-bottom: 1.875rem;
    padding-top: 1.063rem;
    padding-bottom: 1.438rem;
}

.componentRecipesList-swiper {
    padding: calc(var(--shadow-blur) - 0.001rem);
}

.componentRecipesList:not(.overlappingBoxes) .swiper-arrow {
    display: none;
}

.componentRecipesList-background img {
    height: 16.25rem;
}

.home .componentRecipesList-background img {
    height: 18.125rem;
}

/* DURATION */
.duration {
    position: absolute;
    right: .75rem;
    top: 1.313rem;
    top: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.375rem 0 0.188rem;
    border-radius: var(--radius);
    background-color: var(--white);
}

.duration-time {
    display: inline-block;
    margin-left: 0.5rem;
}

.duration-clock,
.duration-knife,
.duration-heat {
    display: inline-block;
    width: var(--clock-box-height);
    height: var(--clock-box-height);
    background-image: var(--clock-background);
    background-size: var(--clock-background-size);
    background-position: center;
    background-repeat: no-repeat;
}

.duration-heat {
    background-image: var(--heat-background);
}

.duration-knife {
    background-image: var(--knife-background);
}

.duration-time {
    color: var(--black);
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
}
/* END DURATION */

/* END NOTATION STAR */

.section-recipes-list.content-width.componentRecipesList.overlappingBoxes{
    margin-bottom: -.5rem; /* dunno why */
}

.section-recipes-list h2 {
    margin-bottom: 2rem;
}

.section-recipes-list h2:has( + div.componentRecipesList-subtitle) {
    margin-bottom: 1rem;
}

.section-recipes-list h2 + div.componentRecipesList-subtitle {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pageGeneric.acceuil-recettes .section-recipes-list.content-width.componentRecipesList.overlappingBoxes{
    margin-bottom: 0;
}

@media screen and (min-width: 48rem) {

    .componentRecipesList:not(.overlappingBoxes) .swiper-container {
        --side-margin: 7.188rem;
        padding-top: 0.875rem;
    }

    .section-recipes-list.content-width.componentRecipesList.overlappingBoxes {
        margin-bottom: 2.25rem;
    }

    .home .section-recipes-list.content-width.componentRecipesList.overlappingBoxes {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 64rem) {

    .section-recipes-list h2 {
        margin-bottom: 3.875rem;
    }

    .section-recipes-list h2:has( + div.componentRecipesList-subtitle) {
        margin-bottom: 1.5rem;
    }

    .section-recipes-list h2 + div.componentRecipesList-subtitle {
        margin-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .componentRecipesList:not(.overlappingBoxes) .swiper {
        width: var(--min-content-width);
    }

    .componentRecipesList:not(.overlappingBoxes) {
        margin-bottom: 2.5rem;
    }

    .componentRecipesList:not(.overlappingBoxes):last-of-type {
        margin-bottom: 5rem;
    }

    .componentRecipesList:not(.overlappingBoxes) .swiper-container {
        padding-top: 3.688rem;
        padding-bottom: 1.875rem;
        margin-left: var(--side-margin);
        margin-right: var(--side-margin);
    }

    .componentRecipesList-background img {
        height: 17.188rem;
    }

    .home .componentRecipesList-background img {
        height: 46.25rem;
    }
}


/* END RECIPES LIST */

/* OVERLAPPING BOXES */
.overlappingBoxes {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin: 2.625rem auto 1.375rem;
}

.overlappingBoxes > * {
    box-sizing: border-box;
    width: 100%;
}

.overlappingBoxes > img,
.overlappingBoxes .componentRecipesList-background {
    display: block;
    width: 100vw;
}

.overlappingBoxes > .overlappingBoxes-upper ~ picture {
    display: none;
}

.overlappingBoxes:has( > img:last-child),
.overlappingBoxes:has( > .componentRecipesList-background:last-child) {
    justify-content: flex-start;
}

.overlappingBoxes-upper {
    --side-padding: .75rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.813rem var(--side-padding) 1.5rem;
    text-align: center;
    border-radius: var(--radius);
}

.home .componentRecipesList .overlappingBoxes-upper {
    padding-top: 2.563rem;
}

.home .componentRecipesList .overlappingBoxes-upper h2 {
    margin-bottom: 3rem;
}

.overlappingBoxes-upper img {
    display: inline-block;
    width: initial;
    max-width: calc(100vw - 10px);
}

.overlappingBoxes-upper h3 {
    margin: 0.5rem 0 .938rem;
}

.overlappingBoxes-upper p {
    margin: 0 0 .938rem;
}

.overlappingBoxes .bgcol-blue > *,
.swiper-container.bgcol-blue > * {
    color: var(--white);
}

.overlappingBoxes .bgcol-blue .swiper-slide,
.swiper-container.bgcol-blue .swiper-slide {
    background-color: var(--white);
}

.overlappingBoxes .bgcol-blue .swiper-slide > *:not(.swiper-arrow:after),
.swiper-container.bgcol-blue .swiper-slide > *:not(.swiper-arrow:after) {
    color: var(--blue);
}

.overlappingBoxes .bgcol-blue .recipe-footer,
.swiper-container.bgcol-blue .recipe-footer {
    color: var(--blue);
    background-color: var(--white);
}

.overlappingBoxes .bgcol-blue .swiper-slide .cta:hover,
.swiper-container.bgcol-blue .swiper-slide .cta:hover {
    --color: var(--blue);
}

.overlappingBoxes .bgcol-white > *,
.swiper-container.bgcol-white > * {
    color: var(--blue);
}

.overlappingBoxes .bgcol-white .swiper-arrow:after,
.swiper-container.bgcol-white .swiper-arrow:after {
    color: var(--white);
}

.overlappingBoxes .bgcol-white .swiper-slide,
.swiper-container.bgcol-white .swiper-slide {
    background-color: var(--blue);
}

.overlappingBoxes .bgcol-white .swiper-slide > *:not(.swiper-arrow:after),
.swiper-container.bgcol-white .swiper-slide > *:not(.swiper-arrow:after) {
    color: var(--white);
}

.overlappingBoxes .bgcol-white .recipe-footer,
.swiper-container.bgcol-white .recipe-footer {
    background-color: var(--blue);
    color: var(--white);
}

.overlappingBoxes .bgcol-white .swiper-slide .cta,
.swiper-container.bgcol-white .swiper-slide .cta {
    color: var(--blue);
    background-color: var(--white);
}

/* 768px */
@media screen and (min-width: 48rem) {

    .overlappingBoxes > picture,
    .overlappingBoxes .componentRecipesList-background {
        display: none;
    }
}

/* 1024px */
@media screen and (min-width: 64rem) {

    .overlappingBoxes {
        min-height: 46.25rem;
        flex-direction: row;
    }

    .overlappingBoxes > .overlappingBoxes-upper ~ picture {
        display: block;
    }

    .overlappingBoxes > picture img,
    .overlappingBoxes .componentRecipesList-background img {
        object-fit: cover;
        height: 100%;
    }

    .overlappingBoxes > picture,
    .overlappingBoxes .componentRecipesList-background {
        display: block;
        border-radius: var(--radius);
        overflow: hidden;
        height: 46.25rem;
        /* position: absolute;
        top: 50%;
        z-index: 0;
        transform: translateY(-50%); */
    }

    .overlappingBoxes > *:first-child {
        /* left: 0; */
        width: 28.875rem;
        transform: translateX(.813rem);
    }

    .overlappingBoxes > *:first-child ~ div,
    .overlappingBoxes > *:first-child ~ picture {
        /* right: 0; */
        width: 43.25rem;
        transform: translateX(-.813rem);
    }

    .overlappingBoxes-upper {        
        padding: 1.813rem 5.2rem 2.563rem;
    }

    .home .componentRecipesList .overlappingBoxes-upper {
        padding-top: 2.313rem;
    }

    .home .componentRecipesList .overlappingBoxes-upper h2 {
        margin-top: 0;
        margin-bottom: 2.25rem;
    }

    .overlappingBoxes-upper:has(.componentRecipesList-readMore),
    .overlappingBoxes-upper:has(.componentProductsList-readMore) {        
        padding-bottom: 1.875rem;
    }

    .overlappingBoxes h2 {
        margin-top: 0;
    }

    .overlappingBoxes .overlappingBoxes-upper:first-child h2 {
        margin-bottom: 0.5rem;
    }

    .overlappingBoxes .overlappingBoxes-upper:first-child .cta {
        font-size: var(--p-s-size);
    }

    .overlappingBoxes h3,
    .recipe h3 {
        margin: .25rem 0 .188rem;
        font-size: var(--h3-s-size);
        line-height: var(--h3-s-line-height);
        font-weight: 600;
    }

    .overlappingBoxes p {
        font-size: var(--p-l-size);
        line-height:var(--p-l-line-height);
        margin-bottom: 0.188rem;
    }
    
    .overlappingBoxes .cta {
        margin-top: 1.5rem;
        padding: 0 1.313rem;
    }

    .overlappingBoxes-upper img {
        max-width: initial;
    }

    .overlappingBoxes:has(.swiper) h2 {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
}
/* END OVERLAPPING BOXES */

/* FAVORITE STARS */
span.fav-star {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: block;
    width: var(--star-box-width);
    height: var(--star-box-width);
    border-radius: var(--radius);
    background-color: var(--white);
    background-image: var(--star-background);
    background-size: var(--star-background-size);
    background-position: center calc(50% - 1px);
    background-repeat: no-repeat;
    cursor: pointer;
}

.fav-star.filled {
    background-image: var(--star-filled-background);
}

/* END FAVORITE STARS */

/* EDIT PEN & DELETE TRASH */
.edit-buttons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: end;
    gap: 0.625rem;
}
span.edit {
    display: block;
    width: var(--star-box-width);
    height: var(--star-box-width);
    border: 2px solid var(--blue);
    border-radius: 100%;
    background-color: var(--white);
    background-image: var(--pen-background);
    background-size: var(--star-background-size);
    background-position: center calc(50% - 1px);
    background-repeat: no-repeat;
    cursor: pointer;
}
span.delete {
    display: block;
    width: var(--star-box-width);
    height: var(--star-box-width);
    border: 2px solid var(--blue);
    border-radius: 100%;
    background-color: var(--white);
    background-image: var(--trash-background);
    background-size: var(--star-background-size);
    background-position: center calc(50% - 1px);
    background-repeat: no-repeat;
    cursor: pointer;
}

/* 1024px */
@media screen and (min-width: 64rem) {

    .edit-buttons {
        top: 1.1875rem;
        right: 1.375rem;
        gap: 0.875rem;
    }
}
/* END EDIT PEN & DELETE TRASH */


/* PRODUCTS LIST - RECIPES LIST */

.componentRecipesList:has(.componentRecipesList-background.mobile) .componentRecipesList-background.desktop {
    display: none;
}

.componentRecipesList .overlappingBoxes-upper {
    top: -2.438rem;
}

.componentRecipesList-readMore,
.componentProductsList-readMore {
    display: block;
    text-align: center;
    margin-top: .25rem;
}
    
.componentProductsList-readMore {
    margin-top: 0.938rem;
}

/* .products-list .products-swiper .swiper-arrow .swiper-button-prev{
    left: 50px;
}

.products-list .products-swiper .swiper-arrow .swiper-button-next{
    right: 10px;
} */

@media screen and (min-width: 48rem) {

    .componentRecipesList .overlappingBoxes-upper {
        top: 0;
    }
}

@media screen and (min-width: 64rem) {

    .componentRecipesList:has(.componentRecipesList-background.desktop) .componentRecipesList-background.mobile {
        display: none;
    }

    .componentRecipesList:has(.componentRecipesList-background.mobile) .componentRecipesList-background.desktop {
        display: block;
    }

    .componentRecipesList-readMore,
    .componentProductsList-readMore {
        margin-top: -.438rem;
        font-size: var(--p-l-size);
        line-height: var(--p-l-line-height);
    }
    
    .componentProductsList-readMore {
        margin-top: 1.688rem;
    }

    .home .componentProductList-readMore {
        margin-top: calc(1.688rem - var(--shadow-blur));
    }
}