/**
 * My Home v2 — enterprise dashboard layout (scoped to .mh-home-v2).
 * Load after customer-my-home.css + customer-my-home-premium.css
 */

body.my-home-lively.mh-home-v2-page {
    --mh-v2-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mh-v2-green: #059669;
    --mh-v2-green-deep: #047857;
    --mh-v2-teal: #0d9488;
    --mh-v2-amber: #d97706;
    --mh-v2-surface: #ffffff;
    --mh-v2-muted: #64748b;
    --mh-v2-border: rgba(15, 23, 42, 0.08);
    --mh-v2-radius: 0;
    --mh-v2-radius-lg: 0;
    --mh-v2-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 12px 28px -8px rgba(5, 150, 105, 0.12);
    --mh-v2-shadow-lg: 0 20px 40px -12px rgba(5, 46, 22, 0.18);
    font-family: var(--mh-v2-font);
    --kf-page-bg: var(--kf-nature-page, #f7faf8);
    background: var(--kf-nature-page-bg, #f8fcfa);
}

body.my-home-lively.mh-home-v2-page .mh-home-v2 {
    font-family: var(--mh-v2-font);
}

/* ── Hero ── */
.mh-v2-hero {
    position: relative;
    margin: 0;
    padding: var(--kf-portal-hero-pad-y, 12px) var(--kf-portal-hero-pad-x, 16px);
    overflow: hidden;
    background: var(--kf-nature-hero-bg, #f8fcfa);
    border-bottom: 1px solid var(--kf-nature-hero-border, rgba(22, 101, 52, 0.1));
}

.mh-v2-hero__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        rgba(74, 222, 128, 0.35),
        rgba(251, 191, 36, 0.28),
        rgba(45, 212, 191, 0.2);
}

.mh-v2-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    margin: 0 auto;
    text-align: center;
}

.mh-v2-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mh-v2-green-deep);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.mh-v2-hero__brand-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* .mh-v2-hero__title typography: customer-portal-design-system.css */

.mh-v2-hero__title-accent {
    background: var(--kf-nature-accent-grad, #15803d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .mh-v2-hero__title-accent {
        color: var(--mh-v2-green-deep);
        -webkit-text-fill-color: unset;
    }
}

.mh-v2-hero__lead {
    margin: 0 0 14px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-v2-muted);
}

.mh-v2-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.mh-v2-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    background: var(--mh-v2-surface);
    border: 1px solid var(--mh-v2-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mh-v2-chip--delivery {
    color: var(--mh-v2-green-deep);
    border-color: rgba(16, 185, 129, 0.3);
    background: #fff;
}

.mh-v2-chip__icon {
    font-size: 1rem;
    line-height: 1;
}

.mh-v2-chip strong {
    font-weight: 800;
    color: inherit;
}

/* ── Quick actions ── */
.mh-v2-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0;
    padding: 14px 12px;
    list-style: none;
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid var(--mh-v2-border);
}

.mh-v2-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    text-decoration: none;
    text-align: center;
    color: #334155;
    background: var(--mh-v2-surface);
    border: 1px solid var(--mh-v2-border);
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mh-v2-action--primary {
    color: #fff;
    background: var(--mh-v2-green);
    border-color: transparent;
    box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.45);
}

.mh-v2-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    font-size: 1.15rem;
    line-height: 1;
    background: rgba(15, 23, 42, 0.05);
}

.mh-v2-action--primary .mh-v2-action__icon {
    background: rgba(255, 255, 255, 0.2);
}

.mh-v2-action__label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.mh-v2-action:focus-visible {
    outline: 2px solid var(--mh-v2-green);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .mh-v2-action:hover {
        transform: translateY(-2px);
        box-shadow: var(--mh-v2-shadow);
    }

    .mh-v2-action--primary:hover {
        box-shadow: 0 12px 28px -6px rgba(5, 150, 105, 0.55);
    }
}

/* ── Home: Veggies + Grocery square tiles ── */
.mh-home-boxes {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 10px 4px;
    box-sizing: border-box;
}

.mh-home-boxes__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    background: #ecfdf5;
}

.mh-home-boxes__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
    text-align: center;
    width: 100%;
}

.mh-home-boxes__sub {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mh-v2-muted);
}

.mh-home-boxes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mh-home-boxes__grid--solo {
    grid-template-columns: 1fr;
    max-width: 18rem;
    margin: 0 auto;
}

.mh-home-boxes__grid--with-fruits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Grocery + Fruits side by side on the second row (after Natural+ / FarmFresh). */
.mh-home-boxes__grid--grocery-fruits-row .mh-home-box--grocery,
.mh-home-boxes__grid--grocery-fruits-row .mh-home-box--fruits {
    grid-column: auto;
    width: auto;
    max-width: none;
    justify-self: stretch;
}

.mh-home-boxes__grid--with-fruits .mh-home-box--fruits {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
}

.mh-home-boxes__grid--with-fruits.mh-home-boxes__grid--solo .mh-home-box--fruits {
    width: 100%;
    max-width: 18rem;
}

.mh-home-box {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    aspect-ratio: 2.15 / 1;
    padding: 10px 12px;
    overflow: hidden;
    text-decoration: none;
    text-align: left;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.mh-home-box--veggies,
.mh-home-box--natural {
    background: linear-gradient(180deg, #f4fbf7 0%, #eaf6f0 100%);
    border-color: rgba(22, 101, 52, 0.16);
    box-shadow:
        inset 3px 0 0 #4ade80,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box--farmfresh {
    background: linear-gradient(180deg, #fffaf3 0%, #fef3e2 100%);
    border-color: rgba(180, 83, 9, 0.14);
    box-shadow:
        inset 3px 0 0 #fbbf24,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box--grocery {
    background: linear-gradient(180deg, #f5faff 0%, #eaf4fc 100%);
    border-color: rgba(3, 105, 161, 0.14);
    box-shadow:
        inset 3px 0 0 #38bdf8,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box--fruits {
    background: linear-gradient(180deg, #fff5f7 0%, #fce8ec 100%);
    border-color: rgba(190, 18, 60, 0.14);
    box-shadow:
        inset 3px 0 0 #fb7185,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box--exclusive-farmer {
    background: linear-gradient(180deg, #f8f5ff 0%, #f1ebff 100%);
    border-color: rgba(91, 33, 182, 0.14);
    box-shadow:
        inset 3px 0 0 #a78bfa,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box--our-farmers {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: rgba(22, 101, 52, 0.16);
    box-shadow:
        inset 3px 0 0 #4ade80,
        0 2px 8px rgba(15, 23, 42, 0.06);
}

.mh-home-box__shine {
    position: absolute;
    top: -50%;
    left: -40%;
    width: 180%;
    height: 70%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0.45;
    animation: mh-home-box-shine 4.2s ease-in-out infinite;
}

.mh-home-box__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0);
    opacity: 0.22;
    animation: mh-home-box-float 5s ease-in-out infinite;
}

.mh-home-box__orb--a {
    width: 3.5rem;
    height: 3.5rem;
    top: -1.2rem;
    right: -0.35rem;
    background: rgba(15, 23, 42, 0.05);
}

.mh-home-box__orb--b {
    width: 2.25rem;
    height: 2.25rem;
    bottom: -0.65rem;
    left: -0.5rem;
    background: rgba(15, 23, 42, 0.04);
    animation-delay: 1.2s;
}

.mh-home-box__badge,
.mh-home-box__cta {
    display: none !important;
}

.mh-home-box__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.mh-home-box__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    font-size: 1.65rem;
    line-height: 1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    animation: mh-home-box-icon-pulse 2.4s ease-in-out infinite;
}

.mh-home-box--veggies .mh-home-box__icon,
.mh-home-box--natural .mh-home-box__icon {
    border-color: rgba(22, 101, 52, 0.12);
}

.mh-home-box--farmfresh .mh-home-box__icon {
    border-color: rgba(180, 83, 9, 0.12);
}

.mh-home-box--grocery .mh-home-box__icon {
    border-color: rgba(3, 105, 161, 0.12);
}

.mh-home-box--fruits .mh-home-box__icon {
    border-color: rgba(190, 18, 60, 0.12);
}

.mh-home-box--exclusive-farmer .mh-home-box__icon {
    border-color: rgba(91, 33, 182, 0.12);
}

.mh-home-box--our-farmers .mh-home-box__icon {
    border-color: rgba(22, 101, 52, 0.14);
}

.mh-home-box__name {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0f172a;
    text-shadow: none;
}

.mh-home-box--veggies .mh-home-box__name,
.mh-home-box--natural .mh-home-box__name {
    color: #14532d;
}

.mh-home-box--farmfresh .mh-home-box__name {
    color: #78350f;
}

.mh-home-box--grocery .mh-home-box__name {
    color: #0c4a6e;
}

.mh-home-box--fruits .mh-home-box__name {
    color: #9f1239;
}

.mh-home-box--exclusive-farmer .mh-home-box__name,
.mh-home-box--exclusive-farmer .mh-home-box__name--exclusive-farmer {
    color: #4c1d95;
}

.mh-home-box__name--exclusive-farmer {
    font-size: 0.8rem;
    line-height: 1.15;
}

.mh-home-box__tease {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    color: #475569;
}

.mh-home-box--veggies .mh-home-box__tease,
.mh-home-box--natural .mh-home-box__tease {
    color: #166534;
}

.mh-home-box--farmfresh .mh-home-box__tease {
    color: #92400e;
}

.mh-home-box--grocery .mh-home-box__tease {
    color: #075985;
}

.mh-home-box--fruits .mh-home-box__tease {
    color: #be123c;
}

.mh-home-box--exclusive-farmer .mh-home-box__tease {
    color: #5b21b6;
}

.mh-home-box:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

@keyframes mh-home-box-shine {
    0%, 100% { transform: translateX(-15%) rotate(0deg); opacity: 0; }
    18% { opacity: 0.85; }
    48% { transform: translateX(20%) rotate(0deg); opacity: 0.9; }
    72% { opacity: 0; }
}

@keyframes mh-home-box-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4px, -6px) scale(1.05); }
}

