@media screen {
    html:lang(lt) body {
        --bonideco-holiday-snow: url("../images/holiday-lt-2026/mobile.svg");
        background-image: var(--bonideco-holiday-snow), var(--bonideco-holiday-snow);
        background-position: left 144px, right 224px;
        background-repeat: repeat-y;
        background-size: 15px auto;
    }

    /* These shells paint over the body. Keep their base colors and add the same small flakes. */
    html:lang(lt) body.checkout-index-index .column.main,
    html:lang(lt) body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword) main.page-main {
        background-image: var(--bonideco-holiday-snow), var(--bonideco-holiday-snow);
        background-position: left top, right 80px;
        background-repeat: repeat-y;
        background-size: 15px auto;
    }
}

@media screen and (min-width: 1680px) {
    html:lang(lt) body:not(.cms-index-index) main.page-main,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5 {
        position: relative;
    }

    /* Each rail is one complete, non-repeating drawing with transparent padding. */
    html:lang(lt) body:not(.cms-index-index) main.page-main::before,
    html:lang(lt) body:not(.cms-index-index) main.page-main::after,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::before,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::after {
        content: "";
        display: block;
        position: absolute;
        inset-block: 34px 18px;
        inline-size: clamp(0px, calc((100% - 1536px) / 2 - 22px), 56px);
        z-index: 11;
        pointer-events: none;
        background: var(--bonideco-holiday-rail) center top / contain no-repeat;
    }

    html:lang(lt) body:not(.cms-index-index) main.page-main::before,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::before {
        --bonideco-holiday-rail: url("../images/holiday-lt-2026/rail-left.svg");
        inset-inline-start: 10px;
    }

    html:lang(lt) body:not(.cms-index-index) main.page-main::after,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::after {
        --bonideco-holiday-rail: url("../images/holiday-lt-2026/rail-right.svg");
        inset-inline-end: 10px;
    }

    /* The one-step checkout puts its own 81px header inside main. */
    html:lang(lt) body.bonideco-one-step-checkout main.page-main::before,
    html:lang(lt) body.bonideco-one-step-checkout main.page-main::after {
        inset-block-start: 112px;
    }

    /* The home ornaments begin alongside Discovery, below the full-bleed hero and curtain. */
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::before,
    html:lang(lt) body.cms-index-index .homepage > .space-y-5::after {
        inset-block-start: 12px;
        inline-size: 46px;
    }

    html:lang(lt) body.cms-index-index .homepage > .space-y-5::before {
        inset-inline: auto calc(100% + 15px);
    }

    html:lang(lt) body.cms-index-index .homepage > .space-y-5::after {
        inset-inline: calc(100% + 15px) auto;
    }
}

@media screen and (min-width: 768px) {
    html:lang(lt) body {
        background-image: var(--bonideco-holiday-snow), var(--bonideco-holiday-snow), url("../images/holiday-lt-2026/frost-field.svg");
        background-position: left 144px, right 224px, center 136px;
        background-repeat: repeat-y, repeat-y, repeat;
        background-size: 15px auto, 15px auto, 496px 294px;
    }

    /* The curtain is opaque; add details in its existing gray space below the benefits. */
    html:lang(lt) body.cms-index-index .bonideco-home-curtain {
        background-image: url("../images/holiday-lt-2026/frost-band.svg");
        background-position: center bottom 4px;
        background-repeat: no-repeat;
        background-size: min(91%, 1050px) 15px;
    }
}

@media screen and (min-width: 1440px) {
    html:lang(lt) body.cms-index-index .bonideco-home-curtain {
        background-image: url("../images/holiday-lt-2026/frost-band.svg"), url("../images/holiday-lt-2026/evergreen-left.svg"), url("../images/holiday-lt-2026/evergreen-right.svg");
        background-position: center bottom 4px, left calc(50% - 628px) bottom 25px, left calc(50% + 628px) bottom 25px;
        background-repeat: no-repeat;
        background-size: min(91%, 1050px) 15px, 116px 39px, 116px 39px;
    }
}
