.cbon-products {
    padding: 65px 0 85px;
    background: #fff;
    text-align: center
}

.cbon-intro {
    max-width: 710px;
    line-height: 1.8;
    margin: auto;
    color: #555
}

.cbon-page .asta-tabs {
    display: flex;
    max-width: 430px;
    margin: 38px auto 55px;
    border-radius: 15px;
    padding: 6px;
    background: #f1f5f6;
    gap: 5px
}

.cbon-page .asta-tabs button {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 13px 12px;
    color: #333;
    background: transparent;
    font-family: 'Jost', sans-serif;
    cursor: pointer
}

.cbon-page .asta-tabs button[aria-selected=true] {
    background: #fff;
    color: #39318b;
    box-shadow: 0 2px 8px #39318b08
}

.cbon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 38px 26px
}

.cbon-grid[hidden] {
    display: none
}

.cbon-product {
    width: calc((100% - 52px)/3);
    max-width: 340px
}

.cbon-product h3 {
    font-size: 16px;
    margin: 18px 0 5px
}

.cbon-product>p {
    font-size: 14px;
    color: #555
}

.cbon-page .asta-flip {
    display: block;
    width: 100%;
    height: 340px;
    background: #e8eff1;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: inherit;
    font: inherit;
    perspective: 1000px;
    cursor: pointer
}

.cbon-page .asta-flip-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .5s
}

.cbon-page .asta-flip.is-flipped .asta-flip-inner {
    transform: rotateY(180deg)
}

.cbon-page .asta-flip-front,
.cbon-page .asta-flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 7px
}

.cbon-page .asta-flip-front img {
    width: 100%;
    max-width: 245px;
    height: 275px;
    object-fit: contain
}

.cbon-page .asta-flip-back {
    background: #39318b;
    color: white;
    transform: rotateY(180deg)
}

.cbon-page .asta-flip-back .cbon-eyebrow {
    color: #ffe46c
}

.cbon-page .asta-flip-back strong {
    font-size: 18px
}

.cbon-description {
    font-size: 14px;
    line-height: 1.7
}

.cbon-detail {
    font-size: 12px;
    color: #eee9ff
}

.cbon-return {
    font-size: 12px;
    color: #ddd5ff
}

.cbon-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    background: transparent;
    color: #fff
}

.cbon-page {
      font-family: 'Jost', sans-serif;
    color: #202024
}

.cbon-wrap {
    width: min(1180px, 88%);
    margin: auto
}

.cbon-page h1,
.cbon-page h2,
.cbon-page h3 {
  font-family: 'Poppins', sans-serif;
}

.cbon-page h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 12px 0 24px
}

.cbon-eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
    color: #76601a;
    font-weight: 700
}

.cbon-copy {
    max-width: 510px;
    width: 46%
}

.cbon-copy p {
    font-size: 16px;
    line-height: 1.8
}

.cbon-hero {
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: 140px 0 80px;
    background: #df9c13 url('../images/cbon/download.jpg') center/cover;
    color: white
}

.cbon-hero h1 {
    margin: 0 0 26px
}

.cbon-hero h1 img {
    width: 245px;
    max-width: 85%;
    height: auto
}

.cbon-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 14px 25px;
    border: 1px solid white;
    background: #383294;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 28px
}

.cbon-button:hover {
    background: #292268
}

.cbon-story {
    background: #514c98 url('../images/cbon/8c6a1626-a15a-4414-83a4-5ed8d44e52a5.png') center/cover;
    color: white;
    padding: 60px 0
}

.cbon-story>.cbon-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px
}

.cbon-story h2 span {
    color: #fff04c
}

.cbon-story img {
    width: 280px;
    height: 350px;
    object-fit: contain;
    margin-right: 7%;
    filter: drop-shadow(0 15px 22px #1d15504d)
}



.cbon-product {
    width: calc((100% - 78px)/4)
}

.cbon-page .asta-flip {
    height: 325px;
    background: #fff
}

.cbon-page .asta-flip-front {
    padding: 20px
}

.cbon-page .asta-flip-front img {
    height: 280px;
    max-width: 210px
}

.cbon-page .asta-flip-back {
    padding: 20px 16px;
    gap: 12px
}

.cbon-page .asta-flip-back strong {
    font-size: 18px
}

.cbon-page .asta-tabs button[aria-selected=true] {
    color: #806300;
    background: #fff7d6
}

.cbon-page button:focus-visible,
.cbon-page a:focus-visible {
    outline: 3px solid #eabf2a;
    outline-offset: 4px
}

@media(max-width:950px) {
    .cbon-product {
        width: calc((100% - 26px)/2)
    }
}

@media(max-width:640px) {
    .cbon-hero {
        padding: 125px 0 280px;
        background-position: 65% center;
        min-height: 690px
    }

    .cbon-copy {
        width: 100%;
        max-width: none
    }

    .cbon-copy p {
        font-size: 14px;
        max-width: 370px
    }

    .cbon-story>.cbon-wrap {
        flex-direction: column;
        gap: 35px
    }

    .cbon-story img {
        height: 280px;
        width: 210px;
        margin: 0
    }

    .cbon-story {
        padding: 40px 0
    }

    .cbon-product {
        width: 100%;
        max-width: 320px
    }

    .cbon-products {
        padding: 45px 0;
        background-size: auto 100%
    }

    .cbon-page .asta-tabs {
        margin: 28px auto 35px
    }
}

@media(prefers-reduced-motion:reduce) {
    .cbon-page .asta-flip-inner {
        transition: none
    }
}
/* Keep mobile banner copy legible over the product photography. */
@media (max-width: 640px) {
    .cbon-hero {
        background-image: linear-gradient(90deg, #1c2118e6 0%, #1c2118a6 60%, #1c211826 100%), url('../images/cbon/download.jpg');
    }
    .cbon-hero .cbon-copy p {
        color: #fff;
        font-weight: 500;
        line-height: 1.85;
        text-shadow: 0 1px 3px #0008;
    }
}