@keyframes mh-home-box-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (hover: hover) and (pointer: fine) {
    .mh-home-box:hover {
        transform: translateY(-2px);
    }

    .mh-home-box--veggies:hover,
    .mh-home-box--natural:hover {
        border-color: rgba(22, 101, 52, 0.24);
        box-shadow:
            inset 3px 0 0 #22c55e,
            0 6px 14px rgba(22, 101, 52, 0.12);
    }

    .mh-home-box--farmfresh:hover {
        border-color: rgba(180, 83, 9, 0.22);
        box-shadow:
            inset 3px 0 0 #f59e0b,
            0 6px 14px rgba(180, 83, 9, 0.12);
    }

    .mh-home-box--grocery:hover {
        border-color: rgba(3, 105, 161, 0.22);
        box-shadow:
            inset 3px 0 0 #0ea5e9,
            0 6px 14px rgba(3, 105, 161, 0.12);
    }

    .mh-home-box--fruits:hover {
        border-color: rgba(190, 18, 60, 0.22);
        box-shadow:
            inset 3px 0 0 #f43f5e,
            0 6px 14px rgba(190, 18, 60, 0.12);
    }

    .mh-home-box--exclusive-farmer:hover {
        border-color: rgba(91, 33, 182, 0.22);
        box-shadow:
            inset 3px 0 0 #8b5cf6,
            0 6px 14px rgba(91, 33, 182, 0.12);
    }
}

@media (min-width: 480px) {
    .mh-home-boxes {
        padding: 14px 14px 6px;
    }

    .mh-home-box__name {
        font-size: 1rem;
    }

    .mh-home-box__name--exclusive-farmer {
        font-size: 0.88rem;
    }

    .mh-home-box__icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-home-box__shine,
    .mh-home-box__orb,
    .mh-home-box__icon {
        animation: none;
    }

    .mh-home-box {
        transition: none;
    }
}

/* ── Home product rows (Offers / Exclusive) ── */
.mh-home-products {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 10px 2px;
    box-sizing: border-box;
}

.mh-home-products__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    background: #f8fafc;
}

.mh-home-products--offers .mh-home-products__head {
    background: #fffbeb;
}

.mh-home-products--exclusive .mh-home-products__head {
    background: #f5f3ff;
}

.mh-home-products--similar .mh-home-products__head {
    background: #e8f5ec;
}

.mh-home-products__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-align: center;
    width: 100%;
}

.mh-home-products__scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.mh-home-products__scroll::-webkit-scrollbar {
    height: 6px;
}

.mh-home-products__scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}

.mh-home-product {
    flex: 0 0 auto;
    width: 8.75rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 8px;
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    scroll-snap-align: start;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.mh-home-product__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

.mh-home-products--offers .mh-home-product {
    box-shadow:
        inset 0 0 0 1px rgba(245, 158, 11, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.05);
}

.mh-home-products--exclusive .mh-home-product {
    box-shadow:
        inset 0 0 0 1px rgba(124, 58, 237, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.05);
}

.mh-home-products--similar .mh-home-product {
    box-shadow:
        inset 0 0 0 1px rgba(22, 101, 52, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.05);
}

.mh-home-product__media {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mh-home-product__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mh-home-product__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0.72;
}

.mh-home-product__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 0 8px;
}

.mh-home-product__name {
    display: block;
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    color: #0f172a;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.mh-home-product__offer {
    display: block;
    font-size: 0.66rem;
    font-weight: 400;
    line-height: 1.3;
    color: #475569;
    white-space: nowrap;
}

.mh-home-products--offers .mh-home-product__offer {
    color: #b45309;
}

.mh-home-products--exclusive .mh-home-product__offer {
    color: #6d28d9;
}

.mh-home-products--similar .mh-home-product__offer {
    color: #166534;
}

.mh-home-product__stepper {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr) 1.6rem;
    align-items: center;
    gap: 2px;
    width: auto;
    margin: 2px 8px 0;
}

.mh-home-product__step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mh-home-product__step-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.mh-home-product__qty {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
}

.mh-home-product__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 1.85rem;
    margin: 0 8px;
    padding: 0.28rem 0.4rem;
    border: 0;
    border-radius: 0;
    background: #1d7232;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.15;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mh-home-product__add:disabled {
    opacity: 0.55;
    cursor: default;
}

.mh-home-products--offers .mh-home-product__add {
    background: #d97706;
}

.mh-home-products--exclusive .mh-home-product__add {
    background: #6d28d9;
}

.mh-home-products--similar .mh-home-product__add {
    background: #166534;
}

.mh-home-product--busy {
    opacity: 0.72;
    pointer-events: none;
}

.mh-home-product--added {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(29, 114, 50, 0.18);
}

.mh-home-farmers {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 10px 2px;
    box-sizing: border-box;
}

.mh-home-farmers__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f0fdf4;
}

.mh-home-farmers__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #14532d;
}

.mh-home-farmers__all {
    font-size: 0.75rem;
    font-weight: 700;
    color: #15803d;
    text-decoration: none;
    white-space: nowrap;
}

.mh-home-farmers__scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.mh-home-farmer {
    flex: 0 0 auto;
    width: 7.25rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(22, 101, 52, 0.12);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    scroll-snap-align: start;
    box-sizing: border-box;
}

.mh-home-farmer__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.mh-home-farmer__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-home-farmer__placeholder {
    font-size: 1.5rem;
    opacity: 0.72;
}

.mh-home-farmer__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mh-home-farmer__name {
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mh-home-farmer__farm {
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
    .mh-home-product:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    }

    .mh-home-product__step-btn:not(:disabled):hover {
        background: #eef2ff;
    }

    .mh-home-product__add:not(:disabled):hover {
        filter: brightness(1.05);
    }

    .mh-home-farmer:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    }
}

/* ── Farm-to-home banner image — below welcome, above box tiles ── */
.mh-v2-farm-banner {
    margin: 0;
    padding: 0 10px 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mh-v2-farm-banner__img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

/* ── Kaur's Farm baskets promo (same card as /create-box chooser) ── */
.mh-kaur-baskets-strip {
    margin: 0 0 14px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mh-kaur-baskets-strip__card {
    width: 100%;
}

.mh-kaur-baskets-strip__placeholder {
    font-size: 1.55rem;
    line-height: 1;
}

/* ── CTA banner (legacy — kept for other pages referencing mh-v2-cta) ── */
.mh-v2-cta {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mh-v2-cta__panel {
    position: relative;
    overflow: hidden;
    padding: 18px 16px 20px;
    border-block: 1px solid rgba(16, 185, 129, 0.28);
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(134, 239, 172, 0.42) 0%, transparent 55%),
        linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 38%, #fffbeb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.mh-v2-cta__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.mh-v2-cta__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.72;
}

.mh-v2-cta__blob--a {
    width: 120px;
    height: 120px;
    top: -36px;
    left: -28px;
    background: rgba(74, 222, 128, 0.55);
}

.mh-v2-cta__blob--b {
    width: 100px;
    height: 100px;
    top: -10px;
    right: -20px;
    background: rgba(251, 191, 36, 0.48);
}

.mh-v2-cta__blob--c {
    width: 80px;
    height: 80px;
    bottom: -24px;
    left: 42%;
    background: rgba(45, 212, 191, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
    .mh-v2-cta__blob--a {
        animation: mh-v2-cta-blob 7s ease-in-out infinite;
    }

    .mh-v2-cta__blob--b {
        animation: mh-v2-cta-blob 8s ease-in-out infinite 0.7s;
    }

    .mh-v2-cta__blob--c {
        animation: mh-v2-cta-blob 6.5s ease-in-out infinite 1.2s;
    }

    @keyframes mh-v2-cta-blob {
        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

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

.mh-v2-cta__content {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    margin: 0 auto;
    text-align: center;
}

.mh-v2-cta__eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #065f46;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.mh-v2-cta__title {
    margin: 0 0 8px;
    font-size: clamp(1.0625rem, 4.6vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.22;
    color: #0f172a;
}

.mh-v2-cta__accent {
    display: block;
    margin-top: 2px;
    position: relative;
    background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: mh-v2-cta-accent-glow 3s ease-in-out infinite;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .mh-v2-cta__accent {
        color: #065f46;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

.mh-v2-cta__lead {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-v2-muted);
}

.mh-v2-cta__lead-strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 3px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #065f46;
    box-shadow: 0 8px 16px -12px rgba(16, 185, 129, 0.75);
}

@keyframes mh-v2-cta-accent-glow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0)); }
    50% { filter: drop-shadow(0 6px 12px rgba(16, 185, 129, 0.28)); }
}

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

.mh-v2-cta__delivery {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
}

.mh-v2-cta__delivery-chip {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 10px 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(167, 243, 208, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mh-v2-cta__delivery-chip--date {
    background: linear-gradient(145deg, rgba(255, 251, 235, 0.92) 0%, rgba(254, 243, 199, 0.88) 100%);
    border-color: rgba(251, 191, 36, 0.42);
}

.mh-v2-cta__delivery-label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.48);
}

.mh-v2-cta__delivery-chip strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #065f46;
}

