/**
 * My Home — native-app polish (Blinkit/Zepto-style density + surfaces).
 * Scoped to body.mh-page only.
 */

body.mh-page.my-home-lively.mh-home-v2-page {
    --mh-radius-lg: 0;
    --mh-radius-md: 0;
}

body.mh-page {
    --kf-app-gutter: var(--kf-space-2, 8px);
    /* Typography: App Look (portal-chrome.css on :root) — do not override --kf-app-font-* here */
    --mh-surface: #f7f6f3;
    --mh-elevated: #ffffff;
    --mh-line: rgba(220, 210, 196, 0.88);
    --mh-line-strong: rgba(15, 23, 42, 0.067);
    --mh-ink: #0c1222;
    --mh-muted: #64748b;
    --mh-accent: #166534;
    --mh-accent-bright: #22c55e;
    --mh-radius-lg: 20px;
    --mh-radius-md: 15px;
    --mh-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.045);
    --mh-shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
    --mh-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
    --mh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
    background:
        rgba(46, 160, 80, 0.11),
        rgba(232, 230, 220, 0.45),
        var(--kf-page-bg, #fafaf8);
}

body.mh-page ::selection {
    background: rgba(34, 197, 94, 0.22);
    color: inherit;
}

/* Header + bottom tab bar: shared in customer-portal-header.css + customer-login-bottom-nav.css */

body.mh-page main#cph-main.cph-main[data-kf-nav='home'],
body.mh-page main#cph-main.cph-main[data-kf-nav='veggies'],
body.mh-page main#cph-main.cph-main[data-kf-nav='fruits'],
body.mh-page main#cph-main.cph-main[data-kf-nav='shop'],
body.mh-page main#cph-main.cph-main[data-kf-nav='orders'],
body.mh-page main#cph-main.cph-main[data-kf-nav='about'],
body.mh-page main#cph-main.cph-main[data-kf-nav='subscription'],
body.mh-page main#cph-main.cph-main[data-kf-nav='wallet'] {
    display: flex;
    flex-direction: column;
    gap: var(--kf-app-gutter, 5px);
    min-width: 0;
}

/* —— Combined basket hub (delivery + toolbar + customize/grid/save) —— */
body.mh-page main#cph-main[data-kf-nav='home'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='veggies'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='fruits'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='shop'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='orders'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='about'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='subscription'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='wallet'] > .mh-basket-hub,
body.mh-page main#cph-main[data-kf-nav='profile'] > .mh-basket-hub {
    margin: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

body.mh-page main#cph-main[data-kf-nav='home'] > .mh-greet {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.mh-basket-hub__chrome {
    display: none;
}

.mh-basket-hub__zone {
    position: relative;
    z-index: 1;
}

.mh-basket-hub__zone--delivery {
    padding: var(--kf-space-4, 16px);
    overflow: hidden;
    background: rgba(236, 253, 245, 0.55);
}

/* Veggies basket — customer already ordered this week */
.mh-basket-hub__zone--placed-line {
    padding: var(--kf-space-4, 16px);
    overflow: hidden;
    text-align: center;
    background: rgba(236, 253, 245, 0.55);
}

.mh-basket-hub__placed-line {
    margin: 0;
    max-width: 22rem;
    margin-inline: auto;
    font-size: clamp(var(--kf-app-fs-body), 3.6vw, calc(var(--kf-app-fs-heading) * 1.05));
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.45;
    color: var(--mh-ink);
    font-family: var(--kf-app-font-family, inherit);
}

.mh-basket-hub__delivery-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mh-basket-hub__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #047857;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(167, 243, 208, 0.85);
    box-shadow: var(--mh-shadow-sm);
}

.mh-basket-hub__icon svg {
    display: block;
}

.mh-basket-hub__delivery-copy {
    flex: 1;
    min-width: 0;
}

.mh-basket-hub__delivery-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mh-basket-hub__kicker {
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #065f46;
}

.mh-basket-hub__lead {
    margin: 8px 0 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: var(--mh-ink);
}

.mh-basket-hub__lead strong {
    font-weight: 800;
    color: #064e3b;
}

.mh-basket-hub__divider {
    height: 1px;
    margin: 0 12px;
    /* Opaque edge stops: `transparent` would reveal the hub’s dark hero overlay (reads as a black bar). */
    background: rgba(248, 250, 252, 0.96);
}

