/**
 * Shop (/shop) — quick-commerce product list (Zepto / Blinkit lane).
 * Scoped to main.shop-other-page. Portal header + tab bar are untouched.
 */

:root {
    --kf-app-gutter: 5px;
    /* Typography: App Look via portal-chrome.css */
}

main.shop-other-page {
    --shop-ink: #0c1222;
    --shop-muted: #64748b;
    --shop-line: rgba(226, 218, 208, 0.95);
    --shop-line-soft: rgba(15, 23, 42, 0.06);
    --shop-card: #ffffff;
    --shop-radius: 16px;
    --shop-radius-sm: 12px;
    --shop-shadow: 0 2px 10px rgba(15, 23, 42, 0.045);
    --shop-shadow-card: 0 4px 18px rgba(15, 23, 42, 0.07);
    --shop-accent: #166534;
    --shop-accent-soft: #ecfdf5;
    display: flex;
    flex-direction: column;
    gap: var(--kf-app-gutter, 5px);
    min-width: 0;
}

/* ── Page hero (in-main only; not the portal header) ── */
.shop-page-hero {
    margin: 0;
    padding: var(--kf-app-gutter);
}

.shop-page-hero__eyebrow {
    margin: 0;
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--shop-muted);
    line-height: 1.3;
}

.shop-page-hero__title {
    margin: 6px 0 0;
    color: var(--shop-ink);
}

.shop-page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(236, 253, 245, 0.85);
    border: 1px solid rgba(167, 243, 208, 0.65);
    box-shadow: var(--shop-shadow);
}

.shop-page-hero__meta--muted {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(226, 232, 240, 0.95);
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    color: var(--shop-muted);
    letter-spacing: -0.015em;
    line-height: 1.4;
}

.shop-page-hero__meta-label {
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #065f46;
}

.shop-page-hero__meta-value {
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    letter-spacing: -0.022em;
    color: var(--shop-ink);
}

/* ── Alerts & strips ── */
main.shop-other-page .bh-flash {
    margin: 0;
    padding: 11px 14px;
    border-radius: var(--shop-radius-sm);
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
}

main.shop-other-page .bh-order-strip.bh-order-strip--action {
    width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 12px 14px;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    letter-spacing: -0.015em;
    border-radius: 14px;
    border: 1px solid rgba(167, 243, 208, 0.75);
    background: #ecfdf5;
    color: #14532d;
    box-shadow: var(--shop-shadow-card);
}

main.shop-other-page .bh-order-strip--action:active {
    transform: scale(0.992);
}

main.shop-other-page .bh-ok:empty,
main.shop-other-page .bh-err:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    min-height: 0;
    height: 0;
    overflow: hidden;
}

main.shop-other-page .bh-err:not(:empty) {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

main.shop-other-page .bh-ok:not(:empty) {
    margin: 0;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: var(--kf-app-fs-body);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: #14532d;
    background: #ecfdf5;
    border: 1px solid rgba(167, 243, 208, 0.9);
    box-shadow: var(--shop-shadow);
}

/* ── Grid: breathable list, not one big tray ── */
main.shop-other-page .bh-chip,
main.shop-other-page .bh-grid,
main.shop-other-page .bh-empty {
    border-radius: var(--shop-radius);
}

main.shop-other-page .bh-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 2px;
    border: none;
    background: transparent;
    box-shadow: none;
}

main.shop-other-page.shop-page-hub .bh-grid {
    gap: var(--kf-app-gutter);
    padding: 0;
}

main.shop-other-page .bh-empty {
    margin: 0;
    padding: 36px 18px;
    text-align: center;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.55;
    color: var(--shop-muted);
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: rgba(248, 250, 252, 0.9);
    box-shadow: var(--shop-shadow);
}

/* Legacy chip slot (if injected) */
main.shop-other-page .bh-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    border: 1px solid var(--shop-line-soft);
    background: var(--shop-card);
    box-shadow: var(--shop-shadow);
}