.mh-v2-cta__delivery-chip--date strong {
    color: #92400e;
}

.mh-v2-cta__baskets {
    margin: 0 -2px;
}

.mh-v2-cta__baskets-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mh-v2-cta__baskets-scroll::-webkit-scrollbar {
    display: none;
}

.mh-v2-cta__baskets-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    min-width: min-content;
    padding: 12px 2px 2px;
}

.mh-v2-cta__basket-chip {
    scroll-snap-align: center;
    min-height: 54px;
    padding: 12px 8px 8px;
}

.mh-v2-cta__basket-chip .kph-storenav__chip-copy {
    justify-content: center;
    min-height: 2.4em;
}

.mh-v2-cta__basket-chip .kph-storenav__chip-title {
    white-space: normal;
    font-size: 0.6875rem;
    line-height: 1.12;
}

.mh-v2-cta__basket-chip:active {
    transform: scale(0.98);
}

body.my-home-lively.mh-home-v2-page .mh-v2-cta .kph-storenav__chip-badge {
    border-radius: 999px !important;
}

@media (hover: hover) and (pointer: fine) {
    .mh-v2-cta__basket-chip:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    }
}

/* ── Booked status card (v2 shell) — inset card in flow ── */
body.my-home-lively.mh-home-v2-page .mh-home-ordered,
body.my-home-lively .mh-home-page.mh-home-v2 .mh-home-ordered {
    margin: 8px 0 0;
    padding: 0 12px 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ── Trust strip ── */
.mh-v2-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 12px 4px;
    list-style: none;
}

.mh-v2-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    background: var(--mh-v2-surface);
    border: 1px solid var(--mh-v2-border);
    border-radius: 999px;
}

.mh-v2-trust__icon {
    font-size: 0.85rem;
}

/* ── Section headers ── */
.mh-v2-section {
    margin: 16px 0 0;
    padding: 0 12px;
}

.mh-v2-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    text-align: center;
}

.mh-v2-section--centered .mh-v2-section__head {
    margin-bottom: 12px;
}

.mh-v2-section__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.mh-v2-section__sub {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mh-v2-muted);
    max-width: 20rem;
}

/* Promo card slider sits after pin strip + subscribed basket */
body.my-home-lively .mh-home-v2 .mh-home-carousel.mh-carousel--top {
    margin: 0;
    padding: 8px 0 2px;
    order: 0;
    background: transparent;
}

body.my-home-lively .mh-home-v2 .mh-carousel--top.mh-carousel--cards .mh-carousel__mask {
    position: relative;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
    background: transparent;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__caption {
    display: block !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__dots {
    display: flex !important;
}

/* Welcome strip — separate section below slider, right-aligned */
body.my-home-lively .mh-home-v2 .mh-home-welcome {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 12px 6px;
    box-sizing: border-box;
    text-align: right;
    background: #fff;
    border-bottom: 1px solid var(--mh-v2-border);
}

body.my-home-lively .mh-home-v2 .mh-home-welcome__title {
    margin: 0 0 3px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}

body.my-home-lively .mh-home-v2 .mh-home-welcome__sub {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mh-v2-muted, #475569);
}

body.my-home-lively .mh-home-v2 .mh-v2-hero {
    border-top: none;
}

/* Carousel in v2 (legacy placement) */
body.my-home-lively .mh-home-v2 .mh-home-carousel:not(.mh-carousel--top) {
    margin: 0;
    padding: 0 0 8px;
}

body.my-home-lively .mh-home-v2 .mh-home-carousel:not(.mh-carousel--top) .mh-carousel__mask {
    margin: 0 12px;
    border-radius: var(--mh-v2-radius-lg);
    overflow: hidden;
    border: 1px solid var(--mh-v2-border);
    box-shadow: var(--mh-v2-shadow);
}

body.my-home-lively .mh-home-v2 .mh-carousel__caption,
body.my-home-lively .mh-home-v2 .mh-carousel__dots {
    display: none !important;
}

/* ── Choose your veggies box (home showcase) ── */
.mh-veggies-pick {
    margin: 18px 12px 24px;
}

.mh-veggies-pick__shell {
    position: relative;
    padding: 14px 14px 16px;
    border-radius: var(--mh-v2-radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.22);
    background:
        rgba(255, 255, 255, 0.98);
    box-shadow:
        var(--mh-v2-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: visible;
    container-type: inline-size;
    container-name: mh-veggies-pick;
}

.mh-veggies-pick__shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #10b981;
    background-size: 200% 100%;
    animation: mh-veggies-pick-shimmer 8s linear infinite;
}

@keyframes mh-veggies-pick-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.mh-veggies-pick__head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.mh-veggies-pick__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    padding: 4px 12px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mh-v2-green-deep);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.08);
}

.mh-veggies-pick__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    animation: mh-veggies-pick-pulse 2s ease-in-out infinite;
}

@keyframes mh-veggies-pick-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.mh-veggies-pick__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #0f172a;
}

.mh-veggies-pick__sub {
    margin: 0 auto;
    max-width: 18rem;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-v2-muted);
}

.mh-veggies-pick__deck {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

/* Card */
.mh-veggies-card {
    margin: 0;
    width: 100%;
    min-width: 0;
}

.mh-veggies-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border-radius: calc(var(--mh-v2-radius-lg) - 4px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

.mh-veggies-card__link--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.mh-veggies-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 16px 14px 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.mh-veggies-card--mini .mh-veggies-card__visual {
    background: #ecfdf5;
}

.mh-veggies-card--midi .mh-veggies-card__visual {
    background: #f0fdfa;
}

.mh-veggies-card--custom .mh-veggies-card__visual {
    background: #fffbeb;
}

.mh-veggies-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.mh-veggies-card--mini .mh-veggies-card__badge {
    background: #059669;
}

.mh-veggies-card--midi .mh-veggies-card__badge {
    background: #0d9488;
}

.mh-veggies-card--custom .mh-veggies-card__badge {
    background: #d97706;
}

.mh-veggies-card__img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: min(220px, 72%);
    max-height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(5, 46, 22, 0.18));
}

.mh-veggies-card__img-ph {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(5, 46, 22, 0.12));
}

.mh-veggies-card__glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 70%;
    height: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.mh-veggies-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 14px 14px 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    min-width: 0;
}

.mh-veggies-card__name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0f172a;
}

.mh-veggies-card__tagline {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--mh-v2-muted);
}

.mh-veggies-card__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.mh-veggies-card__price {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.mh-veggies-card__price-label {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mh-veggies-card__price-value {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mh-v2-green-deep);
}

.mh-veggies-card__price--caption {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #b45309;
}

.mh-veggies-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: #15803d;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mh-veggies-card__cta-text {
    min-width: 0;
    text-align: center;
}

.mh-veggies-card--custom .mh-veggies-card__cta {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}

.mh-veggies-card__cta-arrow {
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .mh-veggies-card__link:hover {
        transform: translateY(-3px);
        border-color: rgba(16, 185, 129, 0.35);
        box-shadow: 0 14px 28px -10px rgba(5, 150, 105, 0.28);
    }

    .mh-veggies-card__link:hover .mh-veggies-card__cta {
        box-shadow: 0 6px 16px rgba(22, 101, 52, 0.35);
    }

    .mh-veggies-card--custom .mh-veggies-card__link:hover .mh-veggies-card__cta {
        box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
    }
}

.mh-veggies-card__link:active {
    transform: translateY(-1px) scale(0.99);
}

.mh-veggies-card--custom .mh-veggies-card__link {
    border-color: rgba(217, 119, 6, 0.22);
}

