.diwan-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    background: linear-gradient(#163021b3, transparent);
    color: white
}

.diwan-page {
    color: #18251e;
    background: #fff
}

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

.diwan-hero {
    min-height: 720px;
    padding: 465px 0 40px;
    background: #486c34 url('../images/diwan/banner.jpg') center/cover;
    display: flex;
    align-items: flex-end
}

.diwan-hero-copy {
    max-width: 560px;
    margin-left: auto;
    padding: 22px 26px;
    background: #fffef1e8;
    border-radius: 8px
}

.diwan-hero h1 {
    font-size: 30px;
    color: #194932;
    margin-bottom: 10px
}

.diwan-hero p {
    font-size: 14px;
    line-height: 1.8
}

.diwan-button {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    padding: 13px 24px;
    border: 1px solid #d6cba4;
    border-radius: 30px;
    background: #fff;
    color: #243629;
    font-size: 15px;
    font-weight: 700;
    margin-top: 22px
}

.diwan-button:hover {
    background: #faf0d5
}

.diwan-mood {
       padding: 70px 0;
    background: linear-gradient(90deg, #111c2300, #111c23a1), url(../images/diwan/tea.jpg) center / cover;
    color: #fff;
}

.diwan-mood>.diwan-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px
}

.diwan-mood-copy {
    max-width: 530px
}

.diwan-eyebrow {
    font-size: 11px;
    color: #a57227;
    font-weight: 700;
    letter-spacing: 2px
}

.diwan-mood .diwan-eyebrow {
    color: #e9cd96
}

.diwan-mood h2 {
    font-size: 43px;
    line-height: 1.2;
    margin: 14px 0 20px
}

.diwan-mood p {
    font-size: 14px;
    line-height: 1.9
}

.diwan-outline {
    color: white;
    background: transparent;
    border-color: #fff
}

.diwan-outline:hover {
    color: #243629
}

.diwan-featured {
    width: 100%;
    height: 400px;
    object-fit: contain
}

.diwan-products {
    padding: 65px 0 75px;
    background: linear-gradient(120deg, #f3fbfc, #e6f4f8);
    text-align: center;
    scroll-margin-top: 20px
}

.diwan-products h2 {
    font-size: 39px;
    margin: 9px 0 17px;
    letter-spacing: -1px
}

.diwan-rule {
    display: block;
    width: 44px;
    height: 2px;
    background: #be924c;
    margin: 18px auto
}

.diwan-intro {
    font-size: 14px;
    line-height: 1.9;
    color: #586660
}

.diwan-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 32px 0 40px;
    background: #ffffffb8;
    border: 1px solid #b59b6922;
    border-radius: 18px
}

.diwan-features>div {
    padding: 23px 18px;
    text-align: left
}

.diwan-features strong {
    font-size: 13px;
    display: block;
    border-left: 2px solid #c49c54;
    padding-left: 10px
}

.diwan-features p {
    font-size: 11px;
    color: #727b76;
    margin-top: 9px
}

.diwan-carousel {
    position: relative
}

.diwan-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 5px 3px 16px
}

.diwan-product {
    flex: 0 0 calc((100% - 44px)/3);
    min-width: 0;
    scroll-snap-align: start
}

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

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

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

.diwan-page .asta-flip-front,
.diwan-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: 22px;
    overflow: hidden
}

.diwan-page .asta-flip-front {
    background: #fff;
    padding: 25px 20px
}

.diwan-number {
    position: absolute;
    top: 18px;
    left: 20px;
    color: #a78950;
    font-size: 12px
}

.diwan-page .asta-flip-front img {
    width: 100%;
    height: 240px;
    object-fit: contain
}

.diwan-page .asta-flip-front strong {
    font-size: 20px;
    margin-top: 15px
}

.diwan-format {
    font-size: 12px;
    color: #68736d;
    margin-top: 10px
}

.diwan-discover {
    font-size: 12px;
    color: #987027;
    margin-top: 23px;
    display: flex;
    gap: 25px
}