.mh-basket-hub__divider--soft {
    margin: 0;
    background: rgba(250, 252, 250, 0.98);
}

.mh-basket-hub__zone--toolbar {
    padding: 12px 14px 14px;
    background: rgba(255, 255, 255, 0.65);
}

.mh-basket-hub__grab {
    display: none;
}

.mh-basket-hub__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.mh-basket-hub__toolbar--gfy {
    justify-content: center;
}

.mh-basket-hub__toolbar-text--gfy {
    width: 100%;
    text-align: center;
}

.mh-basket-hub__title--gfy {
    width: 100%;
    text-align: inherit;
}

.mh-basket-hub__eyebrow {
    margin: 0;
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mh-muted);
}

.mh-basket-hub__title {
    margin: var(--kf-space-1, 4px) 0 0;
}

.mh-basket-hub__zone--basket {
    padding: var(--kf-space-3, 12px) var(--kf-space-3, 12px) var(--kf-space-4, 16px);
    background: rgba(250, 252, 250, 0.98);
}

.mh-basket-hub--no-order-cta .mh-basket-hub__zone--no-order-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    /* Match `.mh-greet__harvest-panel` so the shared CTA stacks identically to “View Your Basket” */
    width: 100%;
    max-width: 24.5rem;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 14px 14px 16px;
    background: transparent;
}

.mh-basket-hub--no-order-cta .mh-basket-hub__title--gfy {
    margin: 0;
}

.mh-basket-hub--no-order-cta .bh-trust-pills {
    margin: 12px 0 0;
    max-width: 100%;
    justify-content: center;
}

.mh-basket-hub--no-order-cta .mh-greet__harvest-cta-wrap {
    margin-top: 16px;
    width: 100%;
}

.mh-basket-hub__zone--pending {
    padding: 18px 16px 14px;
    text-align: center;
}

.mh-basket-hub__pending-text {
    margin: 0;
    text-align: center;
}

.mh-basket-hub__pending-cta {
    margin-top: 14px;
    display: inline-flex;
    justify-content: center;
}

/* —— Greeting —— */
.mh-greet {
    margin: 0;
    padding: var(--kf-app-gutter);
    font-family: var(--kf-app-font-family, system-ui, sans-serif);
}

.mh-greet__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.mh-greet__name {
    margin: 6px 0 0;
    font-size: clamp(var(--kf-app-fs-heading), 5.2vw, calc(var(--kf-app-fs-heading) * 1.55));
    font-weight: 800;
    letter-spacing: -0.042em;
    line-height: 1.1;
    color: var(--mh-ink);
}

.mh-greet__name--timeofday {
    font-size: clamp(var(--kf-app-fs-body), 3.9vw, calc(var(--kf-app-fs-heading) * 1.15));
    line-height: 1.22;
    letter-spacing: -0.02em;
    text-align: center;
}

.mh-greet__name-accent {
    font-weight: 800;
    color: var(--mh-accent);
}

.mh-greet__showcase {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 18px;
}

.mh-greet__showcase--no-order {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.mh-greet__harvest-welcome {
    position: relative;
    padding: 4px 0 2px;
}

.mh-greet__harvest-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(100px, 28vw, 128px);
    width: 100%;
    max-width: 200px;
    margin-inline: auto;
}

.mh-greet__harvest-visual .mh-greet__basket-stage--solo {
    position: relative;
    z-index: 1;
}

.mh-greet__harvest-spark {
    position: absolute;
    z-index: 2;
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.12));
    opacity: 0.92;
}

.mh-greet__harvest-spark--a {
    left: -6%;
    top: 18%;
}

.mh-greet__harvest-spark--b {
    right: -4%;
    top: 8%;
    font-size: clamp(1rem, 3.8vw, 1.25rem);
}

.mh-greet__harvest-spark--c {
    left: 8%;
    bottom: 4%;
    font-size: clamp(1.05rem, 4vw, 1.3rem);
}

.mh-greet__harvest-basket-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(108px, 30vw, 132px);
    height: clamp(108px, 30vw, 132px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(34, 197, 94, 0.35);
    pointer-events: none;
    z-index: 0;
}

.mh-greet__harvest-basket-icon {
    position: relative;
    z-index: 1;
}

.mh-greet__harvest-basket-glow {
    background: rgba(250, 204, 21, 0.22);
}

