/* Opal Foods: refreshed CTAs using the supplied product photos as backgrounds. */
html {
    scroll-padding-top: 95px
}

#products,
#gifting {
    scroll-margin-top: 95px
}

.opal-feature-cta {
    position: relative;
    overflow: hidden;
    background: #274b2d !important;
    color: #fff;
    padding: 100px 0;
    isolation: isolate
}

.opal-feature-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(24, 54, 30, .96) 0%, rgba(28, 63, 34, .87) 49%, rgba(24, 54, 30, .42) 100%), url('../../img/products/cta-background.png') right 15% center / auto 115% no-repeat;
    background-color: #284b2d
}

.opal-feature-cta:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .3;
    background: radial-gradient(circle at 83% 40%, #EFA71155, transparent 44%), repeating-linear-gradient(125deg, transparent 0 48px, #ffffff0b 49px 50px)
}

.opal-feature-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
    min-height: 330px
}

.opal-feature-content {
    padding: 0;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important
}

.opal-feature-content .eyebrow {
    color: #f5d58d
}

.opal-feature-content h2 {
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.1;
    max-width: 650px
}

.opal-feature-content h2 em {
    color: #EFA711 !important
}

.opal-feature-content p {
    color: #e1ecdd;
    max-width: 560px;
    font-size: 1.04rem;
    line-height: 1.85;
    margin: 18px 0 28px
}

.opal-feature-image {
    display: grid;
    place-items: center;
    min-height: 320px;
    background: none !important
}

.opal-feature-image img {
    width: 100%;
    max-width: 420px;
    height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 28px 25px #1025139c);
    transform: rotate(-7deg)
}

.opal-custom-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #4D2C1C !important;
    padding: 95px 0
}

.opal-custom-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(95deg, #352015 0%, #4D2C1Cf5 45%, #4D2C1C77 100%), url('../../img/products/cta-background-1.png') right 7% center / auto 120% no-repeat;
    background-color: #4D2C1C
}

.opal-custom-cta:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 84% 52%, #EFA71155, transparent 38%)
}

.opal-custom-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 35px
}

.opal-custom-inner>div {
    position: relative;
    z-index: 1
}

.opal-custom-inner .eyebrow {
    color: #f3d09b
}

.opal-custom-inner h2 {
    font-size: clamp(2.6rem, 4.7vw, 4.5rem);
    line-height: 1.12
}

.opal-custom-inner p {
    font-size: 1.02rem;
    line-height: 1.85
}

.opal-custom-inner>img {
    max-height: 380px;
    filter: drop-shadow(0 28px 24px #160c0880)
}

.floating-wa {
    position: fixed !important;
    left: 20px !important;
    right: auto !important;
    bottom: 20px !important;
    z-index: 80 !important;
    width: 58px;
    height: 58px;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center;
    background: #238c4a !important;
    color: #fff !important;
    box-shadow: 0 8px 25px #13371e77;
    font-size: 0 !important;
    padding: 0 !important;
    transition: transform .2s
}

.floating-wa svg {
    fill: currentColor
}

.floating-wa:hover {
    transform: translateY(-4px)
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 23px;
    z-index: 80;
    width: 48px;
    height: 48px;
    border: 1px solid #e6d9c8;
    background: #fff;
    color: #4D2C1C;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 7px 22px #23150d24;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

@media(max-width:760px) {

    .opal-feature-inner,
    .opal-custom-inner {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .opal-feature-cta,
    .opal-custom-cta {
        padding: 65px 0
    }

    .opal-feature-cta:before {
        background: linear-gradient(90deg, #274b2df2, #274b2dcc), url('../../img/products/cta-background.png') center/cover
    }

    .opal-feature-image {
        min-height: 220px
    }

    .opal-feature-image img {
        height: 240px
    }

    .opal-custom-cta:before {
        background: linear-gradient(90deg, #4D2C1Cf5, #4D2C1Cdd), url('../../img/products/cta-background-1.png') center/cover
    }

    .opal-custom-inner>img {
        height: 240px
    }

    .floating-wa {
        right: 15px !important;
        bottom: 15px !important;
        width: 54px;
        height: 54px
    }

    .back-to-top {
        right: 15px;
        bottom: 17px
    }
}

@media(prefers-reduced-motion:reduce) {

    .floating-wa,
    .back-to-top {
        transition: none
    }
}