/**
 * Shop hub (/shop): product lines use shared `customer-basket-home.css` (veggies-basket style).
 * Tile-only overrides live under `.shop-page-tiles` below.
 */

body.mh-page main.shop-page-hub .shop-hub-delivery__text {
    margin: 0 auto;
    max-width: 22rem;
    font-family: var(--kf-app-font-family, inherit);
    font-size: calc(var(--kf-app-fs-small) * 1.05);
    font-weight: 600;
    line-height: 1.45;
    color: var(--mh-muted, #64748b);
    text-align: center;
}

body.mh-page main.shop-page-hub .shop-hub-delivery__text strong {
    font-weight: 800;
    color: var(--mh-ink, #0c1222);
}

body.mh-page main.shop-page-hub .mh-home-basket-module .bh-flash.bh-flash--ok {
    margin: 0 0 var(--kf-app-gutter, 5px);
    border-radius: var(--bh-radius-md);
}

/* Veggies Mini/Midi promo rows — link to /veggies-basket?pack=… (no +/- stepper) */
main.shop-other-page .bh-card.shop-card--veggies-promo .shop-promo-customize {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: 5px 10px;
    font-size: calc(var(--kf-app-fs-small) * 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background: #15803d;
    border-radius: 0;
    border: 1px solid rgba(21, 128, 61, 0.35);
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.2);
    -webkit-tap-highlight-color: transparent;
}

main.shop-other-page .bh-card.shop-card--veggies-promo .shop-promo-customize:active {
    filter: brightness(0.96);
    transform: scale(0.98);
}

main.shop-other-page .bh-card.shop-card--veggies-promo .shop-promo-customize--disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ── Ordered-items modal (sheet-style) ── */
.shop-items-modal[hidden] {
    display: none;
}

.shop-items-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
}

.shop-items-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shop-items-modal__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    max-width: min(100vw, var(--bh-layout-max, 420px));
    margin: 0 auto;
    max-height: min(78vh, 520px);
    overflow: auto;
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: none;
    background: #ffffff;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.18);
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 480px) {
    .shop-items-modal__panel {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 18px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        max-height: 76vh;
        width: min(92vw, 400px);
        padding: 16px 16px 14px;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    }
}

.shop-items-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 4px;
}

.shop-items-modal__title {
    margin: 0;
    font-size: var(--kf-app-fs-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #14532d;
}

.shop-items-modal__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.95);
    color: #475569;
    font-size: var(--kf-app-fs-heading);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.shop-items-modal__close:active {
    transform: scale(0.95);
}

.shop-items-modal__sub {
    margin: 6px 0 12px;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    line-height: 1.45;
    color: var(--shop-muted);
}

.shop-items-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.shop-items-modal__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    background: #ffffff;
    padding: 11px 12px;
    box-shadow: var(--shop-shadow);
}

.shop-items-modal__item-name {
    font-size: var(--kf-app-fs-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--shop-ink);
}

.shop-items-modal__item-meta {
    font-size: var(--kf-app-fs-small);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #1d4ed8;
    white-space: nowrap;
}

.shop-items-modal__empty {
    margin: 0;
    font-size: var(--kf-app-fs-body);
    font-weight: 600;
    color: var(--shop-muted);
}

body.shop-items-modal-open {
    overflow: hidden;
}