.mh-greet__harvest-panel {
    width: 100%;
    max-width: 24.5rem;
    margin: 0 auto;
    padding: 14px 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(167, 243, 208, 0.55);
    box-shadow:
        0 12px 32px rgba(22, 101, 52, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.mh-greet__harvest-headline {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: clamp(var(--kf-app-fs-body), 3.4vw, calc(var(--kf-app-fs-heading) * 1.08));
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--mh-ink);
}

.mh-greet__harvest-kicker {
    display: inline-block;
    background: #15803d;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .mh-greet__harvest-kicker {
        color: #15803d;
    }
}

.mh-greet__harvest-dateline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35em 0.5em;
}

.mh-greet__harvest-emoji-basket {
    font-size: 1.35em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}


.mh-greet__harvest-story {
    margin: 14px 0 0;
    font-size: clamp(var(--kf-app-fs-small), 3.1vw, calc(var(--kf-app-fs-body) * 1.06));
    font-weight: 500;
    line-height: 1.55;
    color: #475569;
    text-align: center;
}

.mh-greet__harvest-story-trail {
    display: inline-block;
    margin-inline-start: 0.25em;
    letter-spacing: 0.12em;
    font-size: 0.95em;
    vertical-align: -0.05em;
    opacity: 0.95;
}

.mh-greet__harvest-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* Primary CTA in welcome — match App Look scale (overrides customer-app fixed clamp) */
.mh-greet .mh-greet__harvest-cta {
    font-size: clamp(var(--kf-app-fs-body), 3.2vw, calc(var(--kf-app-fs-heading) * 1.05));
}

.mh-greet__harvest-cta-wrap--inline {
    justify-content: flex-start;
    margin-top: 12px;
}

.mh-greet__harvest-cta-wrap--inline .mh-greet__harvest-cta {
    width: auto;
    min-width: min(100%, 14rem);
}

@media (prefers-reduced-motion: no-preference) {
    .mh-greet__harvest-spark--a {
        animation: mh-harvest-float 3.1s ease-in-out infinite;
    }

    .mh-greet__harvest-spark--b {
        animation: mh-harvest-float 3.5s ease-in-out infinite 0.35s;
    }

    .mh-greet__harvest-spark--c {
        animation: mh-harvest-float 3.3s ease-in-out infinite 0.7s;
    }

    .mh-greet__harvest-basket-ring {
        animation: mh-harvest-ring-spin 18s linear infinite;
    }

    .mh-greet__harvest-basket-icon {
        animation: mh-harvest-basket-breathe 3.6s ease-in-out infinite;
    }

    .mh-greet__harvest-emoji-basket {
        animation: mh-harvest-emoji-wiggle 2.6s ease-in-out infinite;
    }

    .mh-greet__trust-pills > li:nth-child(1) .bh-trust-pill {
        animation: mh-greet-trust-pill 2.5s ease-in-out infinite;
    }

    .mh-greet__trust-pills > li:nth-child(2) .bh-trust-pill {
        animation: mh-greet-trust-pill 2.5s ease-in-out infinite 0.35s;
    }

    .mh-greet__trust-pills > li:nth-child(3) .bh-trust-pill {
        animation: mh-greet-trust-pill 2.5s ease-in-out infinite 0.7s;
    }

    .mh-greet__trust-pills > li:nth-child(4) .bh-trust-pill {
        animation: mh-greet-trust-pill 2.5s ease-in-out infinite 1.05s;
    }

    .mh-greet__harvest-story-trail {
        animation: mh-harvest-trail-spark 2.4s ease-in-out infinite;
    }

    .mh-greet__harvest-panel {
        animation: mh-harvest-panel-glow 5s ease-in-out infinite;
    }
}

@keyframes mh-harvest-float {
    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }
    50% {
        transform: translateY(-7px) rotate(4deg);
    }
}

@keyframes mh-harvest-ring-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes mh-harvest-basket-breathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.03);
    }
}

@keyframes mh-harvest-emoji-wiggle {
    0%,
    100% {
        transform: rotate(-6deg) scale(1);
    }
    50% {
        transform: rotate(8deg) scale(1.08);
    }
}

