.grocery-offer-page {
    --offer-cream: #fffdf2;
    --offer-navy: #1f2d16;
    --offer-ink: #262d22;
    --offer-muted: #63695e;
    --offer-soft: #8b9186;
    --offer-line: #eadfbd;
    --offer-blue: #2f7d32;
    --offer-green: #318c42;
    --offer-green-dark: #216a31;
    --offer-orange: #f2b51d;
    --offer-orange-soft: #fff0a6;
    --offer-yellow: #f8cb46;
}

.grocery-offer-page .offer-nav {
    border-bottom-color: rgba(234, 223, 189, .9);
    background: rgba(255, 253, 242, .96);
}

.grocery-offer-page .offer-hero {
    background:
        radial-gradient(circle at 76% 18%, rgba(248, 203, 70, .18), transparent 34%),
        linear-gradient(180deg, #fffdf7 0%, #fff9e9 100%);
}

.grocery-offer-page .offer-grocery-motifs {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.grocery-offer-page .offer-grocery-motifs i {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(47, 125, 50, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .22);
    color: rgba(31, 45, 22, .065);
    font-size: 43px;
    transform: rotate(-12deg);
}

.grocery-offer-page .offer-grocery-motifs i:nth-child(1) {
    top: 27%;
    left: -18px;
    width: 92px;
    height: 92px;
}

.grocery-offer-page .offer-grocery-motifs i:nth-child(2) {
    top: 9%;
    left: 51%;
    width: 72px;
    height: 72px;
    font-size: 34px;
    transform: rotate(13deg);
}

.grocery-offer-page .offer-grocery-motifs i:nth-child(3) {
    top: 13%;
    right: -22px;
    width: 104px;
    height: 104px;
    font-size: 48px;
    transform: rotate(16deg);
}

.grocery-offer-page .offer-grocery-motifs i:nth-child(4) {
    right: 45%;
    bottom: 17%;
    width: 66px;
    height: 66px;
    font-size: 31px;
    transform: rotate(-20deg);
}

.grocery-offer-page .offer-marketplace-note {
    background: var(--offer-yellow);
    color: var(--offer-navy);
}

.grocery-offer-page .offer-price-line span,
.grocery-offer-page .offer-package__head b {
    background: #ffe481;
    color: #5a4500;
}

.grocery-offer-page .offer-trust {
    background: #fff;
}

.grocery-offer-page .offer-button {
    border-color: var(--offer-navy);
    background: var(--offer-navy);
    box-shadow: 0 16px 28px -18px rgba(31, 45, 22, .6);
}

.grocery-offer-page .offer-button:hover,
.grocery-offer-page .offer-button:focus-visible {
    border-color: #314b23;
    background: #314b23;
}

.grocery-offer-page .offer-button--outline {
    border-color: #dccb91;
    background: #fffdf7;
    color: var(--offer-navy) !important;
}

.grocery-offer-page .offer-phone-frame {
    width: 268px;
    aspect-ratio: 1080 / 2190;
    overflow: hidden;
    padding: 0;
    border-radius: 34px;
    background: #0b0e0c;
    box-shadow: 0 36px 70px -32px rgba(24, 59, 43, .55);
}

.grocery-offer-page .offer-phone-frame::before {
    display: none;
}

.grocery-offer-page .offer-phone-frame::after {
    content: "";
    position: absolute;
    z-index: 6;
    inset: 0;
    border: 3px solid #0b0e0c;
    border-radius: inherit;
    pointer-events: none;
}

.grocery-offer-page .offer-phone-frame__screen {
    border-radius: 34px;
    background: transparent;
}

.grocery-offer-page .offer-customer-slide {
    object-fit: cover;
}

.grocery-offer-page .offer-app-dots {
    display: none;
}

.grocery-offer-page .offer-admin__stage--cards {
    display: flex;
    gap: 18px;
    aspect-ratio: auto;
    overflow-x: auto;
    padding: 10px 8px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.grocery-offer-page .offer-admin__stage--cards::-webkit-scrollbar {
    display: none;
}

.grocery-offer-page .offer-admin__stage--cards .offer-admin-slide {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    flex: 0 0 calc((100% - 36px) / 3);
    overflow: hidden;
    padding: 0;
    border: 1px solid #dfe4da;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 44px -34px rgba(31, 45, 22, .5);
    opacity: 1;
    scroll-snap-align: center;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.grocery-offer-page .offer-admin__stage--cards .offer-admin-slide.is-active {
    border-color: #e5bd3f;
    box-shadow: 0 26px 52px -32px rgba(31, 45, 22, .48);
    transform: translateY(-4px);
}

.grocery-offer-page .offer-admin-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #e8ebe4;
    background: #f4f5ef;
}

.grocery-offer-page .offer-admin-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.grocery-offer-page .offer-admin-card__copy {
    min-height: 126px;
    padding: 18px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.grocery-offer-page .offer-admin-card__copy > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff4c5;
    color: #846400;
    font-size: 11px;
    font-weight: 900;
}

.grocery-offer-page .offer-admin-card__copy h3 {
    margin: 1px 0 6px;
    color: var(--offer-navy);
    font-size: 18px;
}

.grocery-offer-page .offer-admin-card__copy p {
    margin: 0;
    color: var(--offer-muted);
    font-size: 13px;
    line-height: 1.5;
}

.grocery-offer-page .offer-admin__tabs {
    margin-top: 2px;
    gap: 7px;
}

.grocery-offer-page .offer-admin__tabs button {
    width: 9px;
    min-width: 9px;
    height: 9px;
    min-height: 9px;
    padding: 0;
    border: 0;
    background: #cdd3c8;
    transition: width 180ms ease, background-color 180ms ease;
}

.grocery-offer-page .offer-admin__tabs button.is-active {
    width: 28px;
    border-color: var(--offer-yellow);
    background: var(--offer-yellow);
}

.grocery-offer-page .offer-package,
.grocery-offer-page .offer-final-cta {
    background: var(--offer-navy);
}

.grocery-offer-page .offer-package__card {
    box-shadow: 0 30px 70px -30px rgba(69, 51, 0, .35);
}

.grocery-offer-page .offer-package__custom {
    background: #fff4bc;
}

.grocery-offer-page .offer-final-cta h2 {
    color: #fff;
}

.grocery-offer-page .offer-button--light {
    border-color: var(--offer-yellow);
    background: var(--offer-yellow);
    color: var(--offer-navy) !important;
}

.grocery-offer-page .offer-button--light:hover,
.grocery-offer-page .offer-button--light:focus-visible {
    border-color: #ffd85e;
    background: #ffd85e;
    color: var(--offer-navy) !important;
}

.grocery-offer-page .offer-button--dark-outline {
    border-color: rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff !important;
}

.grocery-offer-page .offer-button--dark-outline:hover,
.grocery-offer-page .offer-button--dark-outline:focus-visible {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}

.grocery-offer-page .offer-form-card {
    border-color: #e2d39d;
    box-shadow: 0 28px 65px -48px rgba(88, 65, 0, .55);
}

.grocery-offer-page .offer-process__grid b {
    background: #fff6c7;
    color: #5a4500;
}

@media (max-width: 575px) {
    .grocery-offer-page .offer-grocery-motifs i {
        border-radius: 18px;
        opacity: .72;
    }

    .grocery-offer-page .offer-grocery-motifs i:nth-child(1) {
        top: 42%;
        left: -36px;
        width: 78px;
        height: 78px;
        font-size: 36px;
    }

    .grocery-offer-page .offer-grocery-motifs i:nth-child(2) {
        top: 18%;
        right: -24px;
        left: auto;
        width: 72px;
        height: 72px;
    }

    .grocery-offer-page .offer-grocery-motifs i:nth-child(3),
    .grocery-offer-page .offer-grocery-motifs i:nth-child(4) {
        display: none;
    }

    .grocery-offer-page .offer-phone-frame {
        width: 220px;
    }

    .grocery-offer-page .offer-admin__stage--cards {
        gap: 12px;
        margin-inline: -8px;
        padding: 8px 8px 22px;
    }

    .grocery-offer-page .offer-admin__stage--cards .offer-admin-slide {
        flex-basis: min(84vw, 330px);
    }

    .grocery-offer-page .offer-admin-card__copy {
        min-height: 116px;
        padding: 15px;
    }

    .grocery-offer-page .offer-admin-card__copy h3 {
        font-size: 17px;
    }

}

@media (min-width: 576px) and (max-width: 900px) {
    .grocery-offer-page .offer-admin__stage--cards .offer-admin-slide {
        flex-basis: calc((100% - 18px) / 2);
    }
}