.diwan-page .asta-flip-back {
    transform: rotateY(180deg);
    background: radial-gradient(ellipse at top, #675030, #21190f);
    color: white;
    padding: 32px
}

.diwan-page .asta-flip-back .diwan-eyebrow {
    color: #e9cd96
}

.diwan-page .asta-flip-back strong {
    font: 500 29px/1.2 'Playfair Display', Georgia, serif;
    margin-top: 20px
}

.diwan-description {
    font-size: 14px;
    line-height: 1.85;
    color: #eee7da
}

.diwan-return {
    font-size: 11px;
    color: #cbbc9e;
    margin-top: 22px
}

.diwan-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #986c25;
    border: 1px solid #c7b28c;
    transform: translateY(-50%)
}

.diwan-arrow:first-child {
    left: -24px
}

.diwan-arrow:last-child {
    right: -24px
}

.diwan-page :focus-visible {
    outline: 3px solid #bb9449;
    outline-offset: 4px
}

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

    .diwan-product {
        flex-basis: calc((100% - 22px)/2)
    }

    .diwan-features {
        grid-template-columns: repeat(2, 1fr)
    }

    .diwan-hero {
        background-position: 40% center
    }
}

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

    .diwan-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 96px 0 0;
        background: #456930
    }

    .diwan-hero:before {
        content: '';
        display: block;
        width: 100%;
        aspect-ratio: 1350/800;
        background: url('../images/diwan/banner.jpg') center/contain no-repeat
    }

    .diwan-hero>.diwan-wrap {
        width: 100%
    }

    .diwan-hero-copy {
        max-width: none;
        border-radius: 0;
        padding: 25px 22px;
        background: #f7f7eb
    }

    .diwan-hero h1 {
        font-size: 28px
    }

    .diwan-mood {
        padding: 35px 0
    }

    .diwan-mood>.diwan-wrap {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .diwan-mood h2 {
        font-size: 34px
    }

    .diwan-featured {
        height: 260px
    }

    .diwan-products {
        padding: 42px 0
    }

    .diwan-products h2 {
        font-size: 33px
    }

    .diwan-features>div {
        padding: 18px 12px
    }

    .diwan-features strong {
        font-size: 11px
    }

    .diwan-features p {
        font-size: 10px
    }

    .diwan-intro {
        font-size: 13px
    }

    .diwan-product {
        flex-basis: 100%
    }

    .diwan-page .asta-flip {
        height: 425px
    }

    .diwan-arrow:first-child {
        left: -10px
    }

    .diwan-arrow:last-child {
        right: -10px
    }

    .diwan-page .asta-flip-back {
        padding: 28px
    }
}

@media(prefers-reduced-motion:reduce) {
    .diwan-page .asta-flip-inner {
        transition: none
    }
}

/* Centered brand presentation matching the Diwan banner. */
.diwan-hero {
    min-height: 760px;
    padding: 145px 0 100px;
    align-items: center;
    background: linear-gradient(#101e0926, #101e0926), url('../images/diwan/banner.jpg') center / cover no-repeat;
}

.diwan-hero-copy {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    text-align: center;
    color: #fff;
}

.diwan-hero h1 {
    margin: 0 0 35px;
}

.diwan-hero h1 img {
    display: block;
    width: 340px;
    max-width: 80%;
    height: auto;
    margin: auto;
}

.diwan-hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    text-shadow: 0 1px 4px #0008;
}

.diwan-hero .diwan-hero-title {
    font-size: 18px;
    font-weight: 800;
}

.diwan-hero .diwan-button {
    margin-top: 24px;
    padding: 16px 40px;
    border: 2px solid #70584e;
    color: #70584e;
}

@media (max-width: 600px) {
    .diwan-hero {
        min-height: 700px;
        padding: 140px 0 65px;
        flex-direction: row;
        background-position: center, 40% center;
    }

    .diwan-hero:before {
        content: none;
    }

    .diwan-hero>.diwan-wrap {
        width: calc(100% - 36px);
    }

    .diwan-hero-copy {
        padding: 22px 16px;
        background: #14250d9e;
        border-radius: 12px;
    }

    .diwan-hero h1 {
        margin-bottom: 20px;
    }

    .diwan-hero h1 img {
        width: 270px;
    }

    .diwan-hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .diwan-hero .diwan-hero-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .diwan-hero .diwan-button {
        padding: 14px 24px;
    }
}