@keyframes mh-greet-trust-pill {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes mh-harvest-trail-spark {
    0%,
    100% {
        opacity: 0.75;
        filter: saturate(1);
    }
    50% {
        opacity: 1;
        filter: saturate(1.25);
    }
}

@keyframes mh-harvest-panel-glow {
    0%,
    100% {
        box-shadow:
            0 12px 32px rgba(22, 101, 52, 0.08),
            0 0 0 1px rgba(255, 255, 255, 0.85) inset;
    }
    50% {
        box-shadow:
            0 14px 38px rgba(22, 101, 52, 0.12),
            0 0 0 1px rgba(255, 255, 255, 0.92) inset,
            0 0 28px rgba(250, 204, 21, 0.12);
    }
}

.mh-greet__basket-stage--solo {
    margin-inline: auto;
}

.mh-greet__pending-date {
    font-weight: 800;
    color: var(--mh-accent);
}

.mh-greet__basket-stage {
    flex-shrink: 0;
}

.mh-greet__basket-figure {
    position: relative;
    box-sizing: border-box;
    width: clamp(88px, 24vw, 108px);
    height: clamp(88px, 24vw, 108px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: #166534;
    background: #ecfdf5;
    border: 2px solid rgba(167, 243, 208, 0.88);
    box-shadow: var(--mh-shadow-md);
}

.mh-greet__basket-glow {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    pointer-events: none;
    z-index: 0;
}

.mh-greet__basket-svg {
    position: relative;
    z-index: 1;
    width: min(58px, 52%);
    height: min(58px, 52%);
    display: block;
}

.mh-greet__basket-figure--photo {
    padding: 6px;
    overflow: hidden;
}

.mh-greet__harvest-basket-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: min(86px, 78%);
    max-height: min(86px, 78%);
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
}

.mh-greet__basket-figure--empty {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.7);
    color: #64748b;
}

.mh-greet__basket-sad {
    position: absolute;
    right: -8px;
    bottom: -6px;
    z-index: 2;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1;
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.14));
    pointer-events: none;
}

.mh-greet__showcase-main {
    flex: 1;
    min-width: min(100%, 11.5rem);
}

.mh-greet__delivery--solo {
    margin-top: 0;
}

.mh-greet__delivery-text--wide {
    width: 100%;
}

.mh-greet__showcase-main .mh-greet__hint {
    margin-top: 10px;
}

.mh-greet__delivery {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 12px 12px 10px;
    border-radius: var(--mh-radius-md);
    border: 1px solid var(--mh-line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--mh-shadow-sm);
}

.mh-greet__delivery-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--mh-accent);
    background: rgba(236, 253, 245, 0.9);
}

.mh-greet__delivery-icon svg {
    display: block;
}

.mh-greet__delivery-text {
    min-width: 0;
    flex: 1;
}

.mh-greet__delivery-eyebrow {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mh-accent);
    line-height: 1.3;
}

.mh-greet__delivery-line {
    margin: 5px 0 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-muted);
    letter-spacing: -0.02em;
}

.mh-greet__delivery-date {
    display: inline;
    color: var(--mh-ink);
    font-weight: 800;
}

.mh-greet__hint {
    margin: 10px 0 0;
    font-size: var(--kf-app-fs-small);
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-muted);
    letter-spacing: -0.01em;
    padding-left: 10px;
    border-left: 3px solid rgba(34, 197, 94, 0.45);
}

.mh-greet__hint-em {
    font-style: italic;
    font-weight: 800;
    color: #0f766e;
}

/* Legacy: single block subline if used elsewhere */
.mh-greet__sub {
    margin: 7px 0 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 500;
    line-height: 1.48;
    color: var(--mh-muted);
    letter-spacing: -0.017em;
    max-width: 22rem;
}

.mh-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 11px 0 0;
    padding: 0;
    font-size: var(--kf-app-fs-small);
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 0.95);
}

.mh-trust-strip__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.75);
}

.mh-trust-strip__item {
    white-space: nowrap;
}

/* —— Unbooked basket nudge (above home carousel) —— */
body.mh-page main#cph-main[data-kf-nav='home'] > .mh-basket-nudge-strip {
    margin: 0 auto;
    width: 100%;
    max-width: var(--bh-layout-max, 420px);
    box-sizing: border-box;
    border-radius: var(--mh-radius-md);
    overflow: hidden;
    border: 1px solid rgba(248, 113, 113, 0.55);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
}

.mh-basket-nudge-strip__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    text-decoration: none;
    color: #7f1d1d;
    font-size: clamp(0.8rem, 3.1vw, 0.92rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.35;
    background: #fff1f2;
    background-size: 220% 100%;
    animation: mh-basket-nudge-shimmer 2.8s ease-in-out infinite;
}

