.osb-savings {
    position: relative;
    width: 100%;
    padding: var(--osb-savings-pad-top-d, 107rem) 0 var(--osb-savings-pad-bottom-d, 58rem);
    background-color: var(--osb-savings-bg-color, #fff);
    background-image: var(--osb-savings-bg-desktop, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.osb-savings__inner {
    width: 1588rem;
    max-width: calc(100% - 40rem);
    margin: 0 auto;
}

.osb-savings__title {
    width: 1075rem;
    max-width: 100%;
    margin: 0 auto;
    color: #000;
    font-family: var(--os-font-main, "Tilda Sans", Arial, sans-serif);
    font-size: 56rem;
    line-height: normal;
    font-weight: 700;
    text-align: center;
}

.osb-savings__subtitle {
    width: 784rem;
    max-width: 100%;
    margin: 34rem auto 0;
    color: #555;
    font-size: 27rem;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;
}

.osb-savings__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem;
    margin-top: 49rem;
}

.osb-savings-card {
    display: grid;
    grid-template-columns: 316rem minmax(0, 1fr);
    gap: 30rem;
    min-width: 0;
    padding: 20rem;
    border-radius: 15rem;
    background: #fff;
    box-shadow: 0 20rem 20rem rgba(0, 0, 0, .10);
}

.osb-savings-card__gallery {
    position: relative;
    width: 316rem;
    height: 264rem;
    overflow: hidden;
    border-radius: 10rem;
    background: #f3f3f3;
    cursor: zoom-in;
}

.osb-savings-card__gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.12) 100%);
    pointer-events: none;
}

.osb-savings-card__track,
.osb-savings-card__slide {
    width: 100%;
    height: 100%;
}

.osb-savings-card__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity .24s ease;
}

.osb-savings-card__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.06);
    pointer-events: none;
}

.osb-savings-card__slide.is-active {
    opacity: 1;
}

.osb-savings-card__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osb-savings-card__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 40rem;
    height: 40rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 30rem;
    text-shadow: 0 0 8rem rgba(255,255,255,.95);
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.osb-savings-card__nav--prev { left: 0; }
.osb-savings-card__nav--next { right: 0; }

.osb-savings-card__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 10rem;
    display: flex;
    gap: 4rem;
    transform: translateX(-50%);
}

.osb-savings-card__dot {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
}

.osb-savings-card__dot.is-active { background: #dbad68; }

.osb-savings-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10rem 0;
}

.osb-savings-card__title {
    margin: 0;
    color: #333;
    font-size: 24rem;
    line-height: 25rem;
    font-weight: 800;
}

.osb-savings-card__meta {
    margin-top: 10rem;
    color: #555;
    font-size: 18rem;
    line-height: 25rem;
    font-weight: 500;
}

.osb-savings-card__divider {
    width: 100%;
    height: 1px;
    margin: 20rem 0;
    background: #e6e6e6;
}

.osb-savings-card__prices {
    display: flex;
    flex-direction: column;
    gap: 20rem;
    margin: 0;
    color: #555;
    font-size: 20rem;
    line-height: 25rem;
}

.osb-savings-card__prices > div {
    display: flex;
    gap: 20rem;
    align-items: flex-start;
}

.osb-savings-card__prices dt {
    flex: 1 1 auto;
    font-weight: 700;
}

.osb-savings-card__prices dd {
    flex: 0 0 auto;
    margin: 0;
    color: #333;
    font-weight: 800;
    white-space: nowrap;
}

.osb-savings-card__saved {
    margin-top: 20rem;
    padding-top: 20rem;
    border-top: 1px solid #e6e6e6;
    color: #333;
    font-size: 22rem;
    line-height: 25rem;
    font-weight: 800;
    text-align: center;
}

