.pageProduct {
    margin-bottom: 1.938rem;
}

.pageProduct h1,
.pageProduct h2,
.pageProduct h3,
.pageProduct-description,
.pageProduct-tips {
    text-align: center;
}

.pageProduct .card {
    box-sizing: border-box;
}

.pageProduct p:last-child {
    margin-bottom: 0;
}

/* HEADER */

.pageProduct .wrapperAsset img {
    --img-height: 20.063rem;
}

/* DESCRIPTION */

.pageProduct-description {
    background: linear-gradient(to bottom, var(--blue), var(--blue) 27.438rem, var(--white) 27.439rem);
}

.pageProduct-description .card {
    position: relative;
    margin-top: -8.3rem;
    padding: 1.625rem 2rem 2.563rem;
}

.pageProduct-description h1 {
    margin-bottom: 2.35rem;
}

.pageProduct-description img {
    --img-height: 12.5rem;
    --fit: contain;
}

.pageProduct-description .mobile-tablet-only img {
    margin-left: auto;
    margin-right: auto;
}

.pageProduct-description-text,
.pageProduct-description-ingredients {
    margin-top: 2.6rem;
    font-family: 'Open-sans', sans-serif;
}

.pageProduct-description-ingredients {
    margin-top: 0;
}

.pageProduct-description h2 {
    margin-top: 2.25rem;
    margin-bottom: .5rem;
}

/* TIPS */

.pageProduct-tips .card {
    margin-top: 1.875rem;
    padding: 1.4rem 1.5rem 2rem;
    font-family: 'Open sans', sans-serif;
}

.pageProduct-tips h2 {
    margin-bottom: 1.4rem;
}

.pageProduct-tips h2:not(:first-child):before {
    content: '';
    display: block;
    margin: 1.25rem auto 1.5rem;
    width: 2.875rem;
    height: .375rem;
    background-color: var(--white);
}

/* NUTRITION */

.pageProduct-nutrition {
    margin-top: 1.563rem;
    padding: 1.875rem 2rem 2.3rem;
}

.pageProduct-nutrition h2 {
    margin-bottom: 1.85rem;
}

