.taiba-header {
    background: #21170f;
    color: white
}

.taiba-page {
    --taiba-orange: #f56622;
    color: #161616;
    background: #fff
}

.taiba-wrap {
    width: calc(100% - 100px);
    max-width: 1200px;
    margin: auto
}

.taiba-hero {
    min-height: 610px;
    background: #4c3021 url('../images/taiba/taibaHeader.jpg') center/cover;
    display: flex;
    align-items: center;
    color: #fff
}

.taiba-hero-copy {
    max-width: 540px;
    padding: 45px 0 90px
}

.taiba-logo {
    display: block;
    width: 200px;
    height: auto;
    margin-bottom: 25px
}

.taiba-hero h1 {
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.25;
    letter-spacing: -.6px;
    text-shadow: 0 2px 12px #0005
}

.taiba-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #efc78f;
    border-radius: 30px;
    color: #d74608;
    font-size: 12px;
    font-weight: 700;
    margin-top: 28px;
    transition: background .2s, transform .2s
}

.taiba-button:hover {
    background: #fff2e8;
    transform: translateY(-2px)
}

.taiba-mood {
    background: #031619 url('../images/taiba/bg-mood.png') center/cover;
    color: #fff;
    padding: 42px 0
}

.taiba-mood-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 75px
}

.taiba-mood h2 {
    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.17;
    letter-spacing: -1px;
    margin-bottom: 26px
}

.taiba-mood h2 span {
    color: var(--taiba-orange)
}

.taiba-mood p {
    font-size: 14px;
    line-height: 1.9;
    color: #d7e0df;
    max-width: 570px
}

.taiba-mood-pack {
    height: 375px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px #0005)
}

.taiba-products {
    position: relative;
    padding: 55px 0 65px;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
    scroll-margin-top: 20px
}

.taiba-products:before,
.taiba-products:after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 210px;
    background: url('../images/taiba/logo-taiba.png') center/contain no-repeat;
    opacity: .045;
    pointer-events: none
}

.taiba-products:before {
    right: -80px;
    top: 15px;
    transform: rotate(-20deg)
}

.taiba-products:after {
    left: -90px;
    bottom: 0;
    transform: rotate(15deg)
}

.taiba-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: #c74b14
}

.taiba-products h2 {
    font-size: 36px;
    letter-spacing: -1px;
    margin: 7px 0 14px
}

.taiba-products-intro {
    font-size: 13px;
    color: #616161
}

.taiba-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 700px;
    margin: 40px auto 0
}

.taiba-product h3 {
    font-size: 14px;
    margin-top: 15px
}

.taiba-page .asta-flip {
    display: block;
    width: 100%;
    height: 325px;
    padding: 0;
    background: transparent;
    perspective: 1200px;
    border-radius: 5px;
    text-align: center
}

.taiba-page .asta-flip-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .65s cubic-bezier(.2, .65, .3, 1)
}

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

.taiba-page .asta-flip-front,
.taiba-page .asta-flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden
}

.taiba-page .asta-flip-front {
    background: #e5edef;
    padding: 35px
}

.taiba-page .asta-flip-front img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 7px #0002)
}

.taiba-page .asta-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #482615, #251810);
    border: 1px solid #d4a35f;
    padding: 28px;
    color: white
}

.taiba-page .asta-flip-back .taiba-eyebrow {
    color: #f6b486
}

.taiba-note {
    font: 500 27px/1.2 'Playfair Display', Georgia, serif;
    margin-top: 16px
}

.taiba-rule {
    width: 40px;
    height: 1px;
    background: #f6a96e;
    margin: 18px 0
}

.taiba-description {
    font-size: 13px;
    line-height: 1.8;
    color: #f2e5dc
}

.taiba-detail {
    font-size: 11px;
    color: #f6b486;
    margin-top: 18px
}

.taiba-return {
    font-size: 12px;
    color: #c8b8ae;
    margin-top: 15px
}

.taiba-page :focus-visible {
    outline: 3px solid #ed8c45;
    outline-offset: 5px
}

@media(max-width:950px) {
    .taiba-wrap {
        width: calc(100% - 48px)
    }

    .taiba-hero-copy {
        max-width: 48%
    }

    .taiba-mood-grid {
        gap: 30px
    }

    .taiba-mood-pack {
        height: 330px
    }
}

@media(max-width:600px) {
    .taiba-wrap {
        width: calc(100% - 36px)
    }

    .taiba-hero {
        min-height: 0;
        display: block;
        background: #302016;
        overflow: hidden
    }

    .taiba-hero-copy {
        max-width: 100%;
        padding: 28px 0 30px
    }

    .taiba-hero::after {
        content: '';
        display: block;
        width: 100%;
        aspect-ratio: 1348 / 795;
        background: linear-gradient(to bottom, #302016, transparent 28%),
            url('../images/taiba/taibaHeader.jpg') center / 100% 100% no-repeat;
    }

    .taiba-hero .taiba-button {
        max-width: 100%;
        margin-top: 22px;
    }

    .taiba-logo {
        width: 100px;
        margin-bottom: 18px
    }

    .taiba-hero h1 {
        font-size: 27px;
        max-width: 360px
    }

    .taiba-mood {
        padding: 36px 0;
        background-position: 65% center
    }

    .taiba-mood-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .taiba-mood h2 {
        font-size: 31px
    }

    .taiba-mood p {
        font-size: 13px
    }

    .taiba-mood-pack {
        height: 290px
    }

    .taiba-products {
        padding: 40px 0
    }

    .taiba-products h2 {
        font-size: 32px
    }

    .taiba-product-grid {
        gap: 14px;
        margin-top: 30px
    }

    .taiba-page .asta-flip {
        height: 300px
    }

    .taiba-page .asta-flip-front {
        padding: 35px 18px
    }

    .taiba-page .asta-flip-back {
        padding: 15px 12px
    }

    .taiba-note {
        font-size: 21px;
        margin-top: 12px
    }

    .taiba-rule {
        margin: 12px 0
    }

    .taiba-description {
        font-size: 11px;
        line-height: 1.6
    }

    .taiba-detail {
        font-size: 10px;
        margin-top: 12px
    }

    .taiba-return {
        font-size: 9px;
        margin-top: 12px
    }

    .taiba-eyebrow {
        font-size: 9px;
        letter-spacing: 1px
    }
}

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

    .taiba-page .asta-flip-inner,
    .taiba-button {
        transition: none
    }
}
/* Let the banner continue behind the navigation on the Taiba page. */
.taiba-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    background: linear-gradient(to bottom, #170e09b3, #170e0920);
}
.taiba-hero {
    min-height: 722px;
    padding-top: 112px;
}
@media (max-width:600px) {
    .taiba-header {
        position: relative;
        background: linear-gradient(to bottom, #21170f55, #302016),
            url('../images/taiba/taibaHeader.jpg') left top / cover;
    }
    .taiba-hero {
        min-height: 0;
        padding-top: 0;
    }
}