/* ── Order Now (shop hub) — button only, no nested pay bar ── */
main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-order__status {
    margin: 12px 12px 0;
    text-align: center;
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-order__status[hidden] {
    display: none !important;
    margin: 0;
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-order__status--plain {
    padding: 0 12px;
    font-size: var(--kf-app-fs-small);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.45;
    color: var(--shop-muted);
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-order__status--total {
    padding: 0 10px;
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    max-width: 22rem;
    padding: 14px 18px 12px;
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 8px 24px rgba(22, 101, 52, 0.1);
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-total__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-total__amount {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: #14532d;
    background: #14532d;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not (background-clip: text) {
    main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-total__amount {
        color: #15803d;
        background: none;
    }
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-total__meta {
    margin: 4px 0 0;
    max-width: 18rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--shop-muted, #64748b);
}

main.shop-other-page .mh-basket-hub__zone--basket .shop-hub-order__btn {
    display: flex;
    width: calc(100% - 24px);
    max-width: 22rem;
    margin: 30px auto 14px;
    box-sizing: border-box;
}

body.bh-page.with-login-bottom-nav .bh-shell:has(main.shop-other-page) {
    padding-bottom: calc(var(--ca-lnav-dock, 74px) + var(--safe-b) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    main.shop-other-page .bh-card,
    main.shop-other-page .bh-order-strip--action,
    main.shop-other-page .bh-stepper__btn {
        transition: none;
    }

    main.shop-other-page .bh-card:active {
        transform: none;
    }
}

/* =============================================================================
   Shop tile layout — matches My Basket: 3-up grid, vertical cards, App Look.
   main.shop-other-page.shop-page-tiles
   ============================================================================= */

main.shop-other-page.shop-page-tiles {
    font-family: var(--kf-app-font-family);
    font-size: var(--kf-app-fs-body);
}

main.shop-other-page.shop-page-tiles .shop-page-heading {
    margin: 0;
    padding: 10px var(--kf-app-gutter, 5px) 10px;
    text-align: center;
    font-family: inherit;
    font-size: clamp(var(--kf-app-fs-heading), 3.8vw, calc(var(--kf-app-fs-heading) * 1.22));
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--shop-ink);
}

main.shop-other-page.shop-page-tiles .shop-page-hero__eyebrow {
    color: var(--kf-cta-ink, #3f2d22);
    opacity: 0.85;
}

main.shop-other-page.shop-page-tiles .shop-page-hero__meta {
    background: var(--kf-cta-from);
    border: 1px solid color-mix(in srgb, var(--kf-cta-mid) 55%, rgba(15, 23, 42, 0.12));
    color: var(--kf-cta-ink, #3f2d22);
}

main.shop-other-page.shop-page-tiles .shop-page-hero__meta-label {
    color: var(--kf-cta-ink, #3f2d22);
    opacity: 0.88;
}

main.shop-other-page.shop-page-tiles .shop-page-hero__meta-value {
    color: var(--kf-cta-ink, #3f2d22);
}

main.shop-other-page.shop-page-tiles .shop-page-hero__meta--muted {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(226, 232, 240, 0.95);
    color: var(--shop-muted);
}

main.shop-other-page.shop-page-tiles .bh-order-strip--action {
    color: var(--kf-cta-ink, #3f2d22);
    background: var(--kf-cta-from);
    border: 1px solid color-mix(in srgb, var(--kf-cta-mid) 50%, rgba(15, 23, 42, 0.15));
    box-shadow: var(--shop-shadow-card);
}

/* Product grid — auto columns so tiles stay wide enough (avoids 3 cramped columns on phones) */
main.shop-other-page.shop-page-tiles .bh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr));
    gap: 10px;
    margin: 4px 0 0;
    padding: 2px;
    align-items: stretch;
}

main.shop-other-page.shop-page-tiles .bh-grid > *:only-child {
    grid-column: 1 / -1;
    max-width: min(200px, 100%);
    justify-self: center;
}

main.shop-other-page.shop-page-tiles .bh-grid > * {
    min-height: 0;
    align-self: stretch;
    height: auto;
}

/* Vertical tile card — clip to radius; content laid out in column inside body */
main.shop-other-page.shop-page-tiles .bh-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    align-self: stretch;
    overflow: hidden;
    border-radius: var(--shop-radius);
}

main.shop-other-page.shop-page-tiles .bh-card__media {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    flex: 0 0 auto;
    align-self: stretch;
    overflow: hidden;
    border-radius: var(--shop-radius) var(--shop-radius) 0 0;
}

main.shop-other-page.shop-page-tiles .bh-card__media img {
    object-fit: cover;
}

main.shop-other-page.shop-page-tiles .bh-card__body {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow: hidden;
}

/* Title: must stay inside card; break long tokens e.g. "(~1Kg)" */
main.shop-other-page.shop-page-tiles .bh-card__name {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: var(--kf-app-fs-body);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.45;
    color: var(--shop-ink);
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    text-decoration: none;
}

main.shop-other-page.shop-page-tiles a.bh-card__name:hover,
main.shop-other-page.shop-page-tiles a.bh-card__name:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

main.shop-other-page.shop-page-tiles .shop-card-price {
    margin: 0;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    font-size: var(--kf-app-fs-small);
    font-weight: 700;
    color: var(--kf-cta-ink, #3f2d22);
    background: var(--kf-cta-from);
    border: 1px solid color-mix(in srgb, var(--kf-cta-mid) 65%, rgba(15, 23, 42, 0.12));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

/* Stepper on its own row — centered, never spills into sibling cards */
main.shop-other-page.shop-page-tiles .bh-stepper {
    margin: 0;
    align-self: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 4px;
    gap: 4px;
}

main.shop-other-page.shop-page-tiles .bh-stepper__btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
    font-size: var(--kf-app-fs-body);
}

main.shop-other-page.shop-page-tiles .bh-stepper__qty {
    min-width: 22px;
    flex-shrink: 0;
    font-size: var(--kf-app-fs-small);
}

@media (hover: hover) {
    main.shop-other-page.shop-page-tiles .bh-card:hover {
        box-shadow:
            0 8px 28px rgba(15, 23, 42, 0.09),
            0 0 0 1px color-mix(in srgb, var(--kf-cta-mid) 35%, transparent);
    }
}

@supports not (color: color-mix(in srgb, red, blue)) {
    main.shop-other-page.shop-page-tiles .shop-page-hero__meta {
        background: rgba(242, 216, 196, 0.55);
        border: 1px solid rgba(222, 185, 154, 0.75);
    }

    main.shop-other-page.shop-page-tiles .bh-order-strip--action {
        border: 1px solid rgba(180, 120, 90, 0.45);
    }

    main.shop-other-page.shop-page-tiles .shop-card-price {
        border: 1px solid rgba(222, 185, 154, 0.85);
    }

    main.shop-other-page.shop-page-tiles .bh-card:hover {
        box-shadow:
            0 8px 28px rgba(15, 23, 42, 0.09),
            0 0 0 1px rgba(232, 201, 174, 0.45);
    }
}

/* ── Shop unified (/shop) — flat full-width flow, same chrome pattern as my-about ── */
body.shop-page-unified.shop-page:has(#cph-main[data-kf-nav='shop']) {
    --kf-page-bg: var(--kf-nature-page, #f7faf8);
    --kf-earth-green: var(--kf-nature-surface, #f8fcfa);
    background: var(--kf-nature-page-bg, #f8fcfa);
}

body.shop-page-unified.bh-page.with-login-bottom-nav header.kph {
    margin-bottom: 0;
    box-shadow: none;
}

body.shop-page-unified.bh-page.with-login-bottom-nav .kph-hero {
    border-bottom: none;
    box-shadow: none;
    background: #ffffff;
}

body.shop-page-unified.mh-page main#cph-main.cph-main.shop-main[data-kf-nav='shop'] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-block: 0;
    min-width: 0;
    background: transparent;
}

body.shop-page-unified.mh-page main#cph-main.shop-main[data-kf-nav='shop'] > .mh-basket-hub.shop-page,
body.shop-page-unified.bh-page:not(.bh-page--embed) main#cph-main.cph-main > section.mh-basket-hub.shop-page {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

body.shop-page-unified .shop-page__body,
body.shop-page-unified .mh-basket-hub__zone--basket.shop-page__body {
    padding: 0 0 calc(22px + env(safe-area-inset-bottom, 0px));
    background: transparent;
}

body.shop-page-unified .mh-basket-hub__chrome,
body.shop-page-unified .mh-basket-hub__divider,
body.shop-page-unified .mh-basket-hub__grab,
body.shop-page-unified .mh-basket-hub__zone--toolbar {
    display: none !important;
}

body.shop-page-unified .shop-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
}

body.shop-page-unified .shop-page__hero,
body.shop-page-unified .shop-flash-band,
body.shop-page-unified .shop-products-band,
body.shop-page-unified .shop-checkout-band {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body.shop-page-unified .shop-page-hero,
    body.shop-page-unified .shop-products-band,
    body.shop-page-unified .shop-checkout-band {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

/* Hero band */
body.shop-page-unified .shop-page-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: var(--kf-portal-hero-pad-y, 12px) var(--kf-portal-hero-pad-x, 16px);
    text-align: center;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(167, 243, 208, 0.55);
    background: var(--kf-nature-hero-bg, #f8fcfa);
    box-shadow: none;
}

body.shop-page-unified .shop-page-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.shop-page-unified .shop-page-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.75;
}

body.shop-page-unified .shop-page-hero__blob--a {
    width: 120px;
    height: 120px;
    top: -28px;
    left: -20px;
    background: rgba(74, 222, 128, 0.55);
}

body.shop-page-unified .shop-page-hero__blob--b {
    width: 100px;
    height: 100px;
    top: -10px;
    right: -16px;
    background: rgba(251, 191, 36, 0.5);
}

body.shop-page-unified .shop-page-hero__blob--c {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: 42%;
    background: rgba(56, 189, 248, 0.45);
}

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

    body.shop-page-unified .shop-page-hero__blob--b {
        animation: shop-page-blob-drift 8s ease-in-out infinite 0.8s;
    }

    body.shop-page-unified .shop-page-hero__blob--c {
        animation: shop-page-blob-drift 6.5s ease-in-out infinite 1.4s;
    }
}

@keyframes shop-page-blob-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(8px, 6px) scale(1.08);
    }
}

body.shop-page-unified .shop-page-hero__eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin: 0 auto 10px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #166534;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 222, 128, 0.45);
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.12);
}

body.shop-page-unified .shop-page-hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #0c1222;
    background: #14532d;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.shop-page-unified .shop-page-hero__title {
        color: #14532d;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

/* Flash + product list — flat rows */
body.shop-page-unified .shop-flash-band {
    padding: 10px 14px 0;
}

body.shop-page-unified .shop-flash-band .bh-flash {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

body.shop-page-unified:not(.shop-page-qc) .shop-products-band {
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.shop-page-unified .shop-products-band .bh-ok:not(:empty),
body.shop-page-unified .shop-products-band .bh-err:not(:empty) {
    margin: 10px 14px;
    border-radius: 0;
}

body.shop-page-unified:not(.shop-page-qc) main.shop-other-page .bh-grid {
    gap: 0;
    padding: 0;
    margin: 0;
}

body.shop-page-unified:not(.shop-page-qc) main.shop-other-page .bh-card {
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

body.shop-page-unified:not(.shop-page-qc) main.shop-other-page .bh-card:hover {
    box-shadow: none;
    background: rgba(236, 253, 245, 0.45);
}

body.shop-page-unified:not(.shop-page-qc) main.shop-other-page .bh-card:last-child {
    border-bottom: none;
}

body.shop-page-unified main.shop-other-page .bh-empty {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
}

/* Checkout band — full-width footer (non-QC legacy) */
body.shop-page-unified:not(.shop-page-qc) .shop-checkout-band {
    padding: 14px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    border-top: 1px solid rgba(167, 243, 208, 0.5);
    background:
        rgba(255, 255, 255, 0.92);
}

body.shop-page-unified .shop-checkout-band .shop-hub-order__status {
    margin: 0 0 12px;
    padding: 0;
    text-align: center;
}

body.shop-page-unified .shop-checkout-band .shop-hub-order__status[hidden] {
    display: none !important;
    margin: 0;
}

body.shop-page-unified .shop-checkout-band .shop-hub-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 auto 4px;
    max-width: none;
    padding: 8px 0 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.shop-page-unified .shop-checkout-band .shop-hub-total__amount {
    color: #15803d;
    background: none;
    -webkit-text-fill-color: unset;
}

body.shop-page-unified .shop-checkout-band .shop-hub-order__btn {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    border-radius: 0;
    box-sizing: border-box;
}

body.shop-page-unified.bh-page.with-login-bottom-nav .bh-shell:has(main.shop-main.shop-other-page) {
    padding-bottom: calc(var(--ca-lnav-dock, 74px) + var(--safe-b) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    body.shop-page-unified .shop-page-hero__blob {
        animation: none !important;
    }

    body.shop-page-unified main.shop-other-page .bh-card {
        transition: none;
    }
}

/* =============================================================================
   Shop quick-commerce (Zepto / Blinkit lane) — shop-page-qc + shop-page-unified
   ============================================================================= */

body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) {
    --shop-qc-mint: #10b981;
    --shop-qc-lime: #84cc16;
    --shop-qc-sun: #f59e0b;
    --shop-qc-coral: #fb7185;
    --shop-qc-violet: #8b5cf6;
    --shop-qc-ink: #0f172a;
    --shop-qc-card: #ffffff;
}

body.shop-page-unified.shop-page-qc .shop-page-hero--qc {
    padding: 20px 14px 18px;
    text-align: center;
    border-bottom: none;
    border-radius: 0;
    background: var(--kf-nature-hero-bg, #f8fcfa);
    box-shadow: none;
}

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

body.shop-page-unified.shop-page-qc .shop-page-hero__eyebrow {
    margin: 0;
    padding: 5px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

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

body.shop-page-unified.shop-page-qc .shop-delivery-chip__icon {
    font-size: 1rem;
    line-height: 1;
}

body.shop-page-unified.shop-page-qc .shop-delivery-chip__text strong {
    font-weight: 800;
    color: #9a3412;
}

body.shop-page-unified.shop-page-qc .shop-page-hero__title {
    text-align: center;
    background: #065f46;
}

body.shop-page-unified.shop-page-qc .shop-page-hero__sub {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    max-width: 22rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: #475569;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.shop-page-unified.shop-page-qc .shop-products-band {
    padding: 0;
    background: transparent;
    border: none;
}

body.shop-page-unified.shop-page-qc .shop-section-label {
    grid-column: 1 / -1;
    margin: 8px 2px 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

body.shop-page-unified.shop-page-qc .shop-section-label--products {
    margin-top: 14px;
}

/* GoodForYou Veggies Box — section band (shop + home) */
body.shop-page-unified.shop-page-qc .shop-section-label--gf-box {
    margin: 0;
    padding: 12px 14px 11px;
    text-align: center;
    text-transform: none;
    letter-spacing: -0.02em;
    color: #0f172a;
    border-bottom: 1px solid rgba(16, 185, 129, 0.35);
    background: #ecfdf5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

body.shop-page-unified.shop-page-qc .shop-section-label__gf-text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.32em;
    font-size: clamp(0.95rem, 3.8vw, 1.14rem);
    font-weight: 800;
    line-height: 1.2;
}

body.shop-page-unified.shop-page-qc .shop-section-label__gf-brand {
    background: #059669;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.shop-page-unified.shop-page-qc .shop-section-label__gf-name {
    color: #b45309;
    font-weight: 800;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.shop-page-unified.shop-page-qc .shop-section-label__gf-brand {
        color: #059669;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-grid.bh-grid--qc {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-grid.bh-grid--qc {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
        gap: 0;
    }
}

/* Compact product tiles — 3-up on phones */
body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc {
    border-radius: 0;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-card__media {
    border-radius: 0;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-card__body {
    padding: 6px 6px 8px;
    gap: 6px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-card__name {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.3;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .shop-card-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .shop-card-price {
    padding: 2px 6px;
    font-size: 0.68rem;
    border-radius: 0;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .shop-card-unit {
    font-size: 0.6rem;
    line-height: 1.2;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-stepper {
    padding: 2px;
    gap: 2px;
    width: 100%;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-stepper__btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    font-size: 0.9rem;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-stepper__qty {
    min-width: 14px;
    font-size: 0.72rem;
}

@media (min-width: 640px) {
    body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-card__body {
        padding: 8px 8px 10px;
    }

    body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-card__name {
        font-size: var(--kf-app-fs-body);
    }

    body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .shop-card-price {
        font-size: 0.78rem;
    }

    body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--qc .bh-stepper__btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
    }
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-grid.bh-grid--qc > .shop-section-label {
    grid-column: 1 / -1;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-card {
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--shop-qc-card);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 8px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-card:active {
    transform: scale(0.985);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-card:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 32px rgba(16, 185, 129, 0.16);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-card__media {
    border-radius: 0;
    background: #f0fdf4;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: #ecfdf5;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured .bh-card__media {
    width: 38%;
    max-width: 140px;
    aspect-ratio: 1;
    border-radius: 0;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured .bh-card__body {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured .bh-card__meta {
    flex: 1 1 120px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured .bh-card__name {
    white-space: normal;
    line-height: 1.25;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card--featured .shop-card-tagline,
main.shop-other-page .bh-card.shop-card--veggies-promo .shop-card-tagline {
    margin: 4px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    color: #475569;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card-price.shop-card-price--caption {
    margin-top: 6px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card-unit {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-card-price {
    padding: 4px 10px;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 800;
    color: #14532d;
    background: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-stepper {
    padding: 4px;
    border-radius: 0;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-stepper__btn {
    border-radius: 0;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #047857;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-stepper__btn:not(:disabled):active {
    background: #d1fae5;
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .bh-stepper__qty {
    font-weight: 800;
    color: var(--shop-qc-ink);
}

body.shop-page-unified.shop-page-qc main.shop-other-page.shop-page-tiles .shop-promo-customize {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 0;
    background: #059669;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

body.shop-page-unified.shop-page-qc .shop-checkout-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--ca-lnav-dock, 74px) + env(safe-area-inset-bottom, 0px));
    z-index: 120;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

body.shop-page-unified.shop-page-qc .shop-checkout-dock .shop-checkout-band {
    pointer-events: auto;
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 0;
    background:
        rgba(255, 255, 255, 0.98);
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.shop-page-unified.shop-page-qc .shop-page__body {
    padding-bottom: calc(108px + var(--ca-lnav-dock, 74px) + env(safe-area-inset-bottom, 0px));
}

body.shop-page-unified.shop-page-qc .shop-checkout-band .shop-hub-total__amount {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #15803d;
    background: none;
    -webkit-text-fill-color: unset;
}

body.shop-page-unified.shop-page-qc .shop-checkout-band .shop-hub-order__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    min-height: 52px;
    padding: 10px 16px;
    border-radius: 0;
    border: none;
    background: #059669;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 28px rgba(16, 185, 129, 0.4);
}

body.shop-page-unified.shop-page-qc .shop-checkout-band .shop-hub-order__btn:disabled {
    background: #94a3b8;
    box-shadow: none;
}

body.shop-page-unified.shop-page-qc .shop-checkout-band .shop-hub-order__btn--ready:not(:disabled) {
    animation: shop-qc-cta-pulse 2.4s ease-in-out infinite;
}

@keyframes shop-qc-cta-pulse {
    0%,
    100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.35) inset,
            0 10px 28px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.35) inset,
            0 14px 36px rgba(132, 204, 22, 0.5);
    }
}

body.shop-page-unified.shop-page-qc .shop-hub-order__btn-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

body.shop-page-unified.shop-page-qc .shop-hub-order__btn-hint {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.92;
    line-height: 1.2;
}

body.shop-page-unified.shop-page-qc .shop-hub-order__btn-hint[hidden] {
    display: none;
}

body.shop-page-unified.shop-page-qc.bh-page.with-login-bottom-nav .bh-shell:has(main.shop-main.shop-other-page) {
    padding-bottom: calc(var(--ca-lnav-dock, 74px) + var(--safe-b) + 100px);
}

@media (prefers-reduced-motion: reduce) {
    body.shop-page-unified.shop-page-qc .shop-checkout-band .shop-hub-order__btn--ready:not(:disabled) {
        animation: none;
    }
}

/* QC: full-bleed bands on phones only (desktop stays in centered column like About) */
@media (max-width: 767.98px) {
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-page__hero,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-page-hero,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-flash-band,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-products-band,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) #shop-promo-label.shop-section-label,
    body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) .mh-home-flow .shop-products-band,
    body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) #mh-home-shop-promo-label.shop-section-label {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
    }

    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-checkout-dock {
        width: 100vw;
        max-width: 100vw;
        left: 0;
        right: 0;
        transform: none;
    }
}

@media (min-width: 768px) {
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-page__hero,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-page-hero,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-flash-band,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-products-band,
    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) #shop-promo-label.shop-section-label,
    body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) .mh-home-flow .shop-products-band,
    body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) #mh-home-shop-promo-label.shop-section-label {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-checkout-dock {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--bh-layout-max, 420px);
        transform: translateX(-50%);
    }
}

body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) #shop-promo-label.shop-section-label,
body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) #mh-home-shop-promo-label.shop-section-label {
    padding-left: 10px;
    padding-right: 10px;
}

body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-flash-band .bh-flash,
body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-products-band .bh-ok:not(:empty),
body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) .shop-products-band .bh-err:not(:empty) {
    border-radius: 0;
}

/* Override tile layout rounded corners from .shop-page-tiles */
body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) main.shop-other-page.shop-page-tiles .bh-grid,
body.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='shop']) main.shop-other-page.shop-page-tiles .bh-empty,
body.my-home-lively.shop-page-unified.shop-page-qc:has(#cph-main[data-kf-nav='home']) main.shop-other-page.shop-page-tiles .mh-home-shop-products-band .bh-grid {
    border-radius: 0;
}

/* Home — shop-products-band width (match /shop unified flow) */
body.my-home-lively.shop-page-unified .mh-home-flow .shop-products-band {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
}

/* Payment choice sheet (Order now) — above checkout dock */
body.shop-page-unified.shop-page-qc .shop-pay-sheet {
    z-index: 12100;
}

body.shop-page-unified.shop-page-qc .shop-pay-sheet__panel,
body.shop-page-unified.shop-page-qc .shop-pay-sheet__btn {
    border-radius: 0;
}

/* /shop only — one product per row; full product names (other pages keep 2-column .bh-grid) */
body.shop-page-unified.shop-page:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-grid,
body.shop-page-unified.shop-page:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-grid.bh-grid--lines,
body.shop-page-unified.shop-page:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-grid.bh-grid--section {
    grid-template-columns: 1fr;
    gap: 0;
}

body.shop-page-unified:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-card__meta {
    flex: 1 1 auto;
    min-width: 0;
}

body.shop-page-unified:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-card__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
    font-size: var(--kf-app-fs-body, 0.875rem);
    font-weight: 600;
}

body.shop-page-unified:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-card__price {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

body.shop-page-unified:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-card__media {
    width: 52px;
    min-width: 52px;
    height: 52px;
}

body.shop-page-unified:has(#cph-main[data-kf-nav='shop']) .vbasket-content-band .bh-card__body {
    width: calc(100% - 52px);
    padding: 8px 10px;
    align-items: center;
}