.pageProduct-nutrition-line {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.pageProduct-nutrition-line:before {
    content: '';
    position: absolute;
    top: 1rem;
    width: 100%;
    height: 0.063rem;
    z-index: 0;
    background: var(--blue);
}

.pageProduct-nutrition-line:has(span.nutrition-value:empty):before {
    content: none;
}

.pageProduct-nutrition-line + .pageProduct-nutrition-line {
    margin-top: 0.625rem;
}

.pageProduct-nutrition-line span {
    position: relative;
    display: inline-block;
    padding-left: .5rem;
    background-color: var(--white);
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
}

.pageProduct-nutrition-line span:first-child {
    font-weight: 700;
    padding-left: 0;
    padding-right: .5rem;
}

/* REECIPES LIST */

.pageProduct .section-recipes-list {
    margin-top: 1.313rem;
}

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

.pageProduct .section-recipes-list h3 {
    margin-top: .875rem;
    margin-bottom: .375rem;
}

.pageProduct .swiper-container {
    padding-bottom: 1.9rem;
}

.pageProduct .swiper-container > p:last-child {
    display: none;
}

.pageProduct-content .componentRecipesList-background {
    display: none;
}
    
.pageProduct-content .componentRecipesList .overlappingBoxes-upper {
    top: 0;
    padding-top: 2.563rem;
}

/* disabled swiper */

.pageProduct-content .componentRecipesList-swiper[data-disable-on=desktop] .swiper-slide {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    padding-bottom: 0.938rem;
}

.pageProduct-content .componentRecipesList-swiper[data-disable-on=desktop] .swiper-slide .cta {
    --color: var(--white);
    --backgroundColor: var(--blue);
}

.pageProduct-content .componentRecipesList-swiper[data-disable-on=desktop] .swiper-slide .cta:hover {
    --color: var(--blue);
}

/* end disable swiper */

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

    .pageProduct .wrapperAsset img {
        --img-height: 23.75rem;
    }

    .pageProduct-description {
        background: linear-gradient(to bottom, var(--blue), var(--blue) 20.438rem, var(--white) 20.439rem);
    }

    .pageProduct-description .card {
        display: flex;
        margin-top: -4.563rem;
        padding: 4.75em 6.188rem  4.25em;
        gap: 3rem;
    }
    
    .pageProduct-description-column {
        flex: 1;
        align-self: center;
    }

    .pageProduct-description-column > div:first-child {
        width: 26.25rem;
        margin: 0 auto;
    }
    
    .pageProduct-description h1 {
        margin-bottom: .5rem;
    }

    .pageProduct-description h2 {
        margin-top: 3.2rem;
        margin-bottom: 0.5rem;
    }

    .pageProduct-description h2,
    .pageProduct-content h2 {
        font-size: var(--h3-size);
        line-height: var(--h3-line-height);
    }

    .pageProduct-description-text,
    .pageProduct-description-ingredients {
        margin-top: 0;
        font-family: 'Montserrat', sans-serif;
    }

    .pageProduct-description-text p {
        font-size: 1.25rem;
        line-height: 1.375rem;
        margin-bottom: 1.4rem;
    }

    .pageProduct-description img {
        --img-height: 22rem;
    }

    .pageProduct-description-ingredients {
        padding: 0 5rem;
        font-size: 1.25rem;
        line-height: 1.375rem;
    }
    
    .pageProduct-content h2:first-child {
        margin-top: 0;
    }
    
    .pageProduct-content {
        --h3-size: 1.688rem;
        --h3-line-height: 1.631rem;
        --max-content-width: 56.313rem;
        --content-width: var(--max-content-width);
        display: flex;
        flex-direction: row-reverse;
        gap: 1.313rem;
        width: var(--content-width);
        margin: 4.125rem auto 0;
        box-sizing: border-box;
    }

    .pageProduct-content > * {
        flex: 1;
    }
    
    .pageProduct-content .content-width {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    
    .pageProduct-tips .card {
        padding-top: 1.938rem;
        padding-bottom: 2.25rem;
        font-family: 'Montserrat', sans-serif;
    }

    .pageProduct-tips .card + .card {
        margin-top: 1.438rem;
    }
    
    .pageProduct-tips .card:first-child {
        margin-top: 0;
        padding-top: 2.313rem;
        padding-bottom: 2.25rem;
    }
    
    .pageProduct-nutrition h2,
    .pageProduct-tips > div:first-child h2 {
        padding: 0 4rem;
    }
    
    .pageProduct-tips > div:first-child h2 {
        margin-bottom: 1.5rem;
    }
    
    .pageProduct-tips > div:not(:first-child) h2:not(:first-child) {
        margin-top: 2.125rem;
        margin-bottom: 1.25rem;
    }

    .pageProduct-tips h2:not(:first-child)::before {
        margin: 1.5rem auto 2rem;
    }
    
    .pageProduct-nutrition {
        margin-top: 2.188rem;
        padding-top: 1.438rem;
        padding-bottom: 1.7rem;
    }

    .pageProduct-nutrition-line span {
        font-family: "Montserrat", serif;
        font-size: 1.25rem;
        line-height: 1.375rem;
    }
    
    .pageProduct-nutrition h2 {
        margin-bottom: 1.2rem;
    }
    
    .pageProduct-nutrition-line + .pageProduct-nutrition-line {
        margin-top: 0.5rem;
    }
    
    .pageProduct-nutrition-line span:first-child {
        font-weight: 400;
    }

    .pageProduct .section-recipes-list {
        margin-top: 0;
    }

    .pageProduct .componentRecipesList h3 a,
    .pageProduct .componentProductsList h3 a {
        font-weight: 600;
      }
    
    .pageProduct-content .componentRecipesList {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
    }

    .pageProduct-content .componentRecipesList:has(.componentRecipesList-background) div.swiper-container {
        margin-top: -2.625rem;
        transform: none;
    }
    
    .pageProduct-content .componentRecipesList-background {
        display: block;
        width: 100%;
        height: auto;
        transform: none;
        top: 0;
        right: 0;
    }
    
    .pageProduct-content .componentRecipesList h2 {
       margin-bottom: 1.75rem;
    }
    
    .pageProduct-content .componentRecipesList .swiper-container {
        width: 21.688rem;
        padding: 2.063rem 2rem 2.5rem;
        box-sizing: border-box;
    }
    
    .pageProduct-content .componentRecipesList:has(.componentRecipesList-background) .swiper-container {
        margin-top: 13.625rem;
    }
    
    .pageProduct-content .componentRecipesList:has(.swiper-slide:nth-child(2)) .swiper-container {
        position: relative;
    }
    
    .pageProduct-content .componentRecipesList:has(.swiper-slide:nth-child(2)) .swiper-arrow {
        display: flex;
    }
    
    .pageProduct-content .componentRecipesList .swiper {
        width: 15.625rem;
    }

    .pageProduct-content .componentRecipesList .card > p:last-child a {
        color: var(--white);
        text-decoration: underline;
    }

    .pageProduct-content .componentRecipesList .card a.cta {
        margin-bottom: 0;
    }

    .pageProduct .swiper-container > p:last-child {
        display: block;
    }

    .pageProduct .product-wrapper {
        --content-width: calc(52.75rem + var(--shadow-blur) * 2);
    }
    
    .pageProduct .product-wrapper h2 {
       margin-bottom: calc(2.4rem - var(--shadow-blur))
    }

    .pageProduct .product-wrapper .swiper-slide {
        padding-right: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 1.5rem;
    }

    .pageProduct .products-list .product-wrapper:has(.swiper-arrow) h2,
    .pageProduct .products-list .product-wrapper:has(.swiper-arrow) p {
        margin-right: 0;
        margin-left: 0;
    }

    .pageProduct .products-list .product-wrapper:has(.swiper-arrow) .swiper h2 {
        margin-top: .5rem;
        margin-bottom: .75rem;
        font-size: 1.375rem;
        line-height: 1.188rem;
        font-weight: 600;
    }

    .pageProduct .products-list .product-wrapper:has(.swiper-arrow) > h2 {
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
        font-size: var(--h1-size);
        line-height: var(--h1-line-height);
        font-weight: 700;
    }
    
    .pageProduct .products-list .product-wrapper:has(.swiper-arrow) p {
        font-size: 1rem;
        line-height: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .pageProduct .products-list {
        margin-top: 3.938rem;
    }

    .pageProduct .products-swiper {
        overflow: hidden;
        padding: calc(var(--shadow-blur) - 0.001rem);
    }

    .pageProduct .products-list .swiper-arrow {
        position: absolute;
        top: var(--swiper-navigation-top-offset, 50%);
    }

    .pageProduct > section:last-of-type {
        margin-top: calc(5.313rem - var(--shadow-blur));    
    }
}

/* Products list */
.pageProduct .product-wrapper {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding-top: 2.25rem;
}

.pageProduct .product-wrapper h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.pageProduct .componentProductsList .card {
    box-shadow: none;
}

.product-wrapper .swiper-arrow {
    --swiper-navigation-top-offset: 11rem;
  }

.pageProduct .componentProductsList .swiper-arrow.swiper-button-prev {
    left: 1rem;
}

.pageProduct .componentProductsList .swiper-arrow.swiper-button-next {
    right: 1rem;
}

.pageProduct .componentProductsList .product-footer h2,
.pageProduct .componentProductsList .product-footer p {
    margin-left: 0;
    margin-right: 0;
}

.pageProduct .componentProductsList .product-footer h2 {
    margin-top: 1rem;
}

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

    .pageProduct .product-wrapper {
        box-shadow: none;
        padding-top: 0;
    }

    .pageProduct .product-wrapper .swiper {
        padding: calc(var(--shadow-blur) - 0.001rem);
        overflow: hidden;
    }

    .pageProduct .componentProductsList .swiper-arrow.swiper-button-prev {
        left: var(--swiper-navigation-sides-offset);
    }

    .pageProduct .componentProductsList .swiper-arrow.swiper-button-next {
        right: var(--swiper-navigation-sides-offset);
    }
    
    .product-wrapper .swiper-arrow {
        --swiper-navigation-top-offset: 50%;
    }

    .pageProduct .componentProductsList .swiper ~ .swiper-arrow {
        --swiper-navigation-sides-offset: calc(var(--swiper-navigation-size) / -2 + var(--shadow-blur));
    }
}

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

    .pageProduct .componentProductsList .swiper ~ .swiper-arrow {
        --swiper-navigation-sides-offset: -3rem;
    }
}

/* NO SWIPER CARD */
.componentProductsList:not(:has(.swiper)) .product-wrapper {
    box-shadow: initial;
}

.componentProductsList:not(:has(.swiper)) .product-slide {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 28.75rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.componentProductsList:not(:has(.swiper)) .product-footer {
    text-align: center;
}