.mh-basket-nudge-strip__link:focus-visible {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

.mh-basket-nudge-strip__label {
    flex: 1 1 auto;
    min-width: 0;
}

.mh-basket-nudge-strip__cta {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: #991b1b;
    opacity: 0.92;
    animation: mh-basket-nudge-pulse 1.4s ease-in-out infinite;
}

@keyframes mh-basket-nudge-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes mh-basket-nudge-pulse {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.85;
    }
    50% {
        transform: translateX(3px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-basket-nudge-strip__link {
        animation: none;
        background: #fff1f2;
        background-size: 100% 100%;
    }

    .mh-basket-nudge-strip__cta {
        animation: none;
    }
}

/* —— Carousel —— */
.mh-page .mh-carousel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.mh-carousel__eyebrow {
    margin: 0;
    font-size: var(--kf-app-fs-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mh-ink);
    line-height: 1.2;
}

.mh-carousel__see-all {
    flex-shrink: 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--mh-accent);
    padding: 4px 0;
}

.mh-carousel__see-all:active {
    opacity: 0.68;
}

/* Home carousel shell + slides: styled in customer-home-slider.css (login slider parity). */

.mh-page .mh-carousel__mask {
    position: relative;
}

.mh-page .mh-carousel__viewport:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px var(--mh-accent-bright);
    border-radius: 0;
}

.mh-basket-hub__zone--delivery::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.14);
    pointer-events: none;
}

.mh-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #14532d;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(134, 239, 172, 0.75);
}

.mh-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mh-accent-bright);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    animation: mh-pulse 2s ease-in-out infinite;
}

@keyframes mh-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-pill__dot {
        animation: none;
    }

    .mh-greet__harvest-spark--a,
    .mh-greet__harvest-spark--b,
    .mh-greet__harvest-spark--c,
    .mh-greet__harvest-basket-ring,
    .mh-greet__harvest-basket-icon,
    .mh-greet__harvest-emoji-basket,
    .mh-greet__trust-pills .bh-trust-pill,
    .mh-greet__harvest-story-trail,
    .mh-greet__harvest-panel {
        animation: none;
    }
}

/* —— Pending state inside hub —— */
body.mh-page main#cph-main[data-kf-nav='home'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='veggies'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='fruits'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='shop'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='orders'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='about'] > .mh-basket-hub.mh-week--with-bg,
body.mh-page main#cph-main[data-kf-nav='subscription'] > .mh-basket-hub.mh-week--with-bg {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mh-basket-hub.mh-week--pending:not(.mh-week--with-bg) .mh-basket-hub__zone--pending {
    text-align: left;
}

.mh-basket-hub.mh-week--pending:not(.mh-week--with-bg) .mh-week__text {
    text-align: left;
    font-size: var(--kf-app-fs-body);
    line-height: 1.52;
}