.osb-savings-card__saved strong { color: #dbad68; }

.osb-savings__cta {
    width: 452rem;
    max-width: 100%;
    margin: 49rem auto 0;
    text-align: center;
}

.osb-savings__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31rem;
    width: 100%;
    min-height: 89rem;
    padding: 20rem 52rem;
    border-bottom: 4rem solid #dbad68;
    border-radius: 15rem;
    background: linear-gradient(180deg, #ffd79a 0%, #ffbc57 100%);
    color: #222;
    font-size: 24rem;
    line-height: 23rem;
    font-weight: 700;
    letter-spacing: .48rem;
    text-decoration: none;
}

.osb-savings__button img {
    width: 21rem;
    height: 20rem;
    flex: 0 0 auto;
}

.osb-savings__button-note {
    margin-top: 17rem;
    color: #555;
    font-size: 16rem;
    line-height: 25rem;
    font-weight: 500;
}



@media (max-width: 767px) {
    .osb-savings {
        padding: var(--osb-savings-pad-top-m, 58rem) 20rem var(--osb-savings-pad-bottom-m, 58rem);
        background-image: var(--osb-savings-bg-mobile, var(--osb-savings-bg-desktop, none));
    }

    .osb-savings__inner {
        width: 100%;
        max-width: none;
    }

    .osb-savings__title {
        font-size: 32rem;
        line-height: 1.12;
    }

    .osb-savings__subtitle {
        margin-top: 22rem;
        color: #545454;
        font-size: 17rem;
        line-height: 1.35;
    }

    .osb-savings__grid {
        grid-template-columns: 1fr;
        gap: 22rem;
        margin-top: 22rem;
    }

    .osb-savings-card {
        display: flex;
        flex-direction: column;
        gap: 12rem;
        padding: 12rem;
        border-radius: 16rem;
        box-shadow: 0 12rem 24rem rgba(0,0,0,.08);
    }

    .osb-savings-card__gallery {
        width: 100%;
        height: 180rem;
        border-radius: 12rem;
    }

    .osb-savings-card__nav {
        width: 36rem;
        height: 36rem;
        font-size: 26rem;
    }

    .osb-savings-card__body {
        display: contents;
    }

    .osb-savings-card__title {
        font-size: 20rem;
        line-height: 1.25;
    }

    .osb-savings-card__meta {
        margin-top: 0;
        color: #545454;
        font-size: 14rem;
        line-height: 1.25;
    }

    .osb-savings-card__divider {
        margin: 0;
    }

    .osb-savings-card__prices {
        gap: 0;
        font-size: 15rem;
        line-height: 1.25;
    }

    .osb-savings-card__prices > div {
        gap: 8rem;
    }

    .osb-savings-card__saved {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
        color: #333;
        font-size: 18rem;
        line-height: 1.25;
    }

    .osb-savings__cta {
        width: 100%;
        margin-top: 22rem;
    }

    .osb-savings__button {
        min-height: 62rem;
        gap: 12rem;
        padding: 12rem 20rem;
        border-bottom-width: 0;
        border-radius: 14rem;
        font-size: 17rem;
        line-height: 1;
        letter-spacing: 0;
    }

    .osb-savings__button-note {
        margin-top: 12rem;
        color: #545454;
        font-size: 13rem;
        line-height: 1.25;
    }
}

/* 2.3.0: slightly larger mobile copy in savings examples. */
@media (max-width: 767px) {
    .osb-savings-card__title {
        font-size: 21rem;
    }

    .osb-savings-card__meta {
        font-size: 15rem;
        line-height: 1.3;
    }

    .osb-savings-card__prices {
        font-size: 16rem;
        line-height: 1.3;
    }

    .osb-savings__button-note {
        font-size: 14rem;
    }
}

@media (min-width: 768px) {
    .osb-savings-card__title {
        font-size: 26rem;
        line-height: 1.15;
    }

    .osb-savings-card__meta {
        font-size: 20rem;
        line-height: 1.3;
    }

    .osb-savings-card__prices {
        font-size: 22rem;
        line-height: 1.3;
    }

    .osb-savings-card__saved {
        font-size: 24rem;
        line-height: 1.25;
    }
}


/* 2.4.3 — gallery controls: clean Figma-style chevrons, no button discs/backgrounds. */
.osb-savings-card__nav {
    width: 42rem;
    height: 54rem;
    color: #2f2f2f;
    font-size: 0;
    text-shadow: none;
    background: transparent !important;
    box-shadow: none !important;
}

.osb-savings-card__nav::before {
    content: "";
    display: block;
    width: 13rem;
    height: 13rem;
    border-top: 2rem solid currentColor;
    border-right: 2rem solid currentColor;
    filter: drop-shadow(0 1rem 2rem rgba(255,255,255,.9));
}

.osb-savings-card__nav--prev { left: 7rem; }
.osb-savings-card__nav--next { right: 7rem; }
.osb-savings-card__nav--prev::before { transform: rotate(-135deg); }
.osb-savings-card__nav--next::before { transform: rotate(45deg); }

@media (max-width: 767px) {
    .osb-savings-card__nav {
        width: 38rem;
        height: 48rem;
    }
    .osb-savings-card__nav::before {
        width: 11rem;
        height: 11rem;
        border-width: 1.8rem 1.8rem 0 0;
    }
    .osb-savings-card__nav--prev { left: 5rem; }
    .osb-savings-card__nav--next { right: 5rem; }
}
