/* =========================================================
   TASTY CRAZZ — CAKE DECORATION
   Uses the same cream visual language as Healthy Juice.
========================================================= */

.cake-decoration {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fef7ee;
    color: #171411;
}

.cake-decoration,
.cake-decoration * {
    box-sizing: border-box;
}

.cake-decoration__inner {
    width: min(1380px, calc(100% - 120px));
    min-height: 0;
    margin: 0 auto;
    padding: 64px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 70px;
}

.cake-decoration__content {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.cake-decoration__eyebrow {
    display: block;
    margin: 0 0 26px;
    color: #c87919;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cake-decoration__title {
    max-width: 680px;
    margin: 0;
    color: #171411;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 84px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.cake-decoration__ornament {
    position: relative;
    width: 100px;
    height: 18px;
    margin: 34px 0 28px;
}

.cake-decoration__ornament::before,
.cake-decoration__ornament::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 38px;
    height: 1px;
    background: #c87919;
}

.cake-decoration__ornament::before {
    left: 0;
}

.cake-decoration__ornament::after {
    right: 0;
}

.cake-decoration__description {
    max-width: 620px;
    margin: 0 0 36px;
    color: #706a62;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.cake-decoration__button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 30px;
    border: 1px solid #c87919;
    border-radius: 999px;
    background: #c87919;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.cake-decoration__button:hover,
.cake-decoration__button:focus {
    background: #b56d17;
    border-color: #b56d17;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.cake-decoration__media {
    position: relative;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cake-decoration__image {
    display: block;
    width: 100%;
    max-width: 570px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 1100px) {

    .cake-decoration__inner {
        width: min(100% - 64px, 980px);
        min-height: 0;
        gap: 42px;
    }

    .cake-decoration__title {
        font-size: clamp(48px, 6vw, 68px);
    }

    .cake-decoration__media {
        min-height: 0;
    }

    .cake-decoration__image {
        max-width: 560px;
    }

}

@media (max-width: 767px) {

    .cake-decoration {
        background: #fef7ee;
    }

    .cake-decoration__inner {
        width: calc(100% - 40px);
        min-height: 0;
        margin: 0 auto;
        padding: 72px 0 82px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 42px;
    }

    .cake-decoration__content {
        padding-left: 0;
        order: 1;
    }

    .cake-decoration__eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .cake-decoration__title {
        max-width: 100%;
        font-size: clamp(44px, 12vw, 58px);
        line-height: 0.99;
        letter-spacing: -0.04em;
    }

    .cake-decoration__ornament {
        margin: 26px 0 22px;
    }

    .cake-decoration__description {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.6;
    }

    .cake-decoration__button {
        min-height: 52px;
        padding: 0 25px;
        gap: 18px;
        font-size: 13px;
    }

    .cake-decoration__media {
        min-height: 0;
        width: 100%;
        order: 2;
    }

    .cake-decoration__image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

}

@media (max-width: 480px) {

    .cake-decoration__inner {
        width: calc(100% - 32px);
        padding-top: 60px;
        padding-bottom: 70px;
        gap: 34px;
    }

    .cake-decoration__title {
        font-size: clamp(40px, 12vw, 52px);
    }

    .cake-decoration__description {
        font-size: 15px;
    }

}

/* FINAL POSITION — image shifted slightly to the right */
@media (min-width: 768px) {
    .cake-decoration__media {
        transform: translateX(130px);
    }
}

@media (max-width: 767px) {
    .cake-decoration__media {
        transform: translateX(12px);
    }
}