.mh-page .mh-basket-hub .mh-week__btn {
    margin-top: 17px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
    font-size: var(--kf-app-fs-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.mh-basket-hub.mh-week--with-bg.mh-week--pending .mh-week__btn {
    width: auto;
}

.mh-basket-hub.mh-week--pending.mh-week--with-bg .mh-week__text {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.48),
        0 14px 36px rgba(0, 0, 0, 0.35);
}

.mh-page .mh-home-basket-module {
    margin-top: 0;
}

.mh-page .mh-home-basket-module [data-kf-nav='veggies'],
.mh-page .mh-home-basket-module [data-kf-nav='fruits'] {
    gap: var(--kf-app-gutter);
}

.mh-page .mh-home-basket-module #bh-module-main.cph-main,
.mh-page .mh-home-basket-module #bh-module-main.bh-module {
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Standalone custom pick basket: `#bh-module-main` is nested inside the module (same as home embed) */
.mh-page .mh-home-basket-module [data-kf-nav='veggies'],
.mh-page .mh-home-basket-module [data-kf-nav='fruits'] {
    margin-top: 0;
    padding-top: 0;
}

.mh-page .mh-home-basket-module [data-kf-nav='veggies'] .bh-trust-pills,
.mh-page .mh-home-basket-module [data-kf-nav='fruits'] .bh-trust-pills {
    margin-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .mh-page .mh-carousel__link,
    .mh-page .mh-carousel__dot {
        transition: none !important;
    }

    .mh-page .mh-carousel__link:active {
        transform: none;
    }
}

/* ── My Home (/my-home) — one continuous lively screen (Orders / Shop parity) ── */
body.mh-page.my-home-lively {
    --mh-home-mint: #10b981;
    --mh-home-teal: #0d9488;
    --kf-page-bg: var(--kf-nature-page, #f7faf8);
    --kf-earth-green: var(--kf-nature-surface, #f8fcfa);
    background: var(--kf-nature-page-bg, #f8fcfa);
    background-size: 100% 100%;
    animation: none;
}

body.my-home-lively.mh-page main#cph-main.mh-home-lively-main[data-kf-nav='home'] {
    gap: 0;
    padding-block: 0;
    padding-inline: 0;
    background: transparent;
}

/* Single hub section — full width, no portal section gutters */
body.my-home-lively.bh-page:not(.bh-page--embed) main#cph-main.cph-main[data-kf-nav='home'] > section.mh-home-page {
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

body.my-home-lively .mh-home-page,
body.my-home-lively .mh-home-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body.my-home-lively.mh-page:has(#cph-main[data-kf-nav='home']) > section.mh-home-page {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

@media (min-width: 768px) {
    body.my-home-lively.mh-page:has(#cph-main[data-kf-nav='home']) > section.mh-home-page {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Flow blocks — transparent; page gradient shows through (no band stripes) */
body.my-home-lively .mh-home-flow > * {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.my-home-lively .mh-home-page-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: var(--kf-portal-hero-pad-y, 12px) var(--kf-portal-hero-pad-x, 16px);
    text-align: center;
    border: none;
    border-radius: 0;
    background:
        rgba(255, 255, 255, 0.97);
    box-shadow: none;
}

body.my-home-lively .mh-home-page-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.my-home-lively .mh-home-page-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
}

body.my-home-lively .mh-home-page-hero__blob--a {
    width: 130px;
    height: 130px;
    top: -32px;
    left: -24px;
    background: rgba(74, 222, 128, 0.58);
}

body.my-home-lively .mh-home-page-hero__blob--b {
    width: 110px;
    height: 110px;
    top: -8px;
    right: -18px;
    background: rgba(251, 191, 36, 0.55);
}

body.my-home-lively .mh-home-page-hero__blob--c {
    width: 90px;
    height: 90px;
    bottom: -22px;
    left: 40%;
    background: rgba(45, 212, 191, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    body.my-home-lively .mh-home-page-hero__blob--a {
        animation: mh-home-page-blob-drift 7s ease-in-out infinite;
    }

    body.my-home-lively .mh-home-page-hero__blob--b {
        animation: mh-home-page-blob-drift 8s ease-in-out infinite 0.8s;
    }

    body.my-home-lively .mh-home-page-hero__blob--c {
        animation: mh-home-page-blob-drift 6.5s ease-in-out infinite 1.4s;
    }
}

@keyframes mh-home-page-blob-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6px, -8px) scale(1.06);
    }
}

body.my-home-lively .mh-home-page-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.my-home-lively .mh-home-page-hero__eyebrow {
    margin: 0;
    padding: 5px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

body.my-home-lively .mh-home-page-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px 6px 10px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid rgba(251, 146, 60, 0.45);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

body.my-home-lively .mh-home-page-hero__chip-icon {
    font-size: 1rem;
    line-height: 1;
}

body.my-home-lively .mh-home-page-hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    background: #065f46;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.my-home-lively .mh-home-page-hero__title-accent {
    display: inline;
    background: #059669;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.my-home-lively .mh-home-page-hero__title,
    body.my-home-lively .mh-home-page-hero__title-accent {
        color: #065f46;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

body.my-home-lively .mh-home-page-hero__basket-banner {
    position: relative;
    z-index: 1;
    display: block;
    margin: 12px auto 0;
    max-width: 22rem;
    padding: 12px 14px 13px;
    text-decoration: none;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.45);
    background:
        rgba(255, 255, 255, 0.96);
    box-shadow:
        0 10px 28px -8px rgba(5, 150, 105, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.my-home-lively .mh-home-page-hero__basket-banner:focus-visible {
    outline: 2px solid rgba(5, 150, 105, 0.55);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    body.my-home-lively .mh-home-page-hero__basket-banner:hover {
        transform: translateY(-1px);
        box-shadow:
            0 14px 32px -10px rgba(5, 150, 105, 0.34),
            0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }
}

body.my-home-lively .mh-home-page-hero__basket-banner-text {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #334155;
}

body.my-home-lively .mh-home-page-hero__basket-banner-em {
    font-weight: 800;
    color: #047857;
}

body.my-home-lively .mh-home-page-hero__basket-banner-cta {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #b45309;
}

body.my-home-lively .mh-home-nudge.mh-basket-nudge-strip {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-width: 1px 0;
    box-shadow: none;
}

body.my-home-lively .mh-home-flow .mh-carousel.mh-home-carousel {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__link,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__art,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__art img {
    border-radius: 0;
}

body.my-home-lively .mh-home-greet.mh-greet {
    margin: 0;
    padding: 14px 14px 12px;
    font-family: var(--kf-app-font-family, system-ui, sans-serif);
}

body.my-home-lively .mh-home-greet .mh-greet__harvest-panel {
    border-radius: 0;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background:
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.08);
}

body.my-home-lively .mh-home-greet .bh-trust-pill {
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

body.my-home-lively .mh-home-greet .bh-trust-pill--grown {
    color: #065f46;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.35);
}

body.my-home-lively .mh-home-greet .bh-trust-pill--chem {
    color: #0f766e;
    background: #f0fdfa;
    border-color: rgba(13, 148, 136, 0.35);
}

body.my-home-lively .mh-home-greet .bh-trust-pill--inj {
    color: #9a3412;
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.35);
}

body.my-home-lively .mh-home-greet .bh-trust-pill--wax {
    color: #7c2d12;
    background: #fef3c7;
    border-color: rgba(245, 158, 11, 0.4);
}

body.my-home-lively .mh-home-greet .mh-greet__harvest-cta {
    box-shadow: var(--kf-portal-cta-shadow, 0 4px 14px rgba(5, 150, 105, 0.22));
}

body.my-home-lively .mh-home-reviews {
    padding: 8px 14px calc(18px + env(safe-area-inset-bottom, 0px));
}

body.my-home-lively .mh-home-reviews .cab-surface--reviews {
    margin: 0;
    padding: 14px 0 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.my-home-lively .mh-home-reviews .cab-about__section-head--reviews {
    padding-inline: 0;
}

body.my-home-lively .mh-home-reviews .cab-review-card {
    border: 1px solid rgba(16, 185, 129, 0.22);
    background:
        rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.08);
}

body.my-home-lively .mh-home-reviews .cab-about__section-title {
    background: #065f46;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.my-home-lively .mh-home-reviews .cab-about__section-title {
        color: #065f46;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.my-home-lively .mh-home-page-hero__blob {
        animation: none !important;
    }
}

/* Square corners — /my-home lively (keep Amazon promo cards rounded) */
body.my-home-lively .mh-home-page-hero__eyebrow,
body.my-home-lively .mh-home-page-hero__chip,
body.my-home-lively .mh-home-boxes,
body.my-home-lively .mh-home-box,
body.my-home-lively .mh-basket-nudge-strip,
body.my-home-lively .mh-basket-nudge-strip__link,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards),
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__link,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__art,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__art img,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__caption,
body.my-home-lively .mh-home-flow .mh-carousel:not(.mh-carousel--cards) .mh-carousel__dot,
body.my-home-lively .mh-home-greet .mh-greet__harvest-panel,
body.my-home-lively .mh-home-greet .mh-greet__basket-figure,
body.my-home-lively .mh-home-greet .mh-greet__basket-figure--photo,
body.my-home-lively .mh-home-greet .mh-greet__harvest-basket-ring,
body.my-home-lively .mh-home-greet .bh-trust-pill,
body.my-home-lively .mh-home-reviews .cab-review-card,
body.my-home-lively .mh-home-reviews .cab-review-card__avatar,
body.my-home-lively .mh-home-reviews .cab-reviews-slider__dot {
    border-radius: 0 !important;
}

/* Premium layer: no extra “card” chrome on greet inside unified home */
body.my-home-lively.mh-page main#cph-main.mh-main[data-kf-nav='home'] > section.mh-home-page > .mh-home-flow > .mh-home-greet.mh-greet {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* —— Home: basket already ordered (lively centered card) —— */
body.my-home-lively .mh-home-ordered {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.my-home-lively .mh-home-ordered__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px 16px 16px;
    text-align: center;
    background:
        linear-gradient(165deg, #ecfdf5 0%, #fff 42%, #f0fdfa 100%);
    border-block: 1px solid rgba(16, 185, 129, 0.35);
    border-inline: none;
    border-radius: 0;
    box-shadow:
        0 10px 28px -10px rgba(5, 150, 105, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.mh-home-ordered__shine {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 80%;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.55) 48%,
        transparent 58%
    );
    pointer-events: none;
    animation: mh-home-ordered-shine 4.5s ease-in-out infinite;
}

.mh-home-ordered__body {
    position: relative;
    z-index: 1;
    margin: 0;
}

.mh-home-ordered__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(
        90deg,
        #059669,
        #10b981,
        #14b8a6,
        #22c55e,
        #10b981,
        #059669
    );
    background-size: 220% 100%;
    border-radius: 999px;
    box-shadow:
        0 4px 14px rgba(5, 150, 105, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: mh-home-ordered-gradient 3.2s ease-in-out infinite;
}

.mh-home-ordered__eyebrow-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    animation: mh-home-ordered-pulse 1.6s ease-in-out infinite;
}

.mh-home-ordered__eyebrow-text {
    line-height: 1.2;
}

.mh-home-ordered__title {
    margin: 0 auto 8px;
    max-width: none;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
}

.mh-home-ordered__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25em 0.4em;
    margin: 0 auto;
    max-width: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #475569;
}

.mh-home-ordered__meta-sep {
    opacity: 0.5;
}

.mh-home-ordered__pay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 10px auto 0;
    max-width: none;
    width: 100%;
}

.mh-home-ordered__pay-line {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
}

.mh-home-ordered__pay-line--due {
    font-weight: 700;
    color: #b45309;
}

.mh-home-ordered__billing,
.mb-basket-screen__billing {
    margin: 10px auto 0;
    padding: 10px 12px;
    width: 100%;
    max-width: 20rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: rgba(236, 253, 245, 0.75);
    text-align: left;
}

.mh-home-ordered__billing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #475569;
    padding: 2px 0;
}

.mh-home-ordered__billing-row strong {
    font-weight: 700;
    color: #064e3b;
    white-space: nowrap;
}

.mh-home-ordered__billing-row--total {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.84rem;
    font-weight: 700;
    color: #064e3b;
}

.mh-home-ordered__hint {
    margin: 10px auto 0;
    max-width: none;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0d9488;
}

.mh-home-ordered__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(16, 185, 129, 0.18);
}

