/* ============================================================
   INGREDIENTS PAGE
============================================================ */

.ingredients-page {
    width: 100%;
    overflow: hidden;
    background: #f8f6f1;
}


/* ============================================================
   HERO SLIDER WRAPPER
============================================================ */

.ingredients-hero-slider {
    width: 100%;
    position: relative;
    background: #111;

    /* Space below website header on desktop */
    margin-top: 30px;
}


/* ============================================================
   HERO SLIDER
============================================================ */

.ingredients-slider {
    width: 100%;
    height: 600px;

    position: relative;
    overflow: hidden;

    background: #111;
}


/* ============================================================
   SLIDES
============================================================ */

.ingredients-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    z-index: 1;

    transition:
        opacity 1.2s ease,
        visibility 1.2s ease;
}


.ingredients-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/* ============================================================
   SLIDE IMAGE
============================================================ */

.ingredients-slide img {
    width: 100%;
    height: 100%;

    display: block;

    /*
    | Fill complete hero.
    | Some cropping is expected because desktop/mobile
    | have different aspect ratios.
    */
    object-fit: cover;

    /*
    | Slightly favors upper-middle area.
    | Useful when product/person is near center.
    */
    object-position: center 40%;

    transform: scale(1.02);

    transition:
        transform 7s ease;
}


.ingredients-slide.active img {
    transform: scale(1);
}


/* ============================================================
   IMAGE OVERLAY
============================================================ */

.ingredients-slide::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.01) 50%,
            rgba(0, 0, 0, 0.25) 100%
        );
}


/* ============================================================
   SLIDER ARROWS
============================================================ */

.ingredients-slider-arrow {
    position: absolute;

    top: 50%;

    width: 52px;
    height: 52px;

    padding: 0;

    transform: translateY(-50%);

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    background:
        rgba(0, 0, 0, 0.15);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    cursor: pointer;

    z-index: 20;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.ingredients-slider-arrow:hover {
    background: #fff;

    color: #111;

    border-color: #fff;

    transform:
        translateY(-50%)
        scale(1.05);
}


/* Previous */

.ingredients-slider-prev {
    left: 30px;
}


/* Next */

.ingredients-slider-next {
    right: 30px;
}


/* ============================================================
   SLIDER DOTS
============================================================ */

.ingredients-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    z-index: 20;
}


.ingredients-slider-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    outline: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        border-radius 0.3s ease;
}


.ingredients-slider-dot:hover {
    background:
        rgba(255, 255, 255, 0.9);
}


.ingredients-slider-dot.active {
    width: 30px;

    border-radius: 20px;

    background: #fff;
}


/* ============================================================
   SLIDER COUNTER
============================================================ */

.ingredients-slider-counter {
    position: absolute;

    right: 32px;
    bottom: 27px;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 10px;

    color: #fff;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 2px;
}


.counter-line {
    display: block;

    width: 30px;
    height: 1px;

    background:
        rgba(255, 255, 255, 0.75);
}


/* ============================================================
   DISCOVER / SCROLL INDICATOR
============================================================ */

.ingredients-scroll-indicator {
    position: absolute;

    left: 32px;
    bottom: 27px;

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #fff;

    text-decoration: none;

    transition:
        opacity 0.3s ease;
}


.ingredients-scroll-indicator:hover {
    color: #fff;

    text-decoration: none;

    opacity: 0.8;
}


.scroll-line {
    width: 42px;
    height: 1px;

    display: block;

    background: #fff;
}


.scroll-text {
    color: #fff;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 3px;
}


/* ============================================================
   CONTENT BELOW HERO
============================================================ */

.ingredients-intro {
    padding:
        120px
        20px
        130px;

    background: #f8f6f1;
}


.ingredients-intro-wrapper {
    width: 100%;

    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}


/* ============================================================
   INTRO SMALL LABEL
============================================================ */

.ingredients-intro-label {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 14px;

    margin-bottom: 32px;

    color: #777;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.intro-label-line {
    width: 40px;
    height: 1px;

    display: block;

    background: #999;
}


/* ============================================================
   INTRO TITLE
============================================================ */

.ingredients-intro-title {
    width: 100%;

    max-width: 900px;

    margin:
        0 auto
        38px;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            72px
        );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -2px;
}


/* ============================================================
   INTRO DESCRIPTION
============================================================ */

.ingredients-intro-description {
    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    color: #5e5e5e;

    font-size: 17px;

    font-weight: 400;

    line-height: 2;
}


/* ============================================================
   EMPTY CONTENT
============================================================ */

.ingredients-empty {
    min-height: 600px;

    padding:
        160px
        20px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background: #f8f6f1;
}


.ingredients-empty-content {
    width: 100%;

    max-width: 600px;

    margin: auto;
}


.ingredients-empty-content h2 {
    margin:
        0
        0
        15px;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 50px;

    font-weight: 400;
}


.ingredients-empty-content p {
    margin: 0;

    color: #777;

    font-size: 16px;
}


/* ============================================================
   VERY LARGE DESKTOP
   1600px+
============================================================ */