/* 2-up grid (tablet) */
@media (min-width: 520px) {
    .mh-veggies-pick {
        margin-left: 16px;
        margin-right: 16px;
    }

    .mh-veggies-pick__shell {
        padding: 20px 12px 16px;
    }

    .mh-veggies-pick__deck {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mh-veggies-card--custom {
        grid-column: 1 / -1;
    }

    .mh-veggies-card--custom .mh-veggies-card__link {
        flex-direction: row;
        align-items: stretch;
    }

    .mh-veggies-card--custom .mh-veggies-card__visual {
        flex: 0 0 38%;
        min-height: 120px;
        border-right: 1px solid rgba(15, 23, 42, 0.06);
    }

    .mh-veggies-card--custom .mh-veggies-card__body {
        justify-content: center;
        border-top: none;
    }

    .mh-veggies-pick__deck .mh-veggies-card__body {
        padding: 10px 10px 10px;
    }

    .mh-veggies-pick__deck .mh-veggies-card__visual {
        min-height: 108px;
        padding: 12px 8px 8px;
    }

    .mh-veggies-pick__deck .mh-veggies-card__img {
        max-width: 100%;
        max-height: 84px;
    }

    .mh-veggies-pick__deck .mh-veggies-card__name {
        font-size: 0.78rem;
    }

    .mh-veggies-pick__deck .mh-veggies-card__tagline {
        font-size: 0.62rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mh-veggies-pick__deck .mh-veggies-card__foot {
        gap: 8px;
        padding-top: 8px;
    }

    .mh-veggies-pick__deck .mh-veggies-card__price-value {
        font-size: 0.92rem;
    }

    .mh-veggies-pick__deck .mh-veggies-card__cta {
        padding: 8px 8px;
        font-size: 0.62rem;
        border-radius: 10px;
    }

    .mh-veggies-pick__deck .mh-veggies-card__cta-arrow {
        width: 14px;
        height: 14px;
    }
}

/* 3-column grid (desktop / wide view) */
@media (min-width: 720px) {
    .mh-veggies-pick__deck {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .mh-veggies-card--custom {
        grid-column: auto;
    }

    .mh-veggies-card--custom .mh-veggies-card__link {
        flex-direction: column;
    }

    .mh-veggies-card--custom .mh-veggies-card__visual {
        flex: none;
        min-height: 108px;
        border-right: none;
    }

    .mh-veggies-card--custom .mh-veggies-card__body {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.my-home-lively.mh-home-v2-page .mh-v2-hero__inner {
        animation: mh-v2-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    body.my-home-lively.mh-home-v2-page .mh-v2-actions {
        animation: mh-v2-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
    }

    @keyframes mh-v2-fade-up {
        from {
            opacity: 0;
            transform: translate3d(0, 12px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

body.my-home-lively .mh-home-v2 .mh-basket-nudge-strip {
    display: none;
}

@media (min-width: 480px) {
    .mh-v2-hero {
        padding: 24px 20px 20px;
    }

    .mh-v2-actions {
        padding: 16px 16px;
        gap: 10px;
    }

    .mh-v2-action__label {
        font-size: 0.68rem;
    }

    .mh-v2-cta__panel {
        padding-inline: 20px;
    }

    .mh-v2-section {
        padding: 0 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-v2-action,
    .mh-v2-cta__blob,
    .mh-v2-cta__basket-chip,
    .mh-home-box,
    .mh-home-box__shine,
    .mh-home-box__orb,
    .mh-home-box__icon,
    .mh-veggies-card__link,
    .mh-veggies-pick__shell::before,
    .mh-veggies-pick__eyebrow-dot {
        transition: none;
        animation: none;
    }
}

/* My Home — square corners (sections, buttons, cards, chips) */
body.my-home-lively.mh-home-v2-page .mh-main {
    --mh-v2-radius: 0;
    --mh-v2-radius-lg: 0;
    --mh-radius-lg: 0;
    --mh-radius-md: 0;
    --kf-radius-sm: 0;
    --kf-radius-md: 0;
    --kf-radius-lg: 0;
    --kf-radius-xl: 0;
    --kf-radius-pill: 0;
}

body.my-home-lively.mh-home-v2-page .mh-main :is(*, *::before, *::after) {
    border-radius: 0 !important;
}

/* Farm week timeline (shared with About — components/farm_week_timeline.php) */
body.mh-home-v2-page .mh-farm-week {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body.mh-home-v2-page .mh-farm-week {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

body.mh-home-v2-page .mh-farm-week .cab-about-flow__rhythm {
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.mh-home-v2-page .mh-farm-week .cab-about__section-kicker {
    display: block;
    margin: 0 0 6px;
    font-size: calc(var(--kf-app-fs-small) * 0.95);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d9488;
}

body.mh-home-v2-page .mh-farm-week .cab-about__section-title {
    font-weight: 800;
    background: #14532d;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.mh-home-v2-page .mh-farm-week .cab-about__section-title {
        color: #14532d;
    }
}

body.mh-home-v2-page .mh-farm-week .cab-about-flow__rhythm .cab-about__section-head {
    margin-bottom: 14px;
    padding: 18px 14px 0;
    text-align: center;
    box-sizing: border-box;
}

body.mh-home-v2-page .mh-farm-week .cab-about-flow__rhythm .cab-timeline {
    padding: 12px 14px 20px;
    box-sizing: border-box;
}

body.mh-home-v2-page .mh-farm-week .cab-about-flow__rhythm .cab-about__section-head::after {
    content: '';
    display: block;
    width: min(88px, 32%);
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #22c55e;
}

body.mh-home-v2-page .mh-farm-week .cab-timeline--lively::before {
    background: rgba(34, 197, 94, 0.75);
    opacity: 0.85;
    width: 3px;
    left: 30px;
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 8px;
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--grow .cab-timeline__glyph {
    background: #dcfce7;
    border-color: rgba(34, 197, 94, 0.35);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--plan .cab-timeline__glyph {
    background: #e0f2fe;
    border-color: rgba(14, 165, 233, 0.35);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--pick .cab-timeline__glyph {
    background: #fef9c3;
    border-color: rgba(234, 179, 8, 0.4);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--enjoy .cab-timeline__glyph {
    background: #d1fae5;
    border-color: rgba(16, 185, 129, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
    body.mh-home-v2-page .mh-farm-week .cab-about--ready .cab-timeline__step .cab-timeline__glyph {
        animation: cab-about-glyph-bob 3s ease-in-out infinite;
        animation-delay: calc(0.15s * var(--cab-i));
    }
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--grow .cab-timeline__card {
    border-color: rgba(34, 197, 94, 0.35);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--plan .cab-timeline__card {
    border-color: rgba(14, 165, 233, 0.35);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--pick .cab-timeline__card {
    border-color: rgba(234, 179, 8, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.12);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--enjoy .cab-timeline__card {
    border-color: rgba(16, 185, 129, 0.38);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__card {
    border-radius: 0;
    border-width: 1px;
    border-left-width: 4px;
    transition:
        transform 0.22s var(--cab-ease, ease),
        box-shadow 0.22s ease;
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--grow .cab-timeline__card {
    border-left-color: var(--cab-grow, #22c55e);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--plan .cab-timeline__card {
    border-left-color: var(--cab-plan, #0ea5e9);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--pick .cab-timeline__card {
    border-left-color: var(--cab-pick, #eab308);
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__step--enjoy .cab-timeline__card {
    border-left-color: var(--cab-enjoy, #10b981);
}

@media (hover: hover) and (pointer: fine) {
    body.mh-home-v2-page .mh-farm-week .cab-timeline__card:hover {
        transform: translateY(-2px) translateX(2px);
    }
}

body.mh-home-v2-page .mh-farm-week .cab-timeline__when {
    font-weight: 700;
    color: var(--cab-ink, #0f172a);
}

@media (prefers-reduced-motion: reduce) {
    body.mh-home-v2-page .mh-farm-week .cab-timeline__glyph {
        animation: none !important;
    }
}

/* ── Exclusive Farmer's Baskets — lively ticket marketplace ── */
body.efb-page {
    --efb-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: #0f172a;
    font-family: var(--efb-font);
}

body.efb-page .efb-main {
    padding: 0 0 calc(0.85rem + var(--ca-lnav-dock, 0px) + env(safe-area-inset-bottom, 0px));
}

body.efb-page .efb-page-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Scroll reveal */
body.efb-page .efb-reveal,
body.mh-home-v2-page .mh-subscribed-basket .efb-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.efb-page .efb-main--ready .efb-reveal--in,
body.efb-page .efb-main.mh-main--ready .efb-reveal--in,
body.mh-home-v2-page main.mh-main--ready .efb-reveal--in {
    opacity: 1;
    transform: translateY(0);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile.efb-reveal {
    transition-delay: calc(var(--efb-i, 0) * 0.08s);
}

/* Hero — full-bleed photo like cart / orders */
body.efb-page .efb-page__hero,
body.efb-page .efb-hero {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

body.efb-page .efb-hero--photo {
    min-height: 13.5rem;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.efb-page .efb-hero--banner {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

body.efb-page .efb-hero--banner .efb-hero__photo {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    transform: none;
    transition: none;
}

body.efb-page .efb-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.04);
    transition: transform 8s ease;
}

body.efb-page .efb-main--ready .efb-hero__photo {
    transform: scale(1);
}

body.efb-page .efb-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.92) 100%),
        linear-gradient(120deg, rgba(6, 95, 70, 0.35) 0%, transparent 55%);
    pointer-events: none;
}

body.efb-page .efb-hero__content {
    position: relative;
    z-index: 1;
    padding: 1.15rem 1rem 1.25rem;
    color: #fff;
}

body.efb-page .efb-hero__hello {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
}

body.efb-page .efb-hero__title {
    margin: 0 0 0.45rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

body.efb-page .efb-hero__lead {
    margin: 0 0 0.85rem;
    max-width: 22rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

body.efb-page .efb-hero__steps {
    display: flex;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.efb-page .efb-hero__step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.efb-page .efb-hero__step--done {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(110, 231, 183, 0.45);
}

body.efb-page .efb-hero__step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
}

body.efb-page .efb-hero__step--done .efb-hero__step-num {
    background: #10b981;
    border-color: #34d399;
}

body.efb-page .efb-hero__step-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
}

/* List header */
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-list-head {
    padding: 0.85rem 1rem 0.65rem;
    background: #f8fafc;
    border-bottom: 2px solid #059669;
    text-align: center;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-list-head__title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-list-head__hint {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
}

/* Tile grid */
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 0.75rem 0.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile {
    --efb-accent: #059669;
    --efb-accent-dark: #047857;
    --efb-accent-soft: #ecfdf5;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px -14px rgba(15, 23, 42, 0.28);
    transition:
        transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile--farmfresh {
    --efb-accent: #d97706;
    --efb-accent-dark: #b45309;
    --efb-accent-soft: #fffbeb;
}

@media (hover: hover) and (pointer: fine) {
    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile:hover {
        transform: translateY(-2px);
        border-color: rgba(5, 150, 105, 0.35);
        box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.3);
    }

    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile--farmfresh:hover {
        border-color: rgba(217, 119, 6, 0.35);
    }

    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile:hover .efb-tile__action:not(.efb-tile__action--disabled) {
        background: #166534;
        border-color: #14532d;
        color: #fff;
        filter: brightness(1.03);
    }

    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile:hover .efb-tile__action-arrow,
    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile:hover .efb-tile__action .sub-start-cta__ico {
        transform: translateX(3px);
    }
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile--pressed {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.22);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile:focus-visible {
    outline: 3px solid var(--efb-accent);
    outline-offset: 2px;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile--subscribed {
    border-color: var(--efb-accent);
    box-shadow:
        0 0 0 1px var(--efb-accent),
        0 10px 28px -12px rgba(5, 150, 105, 0.35);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile--oos {
    opacity: 0.78;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.7rem;
    background: var(--efb-accent-soft);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge--subscribed {
    background: var(--efb-accent);
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge--oos {
    background: #fef2f2;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge--oos .efb-tile__badge-text {
    color: #b91c1c;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge-text {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--efb-accent-dark);
    text-align: center;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__badge--subscribed .efb-tile__badge-text {
    color: #fff;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__content {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    padding: 0.75rem 0.8rem 0.7rem;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__farmer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    height: 100%;
    text-align: center;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__farmer-photo-wrap {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--efb-accent);
    box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.35);
    background: #f1f5f9;
    flex-shrink: 0;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__farmer-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__farmer-name {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__farm-name {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.25;
    color: #64748b;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__basket {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: flex-start;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.55rem;
    width: 100%;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.02em;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__meta-line {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.35rem;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.3;
    color: #64748b;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__tier,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__offer {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: 0;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__meta-sep {
    color: #94a3b8;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__price-block {
    display: none;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__price {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1;
    color: var(--efb-accent-dark);
    letter-spacing: -0.02em;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__units {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
    color: #64748b;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__actions:not(:has(.efb-tile__subscribe)) .efb-tile__action {
    flex: 0 0 auto;
    width: 100%;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    min-height: 2.2rem;
    padding: 0.45rem 0.5rem;
    background: #fff;
    border: 2px solid var(--efb-accent);
    border-radius: 0;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: var(--efb-accent-dark);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__subscribe--active,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__subscribe[aria-pressed="true"] {
    background: var(--efb-accent);
    border-color: var(--efb-accent-dark);
    color: #fff;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__subscribe:disabled,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__subscribe--busy {
    opacity: 0.72;
    cursor: wait;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: var(--kf-portal-cta-min-h, 40px);
    padding: var(--kf-portal-cta-pad-y, 8px) var(--kf-portal-cta-pad-x, 14px);
    background: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.4);
    border-radius: 0;
    font: inherit;
    font-size: var(--kf-portal-cta-font, 0.82rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 4px 14px rgba(5, 150, 105, 0.22);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action.sub-start-cta {
    width: 100% !important;
    max-width: none !important;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action-label,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action .sub-start-cta__label {
    color: inherit;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action-arrow,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action .sub-start-cta__ico {
    font-size: 1.05em;
    color: inherit;
    transition: transform 0.2s ease;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action--disabled {
    cursor: not-allowed;
    opacity: 0.72;
    pointer-events: none;
    color: #64748b !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__unsubscribe {
    align-self: center;
    flex: 0 0 auto;
    padding: 0.1rem 0.25rem;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.5);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__unsubscribe:hover,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__unsubscribe:focus-visible {
    color: #b91c1c;
}

:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__unsubscribe:disabled,
:is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__unsubscribe--busy {
    opacity: 0.6;
    cursor: wait;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal[hidden] {
    display: none !important;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__panel {
    position: relative;
    z-index: 1;
    width: min(22rem, 100%);
    padding: 1.15rem 1.1rem 1rem;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__msg {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(15, 23, 42, 0.78);
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__actions {
    display: flex;
    gap: 0.55rem;
    justify-content: flex-end;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__btn {
    min-width: 4.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.55rem;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__btn--no {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #334155;
}

:is(body.efb-page, body.mh-home-v2-page) .mh-skip-week-modal__btn--yes {
    background: #166534;
    color: #fff;
}

:is(body.efb-page, body.mh-home-v2-page).mh-skip-week-modal-open {
    overflow: hidden;
}

body.mh-home-v2-page .mh-subscribed-basket {
    margin: 0.45rem 14px 0.65rem;
}

body.mh-home-v2-page .mh-subscribed-basket .efb-tile-grid,
body.efb-page .efb-page-wrap .efb-tile-grid {
    padding: 0;
    background: transparent;
    gap: 0.75rem;
}

body.efb-page .efb-page-wrap {
    margin: 0;
    padding: 0.45rem 14px 0.65rem;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

body.efb-page .efb-page-wrap .efb-list-head {
    margin: 0 0 0.55rem;
    padding: 0.4rem 0.7rem;
    background: #166534;
    border-bottom: none;
    text-align: center;
}

body.efb-page .efb-page-wrap .efb-list-head__title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail {
    border: 1px solid #166534;
    border-radius: 0;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -14px rgba(15, 23, 42, 0.22);
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail.efb-tile--subscribed {
    border-color: #ea580c;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__badge--subscribed {
    background: #ea580c;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__content {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.85rem;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__farmer {
    align-items: stretch;
    align-self: start;
    height: auto;
    min-height: 0;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__farmer-photo-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border-radius: 0;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail.efb-tile--subscribed .efb-tile__farmer-photo-wrap {
    border-color: #ea580c;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__farmer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__basket {
    gap: 0.28rem;
    justify-content: flex-start;
    height: 100%;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__title {
    font-size: 1rem;
    line-height: 1.25;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__detail {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 550;
    line-height: 1.35;
    color: #64748b;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__detail-k {
    font-weight: 750;
    color: #475569;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__detail-k::after {
    content: ' :';
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__actions {
    align-items: flex-start;
    padding-top: 0.55rem;
    width: auto;
    max-width: 100%;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action,
:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action.sub-start-cta,
:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action.mh-greet__harvest-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: auto !important;
    max-width: 100%;
    min-height: 2.15rem !important;
    margin: 0;
    padding: 0.45rem 0.95rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%) !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 750 !important;
    letter-spacing: -0.01em;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 6px 14px -8px rgba(22, 101, 52, 0.55) !important;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action .sub-start-cta__shine {
    display: none;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action .sub-start-cta__ico {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

:is(body.mh-home-v2-page .mh-subscribed-basket, body.efb-page .efb-page-wrap, body.of-page--detail .of-basket-list) .efb-tile--home-detail .efb-tile__action--disabled {
    background: #94a3b8 !important;
    box-shadow: none !important;
}

body.efb-page .efb-flash,
body.mh-home-v2-page .efb-flash {
    margin: 0.75rem 0.85rem 0;
}

@media (prefers-reduced-motion: reduce) {
    body.efb-page .efb-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body.efb-page .efb-hero__photo {
        transform: none;
        transition: none;
    }

    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile,
    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action,
    :is(body.efb-page, body.mh-home-v2-page, body.of-page--detail) .efb-tile__action-arrow {
        transition: none;
    }
}

/* —— Home: missing delivery map pin strip —— */
.mh-map-pin-strip {
    position: relative;
    z-index: 2;
    margin: 0.75rem 0.85rem 0.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.mh-map-pin-strip__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid #f87171;
    border-radius: 12px;
    background: #fee2e2;
    color: #b91c1c;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.mh-map-pin-strip__btn:hover,
.mh-map-pin-strip__btn:focus-visible {
    background: #fecaca;
    color: #991b1b;
    border-color: #ef4444;
}

.mh-map-pin-strip__btn:focus-visible {
    outline: 2px solid #fca5a5;
    outline-offset: 2px;
}

.mh-map-pin-strip__bar {
    display: none;
}

.mh-map-pin-strip__copy,
.mh-map-pin-strip__title,
.mh-map-pin-strip__sub,
.mh-map-pin-strip__cta {
    display: none;
}

.mh-map-pin-strip__panel {
    display: none;
    padding: 0.85rem;
    border-top: 1px solid rgba(248, 113, 113, 0.25);
}

.mh-map-pin-strip.is-open .mh-map-pin-strip__panel,
.mh-map-pin-strip__panel:not([hidden]) {
    display: block;
}

.mh-map-pin-strip__panel[hidden] {
    display: none !important;
}

.mh-map-pin-strip__form .kf-address-map {
    margin-top: 0.75rem;
}

.mh-map-pin-strip__form .kf-address-map__canvas {
    min-height: 220px;
    border-radius: 12px;
}

.mh-map-pin-strip__status {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    color: #166534;
}

.mh-map-pin-strip__status.is-error {
    color: #b91c1c;
}

.mh-map-pin-strip__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (max-width: 420px) {
    .mh-map-pin-strip {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
    }
}

/* —— Delivery pin page —— */
body.mh-delivery-pin-page {
    background: #f4f7f5;
}

body.mh-delivery-pin-page .cph-shell,
body.mh-delivery-pin-page main#cph-main {
    background: #f4f7f5;
}

.mdp-page {
    padding: 0 0 calc(7.5rem + env(safe-area-inset-bottom, 0px));
    max-width: 430px;
    margin: 0 auto;
}

.mdp-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem 0.85rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mdp-top__back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #166534;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.mdp-top__back:hover,
.mdp-top__back:focus-visible {
    background: #dcfce7;
    color: #14532d;
}

.mdp-top__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.mdp-top__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #14532d;
    line-height: 1.2;
}

.mdp-top__sub {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.mdp-flash {
    margin: 0.75rem 0.95rem 0;
}

.mdp-address {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label edit"
        "text text";
    gap: 0.2rem 0.75rem;
    align-items: start;
    margin: 0.85rem 0.95rem 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(22, 101, 52, 0.12);
    box-shadow: 0 6px 18px -14px rgba(15, 23, 42, 0.2);
}

.mdp-address__label {
    grid-area: label;
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #166534;
}

.mdp-address__edit {
    grid-area: edit;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1d7232;
    text-decoration: none;
    white-space: nowrap;
}

.mdp-address__edit:hover,
.mdp-address__edit:focus-visible {
    text-decoration: underline;
}

.mdp-address__text {
    grid-area: text;
    margin: 0.15rem 0 0;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.4;
    color: #1f2937;
}

.mdp-address__text--muted {
    font-weight: 600;
    color: #64748b;
}

.mdp-empty {
    margin: 1rem 0.95rem;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
}

.mdp-empty__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #14532d;
}

.mdp-empty__text {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.4;
}

.mdp-form {
    margin: 0;
}

.mdp-map-card {
    margin: 0 0.95rem;
    padding: 0.75rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.28);
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map {
    margin: 0;
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map__search-row {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    align-items: stretch;
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map__search {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8faf9;
    font-size: 0.9rem;
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map__locate {
    flex: 0 0 auto;
    margin: 0;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    border-radius: 12px !important;
    border: 1px solid rgba(22, 101, 52, 0.22) !important;
    background: #ecfdf5 !important;
    color: #166534 !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap;
    box-shadow: none !important;
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map__canvas {
    min-height: min(52vh, 360px);
    height: min(52vh, 360px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #e8efe9;
}

body.mh-delivery-pin-page .mdp-map-card .kf-address-map__hint {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    color: #64748b;
    text-align: center;
}

@media (max-width: 380px) {
    body.mh-delivery-pin-page .mdp-map-card .kf-address-map__search-row {
        flex-wrap: wrap;
    }

    body.mh-delivery-pin-page .mdp-map-card .kf-address-map__locate {
        flex: 1 1 100%;
    }
}

.mdp-status {
    margin: 0.65rem 0.95rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid rgba(22, 101, 52, 0.16);
    font-size: 0.84rem;
    font-weight: 650;
    color: #166534;
}

.mdp-status.is-error {
    background: #fef2f2;
    border-color: rgba(185, 28, 28, 0.18);
    color: #b91c1c;
}

.mdp-status[hidden] {
    display: none !important;
}

.mdp-dock,
.mdp-page__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--ca-lnav-dock, 74px) + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    gap: 0.55rem;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0.7rem 0.95rem;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

html.kf-android-webview .mdp-dock,
html.kf-android-webview .mdp-page__actions {
    bottom: var(--ca-lnav-dock, 66px);
    padding-bottom: 0.75rem;
}

.mdp-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 48px;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mdp-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mdp-btn--ghost {
    flex: 0 0 auto;
    min-width: 5.5rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #334155;
}

.mdp-btn--primary {
    border: 0;
    background: #1d7232;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(29, 114, 50, 0.55);
}

.mdp-btn--primary:hover,
.mdp-btn--primary:focus-visible {
    background: #166534;
}

.mdp-empty .mdp-btn {
    width: 100%;
}

/* Home Amazon-style promo cards — win over square-corner / full-bleed home overrides */
body.my-home-lively .mh-home-v2 .mh-carousel.mh-carousel--cards,
body.mh-page .mh-home-flow .mh-carousel.mh-carousel--cards {
    margin: 0 0 4px !important;
    padding: 8px 0 0 !important;
    width: 100% !important;
    max-width: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__mask,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__mask {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__track,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__track {
    display: flex !important;
    gap: 12px !important;
    padding: 2px 14px 0 !important;
    width: max-content !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__slide,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__slide {
    flex: 0 0 min(58vw, 240px) !important;
    width: min(58vw, 240px) !important;
    max-width: 240px !important;
    scroll-snap-align: center !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__link,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__link {
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid #166534 !important;
    background: #0b1710 !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -14px rgba(15, 23, 42, 0.35) !important;
    min-height: 0 !important;
    max-height: none !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__art,
body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__art img,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__art,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__art img {
    border-radius: 0 !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__art,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__art {
    aspect-ratio: 9 / 16 !important;
    min-height: 0 !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__art img,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__art img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__dots,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__dots {
    display: flex !important;
    margin: 0 !important;
    padding: 8px 12px 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__caption,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__caption {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 28px 12px 14px !important;
    color: #fff !important;
    background: linear-gradient(180deg, rgba(4, 12, 8, 0) 0%, rgba(4, 12, 8, 0.78) 55%, rgba(4, 12, 8, 0.92) 100%) !important;
    border-radius: 0 !important;
}

body.my-home-lively .mh-home-v2 .mh-carousel--cards .mh-carousel__dot,
body.mh-page .mh-home-flow .mh-carousel--cards .mh-carousel__dot {
    border-radius: 999px !important;
}

/* Hide legacy farm hero banner if any stale markup remains */
body.my-home-lively .mh-v2-farm-banner {
    display: none !important;
}

/* ── Create Your Weekly Box — home CTA + full-screen slide ── */

/* Inline welcome invite — replaces subscribed basket tile when none. */
body.mh-home-v2-page .mh-wbox-welcome {
    margin: 0.45rem 14px 0.75rem;
}

body.mh-home-v2-page .mh-wbox-welcome__card {
    --wbox-ink: #f7fef9;
    --wbox-ink-soft: rgba(240, 253, 244, 0.82);
    --wbox-lime: #d9f99d;
    --wbox-lime-deep: #bef264;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(21, 128, 61, 0.55);
    text-align: left;
    text-decoration: none;
    font: inherit;
    color: var(--wbox-ink);
    background:
        linear-gradient(165deg, #0f3d24 0%, #14532d 38%, #166534 72%, #15803d 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 18px 40px -18px rgba(4, 47, 24, 0.55);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.22s ease, transform 0.14s ease, box-shadow 0.22s ease;
}

body.mh-home-v2-page .mh-wbox-welcome__card:hover,
body.mh-home-v2-page .mh-wbox-welcome__card:focus-visible {
    filter: brightness(1.04);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 22px 44px -16px rgba(4, 47, 24, 0.6);
}

body.mh-home-v2-page .mh-wbox-welcome__card:active {
    transform: translateY(1px);
}

body.mh-home-v2-page .mh-wbox-welcome__card:focus-visible {
    outline: 2px solid var(--wbox-lime-deep);
    outline-offset: 2px;
}

body.mh-home-v2-page .mh-wbox-welcome__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.mh-home-v2-page .mh-wbox-welcome__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform;
}

body.mh-home-v2-page .mh-wbox-welcome__orb--a {
    top: -28%;
    right: -12%;
    width: 13rem;
    height: 13rem;
    background: radial-gradient(circle, rgba(190, 242, 100, 0.38) 0%, transparent 68%);
    animation: mh-wbox-orb 7.5s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__orb--b {
    bottom: -40%;
    left: -18%;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.22) 0%, transparent 70%);
    animation: mh-wbox-orb 9s ease-in-out infinite reverse;
}

body.mh-home-v2-page .mh-wbox-welcome__leaf {
    position: absolute;
    color: rgba(190, 242, 100, 0.16);
    pointer-events: none;
}

body.mh-home-v2-page .mh-wbox-welcome__leaf--1 {
    top: 0.55rem;
    right: 0.85rem;
    width: 3.4rem;
    height: 3.4rem;
    transform: rotate(18deg);
    animation: mh-wbox-leaf 6.5s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__leaf--2 {
    bottom: 1.1rem;
    right: 28%;
    width: 2.2rem;
    height: 2.2rem;
    color: rgba(236, 252, 203, 0.12);
    transform: rotate(-28deg);
    animation: mh-wbox-leaf-alt 8s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__media {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 7.25rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(236, 252, 203, 0.12);
}

body.mh-home-v2-page .mh-wbox-welcome__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 61, 36, 0.72) 100%);
    pointer-events: none;
}

body.mh-home-v2-page .mh-wbox-welcome__media-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 0.55s ease;
}

body.mh-home-v2-page .mh-wbox-welcome__card:hover .mh-wbox-welcome__media-img,
body.mh-home-v2-page .mh-wbox-welcome__card:focus-visible .mh-wbox-welcome__media-img {
    transform: scale(1.08);
}

body.mh-home-v2-page .mh-wbox-welcome__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.72rem;
    padding: 1.2rem 1.15rem 1.25rem;
}

body.mh-home-v2-page .mh-wbox-welcome__kicker {
    display: block;
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--wbox-ink-soft);
}

body.mh-home-v2-page .mh-wbox-welcome__name {
    font-weight: 800;
    color: var(--wbox-lime);
}

body.mh-home-v2-page .mh-wbox-welcome__title {
    display: block;
    max-width: 18.5rem;
    font-size: clamp(1.28rem, 5.4vw, 1.58rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

body.mh-home-v2-page .mh-wbox-welcome__title-sub {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(0.92rem, 3.6vw, 1.05rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--wbox-lime);
}

body.mh-home-v2-page .mh-wbox-welcome__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    margin-top: 0.1rem;
    padding: 0.55rem 0.75rem 0.55rem 0.65rem;
    border: 1px solid rgba(236, 252, 203, 0.22);
    background: rgba(15, 61, 36, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.mh-home-v2-page .mh-wbox-welcome__chip-ico {
    flex: 0 0 auto;
    color: var(--wbox-lime-deep);
    opacity: 0.95;
}

body.mh-home-v2-page .mh-wbox-welcome__chip-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

body.mh-home-v2-page .mh-wbox-welcome__chip-lab {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(240, 253, 244, 0.7);
}

body.mh-home-v2-page .mh-wbox-welcome__chip-date {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--wbox-lime);
}

body.mh-home-v2-page .mh-wbox-welcome__cta {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    padding: 0.72rem 1.05rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #14532d;
    background: linear-gradient(145deg, #f7fee7 0%, #d9f99d 48%, #bef264 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 8px 18px rgba(4, 47, 24, 0.32);
}

body.mh-home-v2-page .mh-wbox-welcome__cta-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 38%;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    animation: mh-wbox-shine 4.6s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__cta-ico {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

body.mh-home-v2-page .mh-wbox-welcome__card:hover .mh-wbox-welcome__cta-ico,
body.mh-home-v2-page .mh-wbox-welcome__card:focus-visible .mh-wbox-welcome__cta-ico {
    transform: translateX(3px);
}

@keyframes mh-wbox-orb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-6%, 5%, 0) scale(1.08); }
}

@keyframes mh-wbox-leaf {
    0%, 100% { transform: rotate(18deg) translateY(0); }
    50% { transform: rotate(26deg) translateY(4px); }
}

@keyframes mh-wbox-leaf-alt {
    0%, 100% { transform: rotate(-28deg) translateY(0); }
    50% { transform: rotate(-18deg) translateY(-3px); }
}


body.mh-home-v2-page .mh-wbox-cta {
    margin: 0.35rem 14px 0.7rem;
}

body.mh-home-v2-page .mh-wbox-cta__btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1.1rem;
    border: 0;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(145deg, #1f7a4f 0%, #166534 100%);
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.26);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.2s ease, transform 0.12s ease;
}

body.mh-home-v2-page .mh-wbox-cta__btn:hover,
body.mh-home-v2-page .mh-wbox-cta__btn:focus-visible {
    filter: brightness(1.06);
}

body.mh-home-v2-page .mh-wbox-cta__btn:active {
    transform: translateY(1px);
}

body.mh-home-v2-page .mh-wbox-cta__btn:focus-visible {
    outline: 2px solid #14532d;
    outline-offset: 2px;
}

body.mh-home-v2-page .mh-wbox-cta__ico {
    flex: 0 0 auto;
}

body.mh-home-v2-page .mh-wbox-cta__shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 35%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: mh-wbox-shine 4.6s ease-in-out infinite;
}

@keyframes mh-wbox-shine {
    0%, 62% { left: -40%; }
    88%, 100% { left: 120%; }
}

/* Weekly box empty-state hero — full image, no crop */
body.mh-home-v2-page .mh-wbox-welcome--hero {
    margin: 0.45rem 14px 0.75rem;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 14px 32px -16px rgba(4, 47, 24, 0.35);
}

body.mh-home-v2-page .mh-wbox-welcome__hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    vertical-align: top;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-actions {
    position: relative;
    padding: 1rem 1rem 1.15rem;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(240, 253, 244, 0.92) 28%, #ecfdf5 100%);
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin: 0;
    padding: 1.02rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: clamp(1rem, 4.2vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.015em;
    color: #fff;
    background:
        linear-gradient(145deg, #15803d 0%, #166534 42%, #14532d 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 10px 22px -8px rgba(4, 47, 24, 0.55),
        0 0 0 1px rgba(21, 128, 61, 0.35);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.2s ease;
    animation: mh-wbox-hero-btn-pulse 2.8s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 38%;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    animation: mh-wbox-shine 4.2s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn-label {
    position: relative;
    z-index: 1;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn-ico {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    transition: transform 0.22s ease;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn:hover,
body.mh-home-v2-page .mh-wbox-welcome__hero-btn:focus-visible {
    filter: brightness(1.06);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 14px 28px -8px rgba(4, 47, 24, 0.62),
        0 0 0 1px rgba(190, 242, 100, 0.45);
    transform: translateY(-1px);
    animation: none;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn:hover .mh-wbox-welcome__hero-btn-ico,
body.mh-home-v2-page .mh-wbox-welcome__hero-btn:focus-visible .mh-wbox-welcome__hero-btn-ico {
    transform: translateX(4px);
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn:active {
    transform: translateY(1px);
    animation: none;
}

body.mh-home-v2-page .mh-wbox-welcome__hero-btn:focus-visible {
    outline: 2px solid #bef264;
    outline-offset: 3px;
}

@keyframes mh-wbox-hero-btn-pulse {
    0%, 100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.22) inset,
            0 10px 22px -8px rgba(4, 47, 24, 0.55),
            0 0 0 1px rgba(21, 128, 61, 0.35);
    }
    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.22) inset,
            0 12px 26px -6px rgba(4, 47, 24, 0.62),
            0 0 0 3px rgba(190, 242, 100, 0.28);
    }
}

body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-actions {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(255, 251, 235, 0.94) 28%, #fffbeb 100%);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-btn {
    color: #7c2d12;
    background:
        linear-gradient(145deg, #fdba74 0%, #fb923c 46%, #f97316 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.42) inset,
        0 10px 22px -8px rgba(194, 65, 12, 0.45),
        0 0 0 1px rgba(234, 88, 12, 0.35);
    animation: mh-wbox-hero-btn-pulse-warm 2.8s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-btn:hover,
body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-btn:focus-visible {
    color: #7c2d12;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.48) inset,
        0 14px 28px -8px rgba(194, 65, 12, 0.52),
        0 0 0 1px rgba(253, 186, 116, 0.55);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-btn:focus-visible {
    outline-color: #fb923c;
}

@keyframes mh-wbox-hero-btn-pulse-warm {
    0%, 100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.42) inset,
            0 10px 22px -8px rgba(194, 65, 12, 0.45),
            0 0 0 1px rgba(234, 88, 12, 0.35);
    }
    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.42) inset,
            0 12px 26px -6px rgba(194, 65, 12, 0.52),
            0 0 0 3px rgba(253, 186, 116, 0.32);
    }
}

/* Subscribed basket hero — overlay on image */
body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__hero-media-wrap {
    position: relative;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-overlay {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    padding: 0.72rem 0.75rem 0.78rem;
    border: 1px solid rgba(190, 242, 100, 0.45);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(15, 61, 36, 0.88) 0%, rgba(20, 83, 45, 0.84) 55%, rgba(22, 101, 52, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 12px 32px -14px rgba(4, 47, 24, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.45rem;
    margin-bottom: 0.55rem;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #14532d;
    background: linear-gradient(145deg, #ecfccb 0%, #d9f99d 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-pill-ico {
    flex: 0 0 auto;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-delivery {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.22rem 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ecfdf5;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-delivery-ico {
    flex: 0 0 auto;
    opacity: 0.9;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-delivery-lab {
    opacity: 0.82;
    font-weight: 600;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-delivery-date {
    font-weight: 800;
    color: #d9f99d;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-basket {
    margin: 0 0 0.58rem;
    font-size: clamp(0.98rem, 4.2vw, 1.12rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
    width: 100%;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.28rem;
    min-width: 0;
    width: 100%;
    padding: 0.42rem 0.28rem 0.38rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat--price {
    background: rgba(217, 249, 157, 0.14);
    border-color: rgba(217, 249, 157, 0.28);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-ico {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 8px;
    color: #d9f99d;
    background: rgba(255, 255, 255, 0.14);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat--price .mh-wbox-welcome__sub-stat-ico {
    font-weight: 800;
    color: #d9f99d;
    background: rgba(217, 249, 157, 0.18);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06rem;
    min-width: 0;
    width: 100%;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-k {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(236, 253, 245, 0.72);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-v {
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat--price .mh-wbox-welcome__sub-stat-v {
    color: #ecfccb;
}

@media (max-width: 480px) {
    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-overlay {
        left: 0.45rem;
        right: 0.45rem;
        padding: 0.62rem 0.55rem 0.68rem;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.24rem;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat {
        padding: 0.34rem 0.18rem 0.32rem;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-ico {
        width: 1.2rem;
        height: 1.2rem;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-k {
        font-size: 0.52rem;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__sub-stat-v {
        font-size: 0.58rem;
    }
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__hero-actions {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(236, 253, 245, 0.94) 28%, #ecfdf5 100%);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-subscribed .mh-wbox-welcome__hero-btn--disabled {
    opacity: 0.72;
    pointer-events: none;
    animation: none;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-skipped .mh-wbox-welcome__hero-media-wrap {
    position: relative;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-skipped .mh-wbox-welcome__hero-actions {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(254, 243, 199, 0.94) 28%, #fffbeb 100%);
}

body.mh-home-v2-page .mh-wbox-welcome--hero-skipped .mh-wbox-welcome__hero-btn--unskip {
    color: #fff;
    background:
        linear-gradient(145deg, #15803d 0%, #166534 42%, #14532d 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 10px 22px -8px rgba(4, 47, 24, 0.55),
        0 0 0 1px rgba(21, 128, 61, 0.35);
    animation: mh-wbox-hero-btn-pulse 2.8s ease-in-out infinite;
}

body.mh-home-v2-page .mh-wbox-welcome--hero-skipped .mh-wbox-welcome__hero-btn--unskip:hover,
body.mh-home-v2-page .mh-wbox-welcome--hero-skipped .mh-wbox-welcome__hero-btn--unskip:focus-visible {
    color: #fff;
}


@media (prefers-reduced-motion: reduce) {
    body.mh-home-v2-page .mh-wbox-cta__shine,
    body.mh-home-v2-page .mh-wbox-welcome__cta-shine,
    body.mh-home-v2-page .mh-wbox-welcome__hero-btn-shine {
        animation: none;
        display: none;
    }

    body.mh-home-v2-page .mh-wbox-welcome__hero-btn {
        animation: none;
    }

    body.mh-home-v2-page .mh-wbox-welcome--hero-has-items .mh-wbox-welcome__hero-btn {
        animation: none;
    }

    body.mh-home-v2-page .mh-wbox-welcome__orb,
    body.mh-home-v2-page .mh-wbox-welcome__leaf {
        animation: none;
    }

    body.mh-home-v2-page .mh-wbox-welcome__media-img {
        transition: none;
    }
}

/* ── Create-box chooser (/create-box) ── */
body.cwb-page .cwb-main {
    padding: 12px 16px 28px;
    max-width: 560px;
    margin: 0 auto;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-chooser__head {
    margin: 0 0 16px;
    padding: 12px 14px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.72) 100%);
    border: 1px solid rgba(21, 128, 61, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-chooser__title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #14532d;
    text-align: center;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-chooser__sub {
    margin: 5px 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 600;
    color: #3f6212;
    text-align: center;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-chooser__options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__img {
    object-position: center top;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice__body {
    gap: 5px;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice__cta {
    margin-top: 6px;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-baskets {
    margin-top: 16px;
    padding-top: 0;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-baskets__title {
    margin: 0 0 16px;
    padding: 10px 12px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #92400e;
    background:
        linear-gradient(180deg, rgba(254, 243, 199, 0.95) 0%, rgba(253, 230, 138, 0.72) 100%);
    border: 1px solid rgba(180, 83, 9, 0.28);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-baskets__list {
    gap: 12px;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 235, 0.94) 100%);
    border-color: rgba(180, 83, 9, 0.22);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__media {
    background: #fef3c7;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice[data-cwb-choice="farm-fresh"] .cwb-choice__eyebrow {
    text-transform: none !important;
    letter-spacing: 0;
    font-size: 0.66rem;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__eyebrow {
    color: #b45309;
    text-transform: none !important;
    letter-spacing: 0;
    font-size: 0.66rem;
    line-height: 1.3;
    font-weight: 700;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__hint {
    color: #92400e;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__cta {
    background: linear-gradient(145deg, #d97706 0%, #b45309 55%, #92400e 100%);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--subscribed {
    border-color: rgba(21, 128, 61, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 0 0 1px rgba(21, 128, 61, 0.18),
        0 12px 26px -14px rgba(20, 83, 45, 0.38);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--subscribed .cwb-choice__eyebrow {
    color: #15803d;
    text-transform: none !important;
    letter-spacing: 0;
    font-size: 0.66rem;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--subscribed .cwb-choice__cta {
    background: linear-gradient(145deg, #15803d 0%, #166534 55%, #14532d 100%);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--oos {
    opacity: 0.72;
    pointer-events: none;
    filter: grayscale(0.15);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--oos .cwb-choice__cta {
    background: #94a3b8;
    box-shadow: none;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__label {
    font-size: 0.98rem;
}

@media (min-width: 480px) {
    :is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket .cwb-choice__label {
        font-size: 1.08rem;
    }
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice,
:is(body.cwb-page, .mh-home-cwb) .cwb-choice__cta,
:is(body.cwb-page, .mh-home-cwb) .cwb-choice__chip,
:is(body.cwb-page, .mh-home-cwb) .cwb-choice__media,
:is(body.cwb-page, .mh-home-cwb) .cwb-choice__img {
    border-radius: 0;
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice__chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #78350f;
    background: rgba(253, 230, 138, 0.75);
    border: 1px solid rgba(180, 83, 9, 0.18);
}

:is(body.cwb-page, .mh-home-cwb) .cwb-choice__chip--price {
    color: #14532d;
    background: rgba(187, 247, 208, 0.7);
    border-color: rgba(21, 128, 61, 0.2);
}

@media (hover: hover) and (pointer: fine) {
    :is(body.cwb-page, .mh-home-cwb) .cwb-choice--basket:hover {
        border-color: rgba(180, 83, 9, 0.45);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.8) inset,
            0 16px 32px -16px rgba(146, 64, 14, 0.35);
    }
}

.cwb-choice {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 244, 0.92) 100%);
    border: 1px solid rgba(21, 128, 61, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 10px 24px -14px rgba(20, 83, 45, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cwb-choice:active {
    transform: scale(0.985);
}

.cwb-choice:focus-visible {
    outline: 2px solid #15803d;
    outline-offset: 3px;
}

.cwb-choice__media {
    position: relative;
    min-height: 132px;
    background: #dcfce7;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.cwb-choice__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cwb-choice__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 14px 14px 12px;
    min-width: 0;
}

.cwb-choice__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #65a30d;
}

.cwb-choice--kaur .cwb-choice__eyebrow {
    color: #b45309;
}

.cwb-choice__label {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #14532d;
}

.cwb-choice__hint {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #4d7c0f;
}

.cwb-choice__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #15803d 0%, #166534 55%, #14532d 100%);
    box-shadow: 0 6px 14px -8px rgba(4, 47, 24, 0.55);
}

.cwb-choice--kaur .cwb-choice__cta {
    background: linear-gradient(145deg, #d97706 0%, #b45309 55%, #92400e 100%);
}

@media (min-width: 480px) {
    .cwb-choice {
        grid-template-columns: 140px 1fr;
    }

    .cwb-choice__media {
        min-height: 148px;
    }

    .cwb-choice__body {
        padding: 16px 18px 16px 16px;
    }

    .cwb-choice__label {
        font-size: 1.15rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .cwb-choice:hover {
        border-color: rgba(21, 128, 61, 0.42);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.75) inset,
            0 16px 32px -16px rgba(20, 83, 45, 0.42);
        transform: translateY(-1px);
    }
}

/* Home: create-box chooser — same edge inset as weekly-box hero banner */
.mh-home-cwb.cwb-chooser {
    margin: 0.45rem 14px 0.75rem;
    box-sizing: border-box;
}
.mh-home-cwb .cwb-chooser__head {
    border-radius: 0;
}