.mh-home-ordered__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #047857 0%, #059669 45%, #10b981 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.mh-home-ordered__cta:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
}

@keyframes mh-home-ordered-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes mh-home-ordered-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.85); }
}

@keyframes mh-home-ordered-shine {
    0%, 100% { transform: translateX(-12%) rotate(0deg); opacity: 0; }
    15% { opacity: 0.7; }
    45% { transform: translateX(18%) rotate(0deg); opacity: 0.85; }
    70% { opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
    .mh-home-ordered__cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px -6px rgba(5, 150, 105, 0.62);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-home-ordered__shine,
    .mh-home-ordered__eyebrow,
    .mh-home-ordered__eyebrow-dot {
        animation: none;
    }
}

/* Delivery week quick summary (home) */
.mh-delivery-summary-modal .cw-modal__panel {
    max-width: min(440px, 100%);
}

.mh-delivery-summary-modal__sub {
    margin: 4px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.mh-delivery-summary-modal__body {
    padding-top: 4px;
}

.mh-delivery-summary-modal__loading,
.mh-delivery-summary-modal__empty {
    margin: 12px 0 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.mh-delivery-summary-modal__total {
    margin: 0 0 14px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.mh-delivery-summary-group + .mh-delivery-summary-group {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.mh-delivery-summary-group__title {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #047857;
}

.mh-delivery-summary-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-delivery-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.mh-delivery-summary-item + .mh-delivery-summary-item {
    border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.mh-delivery-summary-item__media {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mh-delivery-summary-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-delivery-summary-item__ph {
    font-size: 1.4rem;
    line-height: 1;
}

.mh-delivery-summary-item__copy {
    flex: 1;
    min-width: 0;
}

.mh-delivery-summary-item__name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.mh-delivery-summary-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 4px 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.mh-delivery-summary-item__pay {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mh-delivery-summary-item__pay--paid {
    color: #047857;
    background: rgba(16, 185, 129, 0.14);
}

.mh-delivery-summary-item__pay--pending_cod {
    color: #b45309;
    background: rgba(245, 158, 11, 0.16);
}

.mh-delivery-summary-item__pay--pending_checkout {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.12);
}