@media (min-width: 1600px) {

    .ingredients-hero-slider {
        margin-top: 35px;
    }


    .ingredients-slider {
        height: 700px;
    }


    .ingredients-slider-prev {
        left: 40px;
    }


    .ingredients-slider-next {
        right: 40px;
    }


    .ingredients-slider-counter {
        right: 40px;
    }


    .ingredients-scroll-indicator {
        left: 40px;
    }

}


/* ============================================================
   DESKTOP / LAPTOP
   1200px - 1599px
============================================================ */

@media
(min-width: 1200px)
and
(max-width: 1599px) {

    .ingredients-hero-slider {
        margin-top: 30px;
    }


    .ingredients-slider {
        height: 600px;
    }

}


/* ============================================================
   SMALL LAPTOP
   992px - 1199px
============================================================ */

@media
(min-width: 992px)
and
(max-width: 1199px) {

    .ingredients-hero-slider {
        margin-top: 25px;
    }


    .ingredients-slider {
        height: 540px;
    }


    .ingredients-slider-arrow {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }


    .ingredients-slider-prev {
        left: 22px;
    }


    .ingredients-slider-next {
        right: 22px;
    }


    .ingredients-intro {
        padding:
            100px
            25px
            110px;
    }

}


/* ============================================================
   TABLET
   BELOW 992px
============================================================ */

@media (max-width: 991px) {

    .ingredients-hero-slider {
        margin-top: 15px;
    }


    .ingredients-slider {
        height: 520px;

        min-height: 0;
    }


    .ingredients-slide img {
        object-position: center center;
    }


    .ingredients-slider-prev {
        left: 18px;
    }


    .ingredients-slider-next {
        right: 18px;
    }


    .ingredients-slider-arrow {
        width: 44px;
        height: 44px;

        font-size: 20px;
    }


    .ingredients-slider-counter {
        right: 20px;
        bottom: 22px;
    }


    .ingredients-scroll-indicator {
        left: 20px;
        bottom: 22px;
    }


    .ingredients-slider-dots {
        bottom: 22px;
    }


    .ingredients-intro {
        padding:
            90px
            25px
            100px;
    }


    .ingredients-intro-title {
        font-size: 50px;
    }

}


/* ============================================================
   MOBILE
   BELOW 768px
============================================================ */

@media (max-width: 767px) {

    .ingredients-page {
        overflow: hidden;
    }


    .ingredients-hero-slider {
        margin-top: 10px;
    }


    .ingredients-slider {
        width: 100%;

        height: 500px;

        min-height: 0;
    }


    /*
    | Mobile crops left/right portions of a landscape image.
    | Keep the important subject in the center of uploaded image.
    */

    .ingredients-slide img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position: center center;

        transform: scale(1.01);
    }


    .ingredients-slide.active img {
        transform: scale(1);
    }


    /* Arrows */

    .ingredients-slider-arrow {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }


    .ingredients-slider-prev {
        left: 12px;
    }


    .ingredients-slider-next {
        right: 12px;
    }


    /* Dots */

    .ingredients-slider-dots {
        bottom: 20px;

        gap: 7px;
    }


    .ingredients-slider-dot {
        width: 6px;
        height: 6px;
    }


    .ingredients-slider-dot.active {
        width: 25px;
    }


    /* Hide desktop controls */

    .ingredients-slider-counter {
        display: none;
    }


    .ingredients-scroll-indicator {
        display: none;
    }


    /* Content */

    .ingredients-intro {
        padding:
            75px
            20px
            85px;
    }


    .ingredients-intro-wrapper {
        max-width: 100%;
    }


    .ingredients-intro-label {
        margin-bottom: 25px;

        gap: 10px;

        font-size: 9px;

        letter-spacing: 3px;
    }


    .intro-label-line {
        width: 30px;
    }


    .ingredients-intro-title {
        margin-bottom: 28px;

        font-size: 38px;

        line-height: 1.12;

        letter-spacing: -1px;
    }


    .ingredients-intro-description {
        font-size: 15px;

        line-height: 1.8;
    }


    .ingredients-empty {
        min-height: 450px;

        padding:
            100px
            20px;
    }


    .ingredients-empty-content h2 {
        font-size: 38px;
    }

}


/* ============================================================
   SMALL MOBILE
   BELOW 481px
============================================================ */

@media (max-width: 480px) {

    .ingredients-hero-slider {
        margin-top: 8px;
    }


    .ingredients-slider {
        height: 430px;

        min-height: 0;
    }


    .ingredients-slider-arrow {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }


    .ingredients-slider-prev {
        left: 8px;
    }


    .ingredients-slider-next {
        right: 8px;
    }


    .ingredients-slider-dots {
        bottom: 15px;
    }


    .ingredients-intro {
        padding:
            60px
            18px
            70px;
    }


    .ingredients-intro-title {
        font-size: 34px;

        line-height: 1.15;
    }


    .ingredients-intro-description {
        font-size: 14px;

        line-height: 1.75;
    }

}


/* ============================================================
   VERY SMALL MOBILE
============================================================ */

@media (max-width: 360px) {

    .ingredients-slider {
        height: 400px;
    }


    .ingredients-intro-title {
        font-size: 30px;
    }

}