.storefront-shell {
    --sf-yellow: #ffd12f;
    --sf-black: #111111;
    --sf-white: #ffffff;
    --sf-bg: #f8f8f8;
    --sf-border: #ececec;
    --sf-muted: #6b7280;
    background: var(--sf-bg);
    color: var(--sf-black);
    font-family: Inter, "SF Pro Display", system-ui, sans-serif;
}

/* Shared app/web product card completion overrides. */
body.storefront-shell--v2 .sf-product-card {
    min-width: 0;
    border-radius: 8px;
}

body.storefront-shell--v2 .sf-product-card__footer form,
body.storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
    width: auto !important;
    min-width: 74px !important;
}

body.storefront-shell--v2 .sf-product-card__action,
body.storefront-shell--v2 .sf-product-card__stepper {
    width: auto !important;
    min-width: 74px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 8px !important;
    gap: 6px;
    font-size: .82rem !important;
    line-height: 1 !important;
}

body.storefront-shell--v2 .sf-product-card__action-label {
    display: inline !important;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
}

body.storefront-shell--v2 .sf-product-card__action-plus {
    display: inline-grid !important;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(233, 30, 99, .1);
    line-height: 1;
}

.sf-fulfillment-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sf-fulfillment-toggle label {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
}

.sf-fulfillment-toggle input {
    accent-color: #2daa37;
}

.sf-fulfillment-toggle strong,
.sf-fulfillment-toggle small {
    display: block;
}

.sf-fulfillment-toggle small,
.sf-pickup-store-list span {
    color: #6b7280;
    font-size: .82rem;
}

.sf-pickup-store-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.sf-pickup-store-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.sf-pwa-install {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(420px, calc(100vw - 28px));
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .16);
}

.sf-pwa-install[hidden] {
    display: none;
}

.sf-pwa-install strong,
.sf-pwa-install span {
    display: block;
}

.sf-pwa-install span {
    color: #6b7280;
    font-size: .86rem;
}

.sf-pwa-install button {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #2daa37;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.sf-pwa-install__ghost {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

@media (max-width: 640px) {
    .sf-fulfillment-toggle {
        grid-template-columns: 1fr;
    }

    .sf-pwa-install {
        left: 14px;
        right: 14px;
        bottom: 76px;
    }
}

/* Production mobile hard override: keep header, icons, search, and product images visible. */
@media (max-width: 900px) {
    .storefront-shell--v2 .sf-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        display: block !important;
        min-height: 296px !important;
        overflow: visible !important;
        border: 0 !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-header__inner,
    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-mobile-header {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 296px !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-desktop-header,
    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-wordmark--mobile,
    .storefront-shell--v2 .sf-mobile-brand-name,
    .storefront-shell--v2 .sf-header-service-select {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        position: absolute !important;
        top: 40px !important;
        right: 40px !important;
        left: auto !important;
        z-index: 5 !important;
        display: block !important;
        width: 54px !important;
        height: 54px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar::after {
        width: 54px !important;
        height: 54px !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        position: absolute !important;
        top: 46px !important;
        right: 108px !important;
        left: 22px !important;
        z-index: 5 !important;
        display: block !important;
        min-height: 34px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span,
    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        display: block !important;
        overflow: hidden !important;
        color: #111 !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong::before {
        content: "" !important;
        display: inline-block !important;
        width: 14px !important;
        height: 14px !important;
        margin-right: 8px !important;
        border-radius: 999px !important;
        background: #7d18b8 !important;
        vertical-align: -1px !important;
    }

    .storefront-shell--v2 .sf-header-service-selector {
        position: absolute !important;
        top: 136px !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 6 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(170px, 1fr) !important;
        grid-template-columns: none !important;
        gap: 20px !important;
        overflow-x: auto !important;
        padding: 0 16px 10px !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a {
        display: grid !important;
        height: 72px !important;
        place-items: center !important;
        padding: 0 18px !important;
        border: 1px solid rgba(17, 17, 17, .04) !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 1px 0 rgba(17, 17, 17, .05) !important;
        color: #4a285d !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a.is-active {
        background: #efd4ff !important;
        color: #7d18b8 !important;
    }

    .storefront-shell--v2 .sf-header-service-selector img {
        max-width: 112px !important;
        max-height: 38px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        position: absolute !important;
        top: 218px !important;
        left: 20px !important;
        z-index: 7 !important;
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) 0 !important;
        width: calc(100% - 40px) !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile.has-mobile-promo {
        width: calc(100% - 186px) !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input {
        display: block !important;
        color: #222 !important;
        font-size: 1rem !important;
        opacity: 1 !important;
    }

    .storefront-shell--v2 .sf-searchbar__submit {
        display: none !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo {
        position: absolute !important;
        top: 218px !important;
        right: 20px !important;
        bottom: auto !important;
        z-index: 7 !important;
        display: grid !important;
        width: 132px !important;
        height: 58px !important;
        place-items: center !important;
        overflow: hidden !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #ce2c58 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo img {
        grid-area: 1 / 1 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo__fallback {
        grid-area: 1 / 1 !important;
        display: none !important;
        padding: 4px 8px !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
        line-height: 1.05 !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo:not(:has(img)) .sf-zepto-search-promo__fallback,
    .storefront-shell--v2 .sf-zepto-search-promo.is-image-missing .sf-zepto-search-promo__fallback {
        display: grid !important;
        gap: 2px !important;
    }

    .storefront-shell--v2 .sf-page-shell--home {
        padding-top: 0 !important;
    }

    .storefront-shell--v2 .sf-page-shell--home > .sf-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        position: relative !important;
        top: auto !important;
        z-index: 1 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        gap: 0 !important;
        min-height: 96px !important;
        margin: 0 !important;
        overflow-x: auto !important;
        padding: 12px 14px 0 !important;
        border-top: 1px solid rgba(17, 17, 17, .08) !important;
        background: #e6c8ff !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-tab-chip {
        display: inline-grid !important;
        min-width: max-content !important;
        height: 58px !important;
        align-items: end !important;
        padding: 0 0 14px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111 !important;
        font-size: .92rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-tab-chip img {
        display: none !important;
    }

    .storefront-shell--v2 .sf-front-section,
    .storefront-shell--v2 .sf-dynamic-section {
        display: block !important;
        padding: 20px 0 16px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-front-section__head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 10px !important;
        margin: 0 0 16px !important;
    }

    .storefront-shell--v2 .sf-front-section__head h2 {
        margin: 0 !important;
        color: #111 !important;
        font-size: 1.42rem !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
    }

    .storefront-shell--v2 .sf-front-section__head p {
        display: block !important;
        margin-top: 6px !important;
        color: #6b7280 !important;
        font-size: .9rem !important;
    }

    .storefront-shell--v2 .sf-home-product-grid,
    .storefront-shell--v2 .sf-home-product-grid.is-scroller,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 128px !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 0 0 12px !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-product-card {
        position: relative !important;
        display: flex !important;
        min-width: 128px !important;
        width: 128px !important;
        max-width: 128px !important;
        min-height: 246px !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        position: relative !important;
        order: 1 !important;
        display: grid !important;
        width: 128px !important;
        height: 122px !important;
        min-height: 122px !important;
        place-items: center !important;
        overflow: hidden !important;
        border: 1px solid #f1f1f1 !important;
        border-radius: 8px !important;
        background: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb img,
    .storefront-shell--v2 .sf-product-card__placeholder {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 8px !important;
        object-fit: contain !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        order: 2 !important;
        display: block !important;
        min-height: 25px !important;
    }

    .storefront-shell--v2 .sf-product-card__price {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .storefront-shell--v2 .sf-product-card__saving {
        order: 3 !important;
        display: block !important;
        min-height: 13px !important;
    }

    .storefront-shell--v2 .sf-product-card a:has(h3) {
        order: 4 !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        display: -webkit-box !important;
        min-height: 2.35em !important;
        margin: 0 !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        color: #111 !important;
        font-size: .84rem !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        order: 5 !important;
        display: block !important;
        overflow: hidden !important;
        color: #6b7280 !important;
        font-size: .68rem !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-product-card__topline,
    .storefront-shell--v2 .sf-product-card__brand,
    .storefront-shell--v2 .sf-product-card__tags,
    .storefront-shell--v2 .sf-product-card__wish,
    .storefront-shell--v2 .sf-product-card__discount-flag {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__footer form,
    .storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
        position: absolute !important;
        top: 83px !important;
        right: 6px !important;
        z-index: 3 !important;
        display: block !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        display: inline-flex !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        min-height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 2px solid #e91e63 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #e91e63 !important;
        font-size: 1.55rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        display: inline !important;
    }
}

/* Final search/catalog image fit: product media should fill the box. */
body.storefront-shell--v2 .sf-catalog-grid .sf-product-card__thumb,
body.storefront-shell--v2 .sf-search-suggestion__media,
body.storefront-shell--v2 .sf-search-suggestions__media {
    overflow: hidden !important;
}

body.storefront-shell--v2 .sf-catalog-grid .sf-product-card__thumb img,
body.storefront-shell--v2 .sf-catalog-grid .sf-product-card__image-slide,
body.storefront-shell--v2 .sf-search-suggestion__media img,
body.storefront-shell--v2 .sf-search-suggestions__media img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sf-parcel-page {
    background: #f7f7fa;
}

.sf-parcel-page .sf-container {
    display: grid;
    gap: 18px;
}

.sf-parcel-hero {
    display: flex;
    min-height: 170px;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #111827 0%, #4531a8 58%, #6d4aff 100%);
    color: #fff;
}

.sf-parcel-hero h1,
.sf-parcel-hero p {
    margin: 0;
}

.sf-parcel-hero h1 {
    max-width: 560px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.sf-parcel-hero p {
    max-width: 520px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .78);
}

.sf-parcel-hero .sf-page-kicker {
    color: #c9fb61;
}

.sf-parcel-hero__link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    white-space: nowrap;
}

.sf-parcel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
    align-items: start;
}

.sf-parcel-card {
    border: 1px solid #ececf2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.sf-parcel-booking,
.sf-parcel-summary,
.sf-parcel-orders {
    padding: 18px;
}

.sf-parcel-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.sf-parcel-card__head h2,
.sf-parcel-card__head p {
    margin: 0;
}

.sf-parcel-card__head h2 {
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 900;
}

.sf-parcel-card__head p {
    margin-top: 5px;
    color: #64748b;
    font-size: .86rem;
}

.sf-parcel-card__head > span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #137b2e;
    font-size: .72rem;
    font-weight: 900;
}

.sf-parcel-route {
    display: grid;
    margin-bottom: 18px;
}

.sf-parcel-address {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 13px;
    border: 1px solid #e8e5ef;
    border-radius: 18px;
    background: #fff;
}

.sf-parcel-address__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
}

.sf-parcel-address__icon.is-pickup {
    background: #e9f9ee;
    color: #16a34a;
}

.sf-parcel-address__icon.is-drop {
    background: #f0ecff;
    color: #6d4aff;
}

.sf-parcel-address__copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.sf-parcel-address__copy small,
.sf-parcel-grid label span {
    color: #64748b;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sf-parcel-address textarea,
.sf-parcel-grid input,
.sf-parcel-grid select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font: inherit;
    font-weight: 800;
}

.sf-parcel-address textarea {
    resize: vertical;
    min-height: 42px;
}

.sf-parcel-address__actions button {
    border: 0;
    background: transparent;
    color: #6d4aff;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.sf-parcel-route__line {
    width: 2px;
    height: 18px;
    margin-left: 34px;
    background: #d9d5e3;
}

.sf-parcel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sf-parcel-grid label {
    display: grid;
    gap: 6px;
    min-width: 0;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid #e8e5ef;
    border-radius: 16px;
    background: #fff;
}

.sf-parcel-delivery-type {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.sf-parcel-delivery-type label {
    display: grid;
    cursor: pointer;
}

.sf-parcel-delivery-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-parcel-delivery-type span {
    display: grid;
    gap: 3px;
    min-height: 58px;
    padding: 10px;
    border: 1px solid #e8e5ef;
    border-radius: 15px;
    background: #fff;
}

.sf-parcel-delivery-type input:checked + span {
    border-color: #6d4aff;
    background: #f3f0ff;
}

.sf-parcel-delivery-type strong {
    color: #111827;
    font-size: .9rem;
    font-weight: 900;
}

.sf-parcel-delivery-type small {
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
}

.sf-parcel-quote {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.sf-parcel-quote[hidden] {
    display: none !important;
}

.sf-parcel-quote div {
    display: grid;
    gap: 4px;
}

.sf-parcel-quote small {
    color: rgba(255, 255, 255, .64);
    font-size: .7rem;
    font-weight: 800;
}

.sf-parcel-quote strong {
    font-size: .98rem;
    font-weight: 900;
}

.sf-parcel-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    margin-top: 14px;
}

.sf-parcel-primary,
.sf-parcel-secondary {
    min-height: 48px;
    border-radius: 15px;
    font-weight: 900;
    cursor: pointer;
}

.sf-parcel-primary {
    border: 0;
    background: #6d4aff;
    color: #fff;
}

.sf-parcel-secondary {
    border: 1px solid #d8d3e6;
    background: #fff;
    color: #111827;
}

.sf-parcel-primary:disabled,
.sf-parcel-secondary:disabled {
    opacity: .55;
    cursor: wait;
}

.sf-parcel-feedback {
    min-height: 18px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.sf-parcel-feedback[data-state="success"] {
    color: #15803d;
}

.sf-parcel-feedback[data-state="error"] {
    color: #dc2626;
}

.sf-parcel-summary {
    position: sticky;
    top: 110px;
}

.sf-parcel-summary__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: #f0ecff;
    color: #6d4aff;
    font-size: 1.35rem;
}

.sf-parcel-summary h2,
.sf-parcel-summary p {
    margin: 0;
}

.sf-parcel-summary h2 {
    margin-top: 14px;
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 900;
}

.sf-parcel-summary p {
    margin-top: 10px;
    color: #64748b;
    line-height: 1.5;
}

.sf-parcel-steps {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.sf-parcel-steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.sf-parcel-steps b {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: .78rem;
}

.sf-parcel-orders__list {
    display: grid;
    gap: 12px;
}

.sf-parcel-order-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #ececf2;
    border-radius: 18px;
    background: #fff;
}

.sf-parcel-order-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.sf-parcel-order-card__head strong,
.sf-parcel-order-card__head small {
    display: block;
}

.sf-parcel-order-card__head strong {
    color: #111827;
    font-weight: 900;
}

.sf-parcel-order-card__head small {
    margin-top: 3px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
}

.sf-parcel-order-card__head > span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff7d6;
    color: #8b6f00;
    font-size: .72rem;
    font-weight: 900;
    white-space: nowrap;
}

.sf-parcel-order-card__route {
    display: grid;
    gap: 8px;
}

.sf-parcel-order-card__route p {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    color: #334155;
    font-size: .86rem;
    font-weight: 800;
}

.sf-parcel-order-card__route i:first-child {
    color: #16a34a;
}

.sf-parcel-order-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-parcel-order-card__meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: .75rem;
    font-weight: 900;
}

.sf-parcel-empty {
    padding: 22px;
    border: 1px dashed #d8d3e6;
    border-radius: 18px;
    color: #64748b;
    text-align: center;
    font-weight: 900;
}

@media (max-width: 900px) {
    .sf-parcel-page .sf-container {
        width: 100%;
        max-width: none;
        padding: 0 12px;
    }

    .sf-parcel-hero {
        min-height: 155px;
        align-items: start;
        flex-direction: column;
        padding: 18px;
        border-radius: 0 0 22px 22px;
    }

    .sf-parcel-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-parcel-summary {
        position: static;
    }

    .sf-parcel-grid,
    .sf-parcel-delivery-type,
    .sf-parcel-quote {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-parcel-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Parcel app parity: match the customer app booking screen instead of a web hero layout. */
body.storefront-shell--v2 .sf-parcel-page {
    background: #f8f7fa !important;
}

body.storefront-shell--v2 .sf-parcel-page .sf-container {
    width: min(100% - 24px, 520px) !important;
    max-width: 520px !important;
    display: block !important;
    padding-top: 8px !important;
}

body.storefront-shell--v2 .sf-parcel-app-shell {
    display: grid !important;
    gap: 16px !important;
    padding-bottom: 180px !important;
}

body.storefront-shell--v2 .sf-parcel-booking,
body.storefront-shell--v2 .sf-parcel-orders {
    display: block !important;
    padding: 8px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.storefront-shell--v2 .sf-parcel-app-head {
    display: grid !important;
    gap: 4px !important;
    margin-bottom: 18px !important;
}

body.storefront-shell--v2 .sf-parcel-app-head h1,
body.storefront-shell--v2 .sf-parcel-orders > h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 1.55rem !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
}

body.storefront-shell--v2 .sf-parcel-app-head p {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: .94rem !important;
    line-height: 1.45 !important;
}

body.storefront-shell--v2 .sf-parcel-route {
    margin-bottom: 20px !important;
}

body.storefront-shell--v2 .sf-parcel-address {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: center !important;
    padding: 14px 15px !important;
    border: 1px solid #e7e3ec !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.storefront-shell--v2 .sf-parcel-address__icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    font-size: 20px !important;
}

body.storefront-shell--v2 .sf-parcel-address__copy {
    gap: 3px !important;
}

body.storefront-shell--v2 .sf-parcel-address__copy small {
    color: #6b7280 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

body.storefront-shell--v2 .sf-parcel-address textarea,
body.storefront-shell--v2 .sf-parcel-address input {
    width: 100% !important;
    min-height: 35px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

body.storefront-shell--v2 .sf-parcel-address input::placeholder {
    color: #5f6570 !important;
    opacity: 1 !important;
}

body.storefront-shell--v2 .sf-parcel-address__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.storefront-shell--v2 .sf-parcel-address__actions button {
    padding: 0 !important;
    color: #6d4aff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

body.storefront-shell--v2 .sf-parcel-route__line {
    width: 2px !important;
    height: 18px !important;
    margin-left: 26px !important;
    background: #d9d5e3 !important;
}

body.storefront-shell--v2 .sf-parcel-grid {
    display: block !important;
}

body.storefront-shell--v2 .sf-parcel-inline-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body.storefront-shell--v2 .sf-parcel-grid label,
body.storefront-shell--v2 .sf-parcel-inline-fields label {
    display: grid !important;
    gap: 4px !important;
    min-height: 56px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.storefront-shell--v2 .sf-parcel-grid label span,
body.storefront-shell--v2 .sf-parcel-inline-fields label span {
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

body.storefront-shell--v2 .sf-parcel-grid input,
body.storefront-shell--v2 .sf-parcel-inline-fields input {
    min-height: 50px !important;
    padding: 0 14px !important;
    border: 1px solid #e7e3ec !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.storefront-shell--v2 .sf-parcel-quote {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #111827 !important;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .06) !important;
}

body.storefront-shell--v2 .sf-parcel-quote[hidden] {
    display: none !important;
}

body.storefront-shell--v2 .sf-parcel-quote h2 {
    margin: 0 0 2px !important;
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

body.storefront-shell--v2 .sf-parcel-quote__line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    color: #4b5563 !important;
    font-size: .9rem !important;
}

body.storefront-shell--v2 .sf-parcel-quote__line strong {
    color: #111827 !important;
    font-size: .95rem !important;
    font-weight: 900 !important;
}

body.storefront-shell--v2 .sf-parcel-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

body.storefront-shell--v2 .sf-parcel-primary,
body.storefront-shell--v2 .sf-parcel-secondary {
    display: inline-flex !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 14px !important;
    font-size: .95rem !important;
    font-weight: 900 !important;
}

body.storefront-shell--v2 .sf-parcel-secondary {
    border: 1px solid #6d4aff !important;
    background: #fff !important;
    color: #6d4aff !important;
}

body.storefront-shell--v2 .sf-parcel-primary {
    border: 1px solid #6d4aff !important;
    background: #6d4aff !important;
    color: #fff !important;
}

body.storefront-shell--v2 .sf-parcel-feedback {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
}

body.storefront-shell--v2 .sf-parcel-orders {
    margin-top: 6px !important;
}

body.storefront-shell--v2 .sf-parcel-orders > h2 {
    margin-bottom: 12px !important;
    font-size: 1.15rem !important;
}

body.storefront-shell--v2 .sf-parcel-order-card {
    padding: 16px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.storefront-shell--v2 .sf-parcel-empty {
    border: 0 !important;
    background: #fff !important;
}

.sf-parcel-picker[hidden] {
    display: none !important;
}

.sf-parcel-picker {
    position: fixed;
    inset: 0;
    z-index: 7000;
    display: grid;
    align-items: end;
}

.sf-parcel-picker__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, .48);
}

.sf-parcel-picker__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(100%, 560px);
    max-height: min(92vh, 760px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
    background: #f8f7fa;
    padding: 10px 16px 16px;
}

.sf-parcel-picker__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.sf-parcel-picker__head button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #111827;
}

.sf-parcel-picker__head h2 {
    margin: 0;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.sf-parcel-picker__search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #e5e1ea;
    border-radius: 18px;
    background: #fff;
    color: #64748b;
}

.sf-parcel-picker__search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.sf-parcel-picker__map {
    position: relative;
    display: grid;
    min-height: 330px;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    background: #e7edf7;
    color: #64748b;
    font-weight: 900;
}

.sf-parcel-picker__selected {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-height: 46px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.sf-parcel-picker__selected i {
    color: #6d4aff;
}

.sf-parcel-picker__actions {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10px;
}

.sf-parcel-picker-open {
    overflow: hidden !important;
}

.pac-container {
    z-index: 8000 !important;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

@media (min-width: 901px) {
    body.storefront-shell--v2 .sf-parcel-page .sf-container {
        padding-top: 24px !important;
    }
}

@media (max-width: 900px) {
    body.storefront-shell--v2 .sf-parcel-page .sf-container {
        width: 100% !important;
        max-width: none !important;
        padding: 14px 14px 0 !important;
    }

    body.storefront-shell--v2 .sf-parcel-app-head h1 {
        font-size: 1.46rem !important;
    }

    body.storefront-shell--v2 .sf-parcel-address {
        border-radius: 18px !important;
    }

    .sf-parcel-picker__panel {
        max-height: 94vh;
    }

    .sf-parcel-picker__map {
        min-height: 320px;
    }
}

/* Final product card cart controls: compact add button and +/- stepper. */
body.storefront-shell--v2 .sf-product-card__footer form,
body.storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
    width: auto !important;
    min-width: 0 !important;
}

body.storefront-shell--v2 .sf-product-card__action {
    display: inline-flex !important;
    width: auto !important;
    min-width: 38px !important;
    max-width: 54px !important;
    height: 30px !important;
    min-height: 30px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.storefront-shell--v2 .sf-product-card__action > span[aria-hidden="true"] {
    display: inline !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

body.storefront-shell--v2 .sf-product-card__action-label {
    display: none !important;
}

body.storefront-shell--v2 .sf-product-card__stepper {
    display: grid !important;
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 30px !important;
    min-height: 30px !important;
    grid-template-columns: 22px minmax(0, 1fr) 22px !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

body.storefront-shell--v2 .sf-product-card__stepper-btn {
    display: grid !important;
    width: 22px !important;
    height: 30px !important;
    min-width: 22px !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.storefront-shell--v2 .sf-product-card__stepper strong {
    display: grid !important;
    min-width: 0 !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

@media (max-width: 900px) {
    body.storefront-shell--v2 .sf-product-card__footer form,
    body.storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
        top: calc(var(--sf-product-media-size, 108px) - 34px) !important;
        right: 5px !important;
    }

    body.storefront-shell--v2 .sf-product-card__action {
        min-width: 34px !important;
        max-width: 42px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 7px !important;
        border-radius: 7px !important;
        font-size: 14px !important;
    }

    body.storefront-shell--v2 .sf-product-card__stepper {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 28px !important;
        min-height: 28px !important;
        grid-template-columns: 20px minmax(0, 1fr) 20px !important;
        border-radius: 7px !important;
    }

    body.storefront-shell--v2 .sf-product-card__stepper-btn {
        width: 20px !important;
        min-width: 20px !important;
        height: 28px !important;
        font-size: 15px !important;
    }
}

/* Final category chip row reset: prevent the first tile from spanning two columns. */
@media (max-width: 900px) {
    body.storefront-shell--v2 .sf-home-category-grid,
    body.storefront-shell--v2 .sf-home-category-grid--dynamic,
    body.storefront-shell--v2 .sf-v3-section--category_grid .sf-home-category-grid,
    body.storefront-shell--v2 .sf-v3-section--subcategory_chips .sf-home-category-grid,
    body.storefront-shell--v2 .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
        padding: 0 6px 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
    }

    body.storefront-shell--v2 .sf-home-category-tile,
    body.storefront-shell--v2 .sf-home-category-tile:first-child,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile:first-child {
        grid-column: auto !important;
        flex: 0 0 86px !important;
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        margin: 0 !important;
    }

    body.storefront-shell--v2 .sf-home-category-tile__top,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile__top {
        width: 86px !important;
        height: 86px !important;
        max-height: 86px !important;
    }
}

@media (max-width: 370px) {
    body.storefront-shell--v2 .sf-home-category-tile,
    body.storefront-shell--v2 .sf-home-category-tile:first-child,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile:first-child {
        flex-basis: 80px !important;
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }

    body.storefront-shell--v2 .sf-home-category-tile__top,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile__top {
        width: 80px !important;
        height: 80px !important;
        max-height: 80px !important;
    }
}

/* Category media cleanup: full-box image and no fallback letter chip. */
@media (max-width: 900px) {
    body.storefront-shell--v2 .sf-home-category-tile__top,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile__top {
        display: block !important;
        overflow: hidden !important;
        background: #f7f8fa !important;
    }

    body.storefront-shell--v2 .sf-home-category-tile img,
    body.storefront-shell--v2 .sf-v3-section .sf-home-category-tile img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body.storefront-shell--v2 .sf-home-category-tile__fallback {
        display: none !important;
    }
}

/* Product card image carousel: zero inner padding and full-box cover fit. */
body.storefront-shell--v2 .sf-product-card__thumb {
    position: relative !important;
    overflow: hidden !important;
}

body.storefront-shell--v2 .sf-product-card__image-track {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    overflow: hidden !important;
}

body.storefront-shell--v2 .sf-product-card__image-slide,
body.storefront-shell--v2 .sf-product-card__thumb > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0 !important;
    transition: opacity .28s ease !important;
}

body.storefront-shell--v2 .sf-product-card__image-slide.is-active,
body.storefront-shell--v2 .sf-product-card__thumb > img {
    opacity: 1 !important;
}

body.storefront-shell--v2 .sf-product-card__placeholder {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

body.storefront-shell--v2 .sf-product-card__image-dots {
    position: absolute !important;
    left: 8px !important;
    bottom: 42px !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    pointer-events: none !important;
}

body.storefront-shell--v2 .sf-product-card__image-dots i {
    display: block !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: #d8dee8 !important;
    transition: width .2s ease, background-color .2s ease !important;
}

body.storefront-shell--v2 .sf-product-card__image-dots i.is-active {
    width: 8px !important;
    background: #374151 !important;
}

body.storefront-shell--v2 .sf-product-card__discount-flag,
body.storefront-shell--v2 .sf-product-card__rating-badge,
body.storefront-shell--v2 .sf-product-card__variant-strip {
    z-index: 6 !important;
}

/* True final production mobile lock. Keep this at EOF. */
@media (max-width: 900px) {
    .storefront-shell--v2 .sf-header,
    .storefront-shell--v2 .sf-header__inner,
    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-mobile-header {
        display: block !important;
        min-height: 296px !important;
        overflow: visible !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-desktop-header,
    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-wordmark--mobile,
    .storefront-shell--v2 .sf-mobile-brand-name,
    .storefront-shell--v2 .sf-header-service-select {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        position: absolute !important;
        top: 40px !important;
        right: 40px !important;
        left: auto !important;
        z-index: 5 !important;
        display: block !important;
        width: 54px !important;
        height: 54px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        position: absolute !important;
        top: 46px !important;
        right: 108px !important;
        left: 22px !important;
        z-index: 5 !important;
        display: block !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span,
    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        display: block !important;
        overflow: hidden !important;
        color: #111 !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong::before {
        content: "" !important;
        display: inline-block !important;
        width: 14px !important;
        height: 14px !important;
        margin-right: 8px !important;
        border-radius: 999px !important;
        background: #7d18b8 !important;
        vertical-align: -1px !important;
    }

    .storefront-shell--v2 .sf-header-service-selector {
        position: absolute !important;
        top: 136px !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 6 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(170px, 1fr) !important;
        grid-template-columns: none !important;
        gap: 20px !important;
        overflow-x: auto !important;
        padding: 0 16px 10px !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a {
        display: grid !important;
        height: 72px !important;
        place-items: center !important;
        border-radius: 12px !important;
        background: #fff !important;
        color: #4a285d !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a.is-active {
        background: #efd4ff !important;
        color: #7d18b8 !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        position: absolute !important;
        top: 218px !important;
        left: 20px !important;
        z-index: 7 !important;
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) 0 !important;
        width: calc(100% - 40px) !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile.has-mobile-promo {
        width: calc(100% - 186px) !important;
    }

    .storefront-shell--v2 .sf-searchbar__submit {
        display: none !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo {
        position: absolute !important;
        top: 218px !important;
        right: 20px !important;
        bottom: auto !important;
        z-index: 7 !important;
        display: grid !important;
        width: 132px !important;
        height: 58px !important;
        place-items: center !important;
        overflow: hidden !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #ce2c58 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo img {
        grid-area: 1 / 1 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo__fallback {
        grid-area: 1 / 1 !important;
        display: none !important;
        padding: 4px 8px !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
        line-height: 1.05 !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo:not(:has(img)) .sf-zepto-search-promo__fallback,
    .storefront-shell--v2 .sf-zepto-search-promo.is-image-missing .sf-zepto-search-promo__fallback {
        display: grid !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        position: relative !important;
        top: auto !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        min-height: 96px !important;
        margin: 0 !important;
        overflow-x: auto !important;
        padding: 12px 14px 0 !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-tab-chip {
        display: inline-grid !important;
        min-width: max-content !important;
        height: 58px !important;
        align-items: end !important;
        padding: 0 0 14px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111 !important;
        font-size: .92rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-tab-chip img {
        display: none !important;
    }

    .storefront-shell--v2 .sf-front-section,
    .storefront-shell--v2 .sf-dynamic-section {
        display: block !important;
        padding: 28px 20px 16px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-front-section__head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        margin: 0 0 16px !important;
    }

    .storefront-shell--v2 .sf-front-section__head h2 {
        margin: 0 !important;
        color: #111 !important;
        font-size: 1.42rem !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
    }

    .storefront-shell--v2 .sf-front-section__head p {
        display: block !important;
        margin-top: 6px !important;
        color: #6b7280 !important;
        font-size: .9rem !important;
    }

    .storefront-shell--v2 .sf-home-product-grid,
    .storefront-shell--v2 .sf-home-product-grid.is-scroller,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 128px !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 0 0 12px !important;
    }

    .storefront-shell--v2 .sf-product-card {
        position: relative !important;
        display: flex !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        min-height: 246px !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        position: relative !important;
        order: 1 !important;
        display: grid !important;
        width: 128px !important;
        height: 122px !important;
        min-height: 122px !important;
        place-items: center !important;
        overflow: hidden !important;
        border: 1px solid #f1f1f1 !important;
        border-radius: 8px !important;
        background: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb img,
    .storefront-shell--v2 .sf-product-card__placeholder {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 8px !important;
        object-fit: contain !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .storefront-shell--v2 .sf-product-card__topline,
    .storefront-shell--v2 .sf-product-card__brand,
    .storefront-shell--v2 .sf-product-card__tags,
    .storefront-shell--v2 .sf-product-card__wish,
    .storefront-shell--v2 .sf-product-card__discount-flag {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        order: 2 !important;
        display: block !important;
        min-height: 25px !important;
    }

    .storefront-shell--v2 .sf-product-card__saving {
        order: 3 !important;
        display: block !important;
        min-height: 13px !important;
    }

    .storefront-shell--v2 .sf-product-card a:has(h3) {
        order: 4 !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        display: -webkit-box !important;
        min-height: 2.35em !important;
        margin: 0 !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        color: #111 !important;
        font-size: .84rem !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        order: 5 !important;
        display: block !important;
        overflow: hidden !important;
        color: #6b7280 !important;
        font-size: .68rem !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-product-card__footer form,
    .storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
        position: absolute !important;
        top: 83px !important;
        right: 6px !important;
        z-index: 3 !important;
        display: block !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        display: inline-flex !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        min-height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 2px solid #e91e63 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #e91e63 !important;
        font-size: 1.55rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        display: inline !important;
    }
}

.storefront-shell--v2 i.fas,
.storefront-shell--v2 i.far {
    display: inline-block;
    min-width: 1em;
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}


/* Final mobile recreation layer: live data, Nunito Sans, compact Zepto-style rails. */
body.storefront-shell--v2,
.storefront-shell--v2 button,
.storefront-shell--v2 input,
.storefront-shell--v2 select,
.storefront-shell--v2 textarea {
    font-family: "Nunito Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

@media (max-width: 767px) {
    body.storefront-shell--v2 {
        background: #fff !important;
        color: #121212 !important;
    }

    .storefront-shell--v2 .sf-top-strip,
    .storefront-shell--v2 .sf-desktop-header {
        display: none !important;
    }

    .storefront-shell--v2 .sf-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 80 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #e6c8ff !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-header__inner,
    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-mobile-header {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-header {
        position: relative !important;
        min-height: 296px !important;
        overflow: hidden !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        left: auto !important;
        z-index: 3 !important;
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-wordmark--mobile,
    .storefront-shell--v2 .sf-mobile-brand-name {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar::after {
        content: "";
        display: block;
        width: 44px;
        height: 44px;
        border: 3px solid #111;
        border-radius: 999px;
        background:
            radial-gradient(circle at 50% 36%, #111 0 7px, transparent 8px),
            radial-gradient(ellipse at 50% 82%, #111 0 14px, transparent 15px),
            #fff;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        position: absolute !important;
        top: 14px !important;
        right: 76px !important;
        left: 22px !important;
        display: block !important;
        width: auto !important;
        min-height: 54px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111 !important;
        text-align: left !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span {
        display: block !important;
        color: #111 !important;
        font-size: 1.04rem !important;
        font-weight: 800 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span::before {
        content: "\26A1";
        margin-right: 6px;
        font-family: Arial, sans-serif;
        font-weight: 900;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        display: block !important;
        max-width: 100% !important;
        margin-top: 6px !important;
        overflow: hidden !important;
        color: #161116 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        display: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector {
        position: absolute !important;
        top: 96px !important;
        right: 0 !important;
        left: 0 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 136px !important;
        gap: 16px !important;
        overflow-x: auto !important;
        padding: 0 20px 8px !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector::-webkit-scrollbar {
        display: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a {
        display: grid !important;
        min-width: 0 !important;
        height: 58px !important;
        place-items: center !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 1px 0 rgba(17, 17, 17, .04) !important;
        color: #543164 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector a.is-active {
        background: #f2ddff !important;
        color: #7d18b8 !important;
    }

    .storefront-shell--v2 .sf-header-service-selector img {
        max-width: 92px !important;
        max-height: 30px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-header-service-selector img + span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
    }

    .storefront-shell--v2 .sf-header-service-select {
        display: none !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        position: absolute !important;
        top: 162px !important;
        left: 18px !important;
        display: grid !important;
        width: calc(100% - 36px) !important;
        min-height: 58px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile.has-mobile-promo {
        width: calc(100% - 186px) !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input {
        color: #222 !important;
        font-size: 1.02rem !important;
        font-weight: 400 !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input::placeholder {
        color: #64606a !important;
        opacity: 1 !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo {
        position: absolute !important;
        top: 162px !important;
        right: 16px !important;
        bottom: auto !important;
        display: block !important;
        width: 132px !important;
        height: 58px !important;
        overflow: hidden !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #c33559 !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo span,
    .storefront-shell--v2 .sf-zepto-search-promo strong {
        display: block !important;
        padding: 0 6px !important;
        overflow: hidden !important;
        line-height: 1.05 !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo span {
        margin-top: 12px !important;
        font-size: .78rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo strong {
        margin-top: 3px !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-page-shell--home {
        padding-top: 0 !important;
    }

    .storefront-shell--v2 .sf-page-shell--home > .sf-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        position: sticky !important;
        top: 220px !important;
        z-index: 78 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 86px !important;
        gap: 8px !important;
        min-height: 76px !important;
        margin: 0 !important;
        overflow-x: auto !important;
        padding: 8px 16px 0 !important;
        border: 0 !important;
        background: #e6c8ff !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories::-webkit-scrollbar {
        display: none !important;
    }

    .storefront-shell--v2 .sf-tab-chip {
        position: relative !important;
        display: grid !important;
        justify-items: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        padding: 0 0 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #17121b !important;
        font-size: .86rem !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
        text-align: center !important;
    }

    .storefront-shell--v2 .sf-tab-chip:first-child::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 3px;
        border-radius: 999px 999px 0 0;
        background: #111;
    }

    .storefront-shell--v2 .sf-tab-chip img {
        width: 34px !important;
        height: 34px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-tab-chip span {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section {
        padding: 0 20px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] {
        padding: 0 !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner-grid {
        display: block !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner {
        min-height: 268px !important;
        border-radius: 0 0 6px 6px !important;
        background-color: #ead9ff !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"],
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_grid"] {
        padding-top: 22px !important;
    }

    .storefront-shell--v2 .sf-front-section__head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 0 14px !important;
    }

    .storefront-shell--v2 .sf-front-section__head h2 {
        color: #181818 !important;
        font-size: 1.12rem !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
    }

    .storefront-shell--v2 .sf-front-section__head p {
        display: none !important;
    }

    .storefront-shell--v2 .sf-home-product-grid.is-scroller,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 128px !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 0 0 10px !important;
        scrollbar-width: none !important;
    }

    .storefront-shell--v2 .sf-home-product-grid.is-scroller::-webkit-scrollbar,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid::-webkit-scrollbar {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card {
        position: relative !important;
        display: flex !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        gap: 5px !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        order: 1 !important;
        height: auto !important;
        aspect-ratio: 1 / .95 !important;
        border: 1px solid #f1f1f1 !important;
        border-radius: 8px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb img {
        padding: 8px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-product-card__topline,
    .storefront-shell--v2 .sf-product-card__brand,
    .storefront-shell--v2 .sf-product-card__tags,
    .storefront-shell--v2 .sf-product-card__wish,
    .storefront-shell--v2 .sf-product-card__discount-flag {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        order: 2 !important;
        display: block !important;
        min-height: 25px !important;
    }

    .storefront-shell--v2 .sf-product-card__price {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .storefront-shell--v2 .sf-product-card__price strong {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 22px !important;
        padding: 1px 6px !important;
        border-radius: 5px !important;
        background: #1f8e43 !important;
        color: #fff !important;
        font-size: .86rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-product-card__price small {
        color: #6b6b6b !important;
        font-size: .77rem !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        text-decoration: line-through !important;
    }

    .storefront-shell--v2 .sf-product-card__saving {
        order: 3 !important;
        min-height: 14px !important;
        color: #15803d !important;
        font-size: .72rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-product-card a:has(h3) {
        order: 4 !important;
        text-decoration: none !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        display: -webkit-box !important;
        min-height: 2.35em !important;
        margin: 0 !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        color: #1f1f1f !important;
        font-size: .82rem !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        order: 5 !important;
        overflow: hidden !important;
        min-height: 1.16em !important;
        color: #777 !important;
        font-size: .68rem !important;
        font-weight: 400 !important;
        line-height: 1.16 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-product-card__footer form,
    .storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
        position: absolute !important;
        top: 82px !important;
        right: 6px !important;
        z-index: 2 !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        display: inline-flex !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        min-height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 2px solid #e91e63 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #e91e63 !important;
        box-shadow: 0 1px 3px rgba(233, 30, 99, .16) !important;
        font-size: 1.55rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        display: inline !important;
    }

    .storefront-shell--v2 .sf-product-card__stepper {
        width: 70px !important;
        min-width: 70px !important;
        gap: 8px !important;
        font-size: .9rem !important;
    }

    .storefront-shell--v2 .sf-zepto-delivery-dock {
        right: 8px !important;
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
        left: 8px !important;
        min-height: 72px !important;
        border-radius: 16px !important;
        background: #293241 !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .22) !important;
    }
}

/* Final mobile fit override: use the actual device width instead of legacy fixed previews. */
@media (max-width: 768px) {
    .storefront-shell--v2,
    .storefront-shell--v2 body,
    .storefront-shell--v2 .sf-container,
    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-main {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .storefront-shell--v2 .sf-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .sf-bottom-nav {
        left: 8px !important;
        right: 8px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        padding: 8px 6px !important;
    }

    .sf-bottom-nav a,
    .sf-bottom-nav button {
        min-width: 0 !important;
        width: 100%;
        justify-content: center;
    }

    .sf-bottom-nav span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

body.storefront-shell {
    min-height: 100vh;
}

.sf-app-frame {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    position: relative;
}

.storefront-shell * {
    box-sizing: border-box;
}

.storefront-shell a {
    color: inherit;
    text-decoration: none;
}

.storefront-shell img {
    display: block;
    max-width: 100%;
}

.sf-container {
    width: min(100% - 24px, 1180px);
    margin: 0 auto;
}

.sf-top-strip {
    background: var(--sf-yellow);
}

.sf-top-strip__inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .72rem;
    font-weight: 600;
}

.sf-top-strip__cta,
.sf-front-section__cta,
.sf-location-modal__close,
.sf-product-card__action,
.sf-cart-pill,
.sf-hero-card__cta {
    border: 0;
    border-radius: 12px;
    font-weight: 700;
}

.sf-top-strip__cta {
    background: #111;
    color: #fff;
    padding: 9px 14px;
}

.sf-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--sf-border);
}

.sf-header__inner {
    min-height: auto;
    display: block;
    padding: 18px 0 14px;
}

.sf-wordmark {
    min-width: 96px;
}

.sf-wordmark__text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.sf-wordmark__logo {
    height: 34px;
    width: auto;
}

.sf-location-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 0;
    background: transparent;
    cursor: pointer;
    min-width: 0;
}

.sf-location-trigger span,
.sf-footer small,
.sf-footer a,
.sf-footer p,
.sf-front-section__head p,
.sf-product-card__store,
.sf-product-card__subtitle,
.sf-mini-banner span,
.sf-store-card__meta,
.sf-alert ul,
.sf-secondary-banner small,
.sf-location-option span,
.sf-install-banner span {
    color: var(--sf-muted);
}

.sf-location-trigger strong {
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-searchbar {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    background: #f2f3f3;
    min-height: 52px;
    padding: 0 16px;
}

.sf-searchbar input {
    border: 0;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: .95rem;
}

.sf-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: .95rem;
}

.sf-cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #111;
    color: #fff;
    min-width: 118px;
}

.sf-main {
    padding: 10px 0 110px;
}

.sf-home-shell {
    padding-top: 8px;
}

.sf-alert {
    margin-bottom: 10px;
    border-radius: 14px;
    padding: 10px 12px;
}

.sf-alert--success {
    background: #eefcf3;
    border: 1px solid #d4f3dd;
    color: #12823b;
}

.sf-alert--error {
    background: #fff4f4;
    border: 1px solid #ffd9d9;
    color: #b42318;
}

.sf-hero-rail,
.sf-mini-banner-grid,
.sf-secondary-banner-grid,
.sf-home-category-grid,
.sf-home-product-grid,
.sf-home-store-grid,
.sf-footer__grid {
    display: grid;
    gap: 16px;
}

.sf-hero-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding-bottom: 6px;
}

.sf-hero-card,
.sf-mini-banner,
.sf-secondary-banner,
.sf-product-card,
.sf-store-card,
.sf-home-category-tile {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 18px;
    overflow: hidden;
}

.sf-hero-card {
    min-width: 100%;
    min-height: 65vh;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    scroll-snap-align: start;
    background: #111;
    color: #fff;
}

.sf-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 820px) {
    .sf-top-strip {
        display: none;
    }

    .sf-header {
        background: var(--sf-yellow);
        border-bottom: none;
    }

    .sf-header__inner {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: stretch;
        padding: 18px 16px;
    }

    .sf-wordmark,
    .sf-header-actions,
    .sf-location-trigger {
        width: 100%;
    }

    .sf-wordmark {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sf-wordmark__text {
        font-size: 1.7rem;
        color: #111;
    }

    .sf-location-trigger {
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px;
        border-radius: 18px;
        background: #fff;
        color: #111;
        gap: 8px;
    }

    .sf-location-trigger strong {
        font-size: 1rem;
        white-space: normal;
    }

    .sf-searchbar {
        width: 100%;
        border: none;
        background: #fff;
        border-radius: 20px;
        padding: 0 14px;
        min-height: 56px;
    }

    .sf-searchbar input {
        min-width: 0;
        height: 56px;
        padding: 0;
        font-size: 1rem;
    }

    .sf-searchbar i {
        margin-right: 10px;
        color: #6b7280;
        font-size: 1.1rem;
    }

    .sf-header-actions {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .sf-header-actions a {
        width: auto;
    }

    .sf-hero-rail {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        gap: 16px;
    }

    .sf-hero-card {
        min-width: 100vw;
        flex: 0 0 100vw;
        min-height: 58vh;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .sf-hero-card__content {
        padding: 20px;
    }

    .sf-hero-card h2 {
        font-size: 1.7rem;
    }

    .sf-bottom-nav {
        width: min(calc(100% - 24px), 520px);
        padding: 8px 12px;
    }
}

.sf-hero-card__cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 12px;
    background: rgba(255,255,255,.92);
    color: #111;
}

.sf-search-suggestions__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
}

.sf-search-suggestions__item:hover {
    background: #f8fafc;
}

.sf-search-suggestions__title {
    font-weight: 700;
    color: #111;
}

.sf-search-suggestions__meta {
    font-size: .85rem;
    color: var(--sf-muted);
}

.sf-search-suggestions__media {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f7;
    color: #64748b;
}

.sf-search-suggestions__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-search-suggestions__media svg {
    width: 18px;
    height: 18px;
}

.sf-search-suggestions__copy,
.sf-search-suggestion__copy {
    min-width: 0;
}

.sf-search-suggestions__title,
.sf-search-suggestions__meta,
.sf-search-suggestion__copy strong,
.sf-search-suggestion__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sf-search-suggestions__price,
.sf-search-suggestion__price {
    display: flex;
    max-width: 118px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px 5px;
    text-align: right;
}

.sf-search-suggestions__price strong,
.sf-search-suggestion__price strong {
    color: #101827;
    font-size: .86rem;
    font-weight: 900;
    line-height: 1;
}

.sf-search-suggestions__price s,
.sf-search-suggestion__price s {
    color: #94a3b8;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    text-decoration-thickness: 1.5px;
}

.sf-search-suggestions__price b,
.sf-search-suggestion__price b {
    display: inline-flex;
    min-height: 18px;
    align-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8f8ed;
    color: #138236;
    font-size: .64rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.sf-search-suggestions__price small,
.sf-search-suggestion__price small {
    flex-basis: 100%;
    color: #15803d;
    font-size: .66rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.sf-hero-card__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.sf-hero-card__cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 12px;
    background: #fff;
}

.sf-mini-banner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.sf-mini-banner,
.sf-secondary-banner {
    padding: 12px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
}

.sf-mini-banner img,
.sf-secondary-banner img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 14px;
}

.sf-mini-banner--text_only {
    grid-template-columns: 1fr;
}

.sf-mini-banner--image_only {
    display: block;
    padding: 0;
    min-height: 120px;
}

.sf-mini-banner--image_only img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    border-radius: 0;
}

.sf-secondary-banner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.sf-secondary-banner {
    background: #fff7da;
}

.sf-secondary-banner span {
    display: inline-flex;
    margin-bottom: 6px;
    font-size: .75rem;
    font-weight: 700;
}

.sf-front-section {
    margin-bottom: 24px;
}

.sf-front-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sf-front-section__head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.sf-front-section__cta {
    background: transparent;
    color: #328616;
    font-size: .92rem;
}

.sf-home-category-grid {
    grid-template-columns: repeat(var(--desktop-cols, 6), minmax(0, 1fr));
}

.sf-home-category-tile {
    min-height: 110px;
    display: grid;
    align-content: space-between;
    padding: 14px;
    background: linear-gradient(180deg, #fff9dd, #fff);
    font-weight: 700;
}

.sf-home-category-tile img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 14px;
}

.sf-home-product-grid {
    grid-template-columns: repeat(var(--desktop-cols, 6), minmax(0, 1fr));
}

.sf-home-product-grid.is-scroller,
.sf-home-store-grid.is-scroller {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
}

.sf-home-product-grid.is-scroller .sf-product-card {
    min-width: 180px;
}

.sf-home-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-home-store-grid.is-scroller .sf-store-card {
    min-width: 260px;
}

.sf-product-card {
    padding: 10px;
    display: grid;
    gap: 10px;
}

.sf-product-card__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f7f7;
}

.sf-product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-product-card__placeholder,
.sf-store-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 12px;
    text-align: center;
    background: linear-gradient(180deg, #fffdf5, #f7fbff);
    color: #1f2937;
}

.sf-product-card__placeholder span,
.sf-store-card__placeholder span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef6ff;
    font-size: 1.1rem;
    font-weight: 800;
}

.sf-product-card__placeholder small,
.sf-store-card__placeholder small {
    font-size: .68rem;
    color: var(--sf-muted);
    line-height: 1.2;
}

.sf-product-card__store {
    font-size: .75rem;
    font-weight: 600;
}

.sf-product-card h3 {
    margin: 0;
    font-size: .92rem;
    line-height: 1.25;
    min-height: 2.3em;
}

.sf-product-card__subtitle {
    font-size: .8rem;
    min-height: 1.2em;
}

.sf-product-card__price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .92rem;
}

.sf-product-card__price small {
    color: var(--sf-muted);
    text-decoration: line-through;
}

.sf-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sf-product-card__action {
    background: #f7fff0;
    border: 1px solid #318616;
    color: #318616;
    padding: 8px 14px;
    font-size: .82rem;
}

.sf-store-card__cover {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f7f7f7;
}

.sf-store-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-store-card__body {
    padding: 12px;
}

.sf-store-card__title {
    font-size: 1rem;
    font-weight: 800;
}

.sf-store-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: .8rem;
}

.sf-footer {
    background: #fff;
    border-top: 1px solid var(--sf-border);
    padding: 32px 0 120px;
}

.sf-footer__grid {
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
}

.sf-footer__column {
    display: grid;
    gap: 10px;
}

.sf-footer__column h4 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.sf-footer__brand {
    display: grid;
    gap: 10px;
}

.sf-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 540px);
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(17,17,17,.08);
    display: none;
    z-index: 35;
}

.sf-bottom-nav a,
.sf-bottom-nav button {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 14px;
    color: var(--sf-muted);
    background: transparent;
    border: none;
    cursor: pointer;
}

.sf-bottom-nav button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sf-bottom-nav a.is-active,
.sf-bottom-nav button.is-active {
    background: var(--sf-yellow);
    color: #111;
    font-weight: 700;
}

.sf-bottom-nav,
.sf-location-modal__panel {
    display: flex;
}

.sf-bottom-nav a.is-active {
    background: var(--sf-yellow);
    color: #111;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 60;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(100%, 420px);
    max-width: 420px;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 220ms ease;
    display: flex;
    flex-direction: column;
    z-index: 70;
    overflow: hidden;
}

.cart-sidebar.open {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
    }
}

.sf-location-modal[hidden],
.sf-install-banner[hidden] {
    display: none !important;
}

.sf-location-modal {
    display: grid;
    place-items: center;
    position: fixed;
    inset: 0;
    z-index: 140;
    padding: 18px;
}

.sf-location-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,.42);
}

.sf-location-modal__panel {
    position: relative;
    z-index: 2;
    width: min(100% - 24px, 460px);
    max-height: min(86vh, 620px);
    overflow-y: auto;
    flex-direction: column;
    gap: 16px;
    border-radius: 24px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(17,17,17,.14);
}

.sf-location-modal__head h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.sf-location-modal__head p {
    margin: 8px 0 0;
    color: var(--sf-muted);
}

.sf-location-modal__list {
    display: grid;
    gap: 10px;
    max-height: 340px;
    overflow: auto;
}

.sf-location-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 1px solid var(--sf-border);
}

.sf-location-modal__close {
    background: #111;
    color: #fff;
    padding: 12px 16px;
}

.sf-install-banner {
    position: fixed;
    right: 16px;
    bottom: 88px;
    z-index: 34;
    width: min(100% - 32px, 340px);
    background: #111;
    color: #fff;
    padding: 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sf-install-banner .sf-top-strip__cta {
    background: var(--sf-yellow);
    color: #111;
}

.sf-page-shell {
    padding: 10px 0 28px;
}

.sf-page-hero,
.sf-side-card,
.sf-store-inline-card,
.sf-order-progress-card,
.sf-tracking-map-card,
.sf-summary-card,
.sf-empty-card {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 24px;
}

.sf-page-hero {
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    margin-bottom: 18px;
}

.sf-page-hero h1,
.sf-side-card h2,
.sf-summary-card h2,
.sf-order-progress-card__head strong,
.sf-card-head h2,
.sf-tracking-map-card__head strong {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.sf-page-hero p,
.sf-card-head p,
.sf-muted-copy,
.sf-order-progress-card p,
.sf-review-card p,
.sf-store-product__content p,
.sf-order-item-detail-row p,
.sf-mini-cart-row p,
.sf-address-copy p,
.sf-note-box p,
.sf-data-list dd,
.sf-summary-note span,
.sf-payment-card span,
.sf-toggle-row span,
.sf-tracking-step p,
.sf-route-preview__empty,
.sf-store-card__subtitle {
    margin: 0;
    color: var(--sf-muted);
}

.sf-page-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff6cf;
    color: #8b6f00;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sf-page-hero__stats {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.sf-page-stat {
    min-width: 138px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fbfbfb;
    border: 1px solid var(--sf-border);
    display: grid;
    gap: 4px;
}

.sf-page-stat strong {
    font-size: 1rem;
}

.sf-page-stat span,
.sf-order-list-card__head p,
.sf-order-list-card__details span,
.sf-order-list-card__items span,
.sf-data-list dt,
.sf-summary-list dt {
    color: var(--sf-muted);
    font-size: .86rem;
}

.sf-tab-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 18px;
}

.sf-tab-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--sf-border);
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.sf-tab-chip img,
.sf-tab-chip__fallback {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    flex: 0 0 26px;
}

.sf-tab-chip img {
    object-fit: cover;
}

.sf-tab-chip__fallback {
    display: inline-grid;
    place-items: center;
    background: #f3f4f6;
    color: #111827;
    font-size: .78rem;
    font-weight: 900;
}

.sf-tab-chip.is-active {
    background: var(--sf-yellow);
    border-color: var(--sf-yellow);
}

.sf-catalog-grid {
    --desktop-cols: 5;
    --mobile-cols: 2;
}

.sf-product-card {
    position: relative;
    min-height: 100%;
}

.sf-product-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sf-product-card__badge,
.sf-status-pill,
.sf-store-card__badge,
.sf-store-banner__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.sf-product-card__badge {
    background: #fff4f4;
    color: #d92d20;
}

.sf-product-card__rating {
    font-size: .8rem;
    font-weight: 700;
    color: #328616;
}

.sf-store-card__body {
    display: grid;
    gap: 8px;
}

.sf-store-card__badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sf-store-card__badge {
    background: #f5f5f5;
    color: var(--sf-black);
}

.sf-store-card__badge.is-open,
.sf-store-banner__status.is-open,
.sf-status-pill--delivered {
    background: #edf9f0;
    color: #12823b;
}

.sf-store-card__badge.is-closed,
.sf-store-banner__status.is-closed,
.sf-status-pill--cancelled {
    background: #f4f4f5;
    color: #52525b;
}

.sf-store-card__title {
    font-size: 1.05rem;
}

.sf-store-card__subtitle {
    font-size: .84rem;
    line-height: 1.4;
}

.sf-store-banner {
    min-height: 260px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17,17,17,.08), rgba(17,17,17,.55)), #f4f4f5;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 22px;
    display: grid;
    gap: 26px;
    margin-bottom: 18px;
}

.sf-store-banner__head {
    display: flex;
    justify-content: flex-start;
}

.sf-ghost-link,
.sf-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 700;
}

.sf-ghost-link {
    background: rgba(255,255,255,.92);
    color: #111;
}

.sf-store-banner__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: end;
}

.sf-store-banner__identity {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.sf-store-banner__logo {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    overflow: hidden;
}

.sf-store-banner__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-store-banner__identity h1 {
    margin: 8px 0 8px;
    font-size: 2rem;
    line-height: 1.05;
}

.sf-store-banner__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sf-store-banner__facts span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.12);
    font-size: .84rem;
    font-weight: 700;
}

.sf-store-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    color: #111;
    min-height: 54px;
    padding: 0 16px;
}

.sf-store-search input,
.sf-form-field input,
.sf-form-field textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
}

.sf-store-info-strip,
.sf-cart-layout,
.sf-checkout-layout,
.sf-order-detail-layout,
.sf-tracking-layout,
.sf-store-layout {
    display: grid;
    gap: 18px;
}

.sf-store-info-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.sf-store-info-strip article,
.sf-summary-note,
.sf-driver-card {
    padding: 16px 18px;
    border: 1px solid var(--sf-border);
    border-radius: 18px;
    background: #fff;
    display: grid;
    gap: 4px;
}

.sf-store-info-strip strong,
.sf-rating-summary strong {
    font-size: 1.05rem;
}

.sf-store-info-strip span,
.sf-rating-summary span {
    color: var(--sf-muted);
    font-size: .84rem;
}

.sf-store-layout,
.sf-cart-layout,
.sf-order-detail-layout,
.sf-tracking-layout,
.sf-checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
}

.sf-store-catalog,
.sf-order-detail-main,
.sf-checkout-main {
    display: grid;
    gap: 18px;
}

.sf-store-product-list,
.sf-order-item-detail-list,
.sf-mini-cart-list,
.sf-cart-item-stack,
.sf-order-card-stack,
.sf-review-list,
.sf-tracking-step-list {
    display: grid;
    gap: 16px;
}

.sf-store-product-list {
    grid-template-columns: repeat(var(--desktop-cols, 2), minmax(0, 1fr));
}

.sf-store-product-list .sf-product-card {
    width: 100%;
}

.sf-home-product-grid.sf-store-product-list {
    display: grid;
    grid-template-columns: repeat(var(--desktop-cols, 2), minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .sf-home-product-grid.sf-store-product-list {
        display: grid;
        grid-template-columns: repeat(var(--mobile-cols, 1), minmax(0, 1fr));
        gap: 16px;
    }

    .sf-home-product-grid.sf-store-product-list .sf-product-card {
        min-width: auto;
        flex: 1 1 auto;
    }
}

.sf-store-product,
.sf-cart-item,
.sf-mini-cart-row,
.sf-order-item-detail-row,
.sf-order-list-card {
    border: 1px solid var(--sf-border);
    border-radius: 20px;
    background: #fff;
}

.sf-store-product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px;
}

.sf-store-product__thumb,
.sf-cart-item__thumb {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.sf-store-product__thumb img,
.sf-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-store-product__content,
.sf-cart-item__content {
    display: grid;
    gap: 6px;
    align-content: center;
}

.sf-store-product__name,
.sf-cart-item__content strong,
.sf-order-item-detail-row strong,
.sf-mini-cart-row strong {
    font-size: .98rem;
    font-weight: 800;
}

.sf-store-product__meta,
.sf-store-product__price,
.sf-cart-item__price,
.sf-inline-actions,
.sf-card-head,
.sf-order-list-card__head,
.sf-order-list-card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sf-store-product__meta span,
.sf-cart-item__price small {
    color: var(--sf-muted);
    font-size: .82rem;
}

.sf-store-product__price strong,
.sf-cart-item__price span {
    font-size: .98rem;
}

.sf-store-product__price small {
    color: var(--sf-muted);
    text-decoration: line-through;
}

.sf-store-product__action,
.sf-cart-item__actions {
    display: grid;
    gap: 10px;
    align-content: center;
    justify-items: end;
}

.sf-side-card,
.sf-summary-card,
.sf-order-progress-card,
.sf-tracking-map-card {
    padding: 20px;
}

.sf-card-head {
    justify-content: space-between;
    margin-bottom: 16px;
}

.sf-data-list,
.sf-summary-list {
    margin: 0;
    display: grid;
    gap: 12px;
}

.sf-data-list div,
.sf-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.sf-data-list dd,
.sf-summary-list dd {
    margin: 0;
    text-align: right;
    color: var(--sf-black);
    font-weight: 600;
}

.sf-summary-list__discount dd {
    color: #12823b;
}

.sf-summary-list__total {
    padding-top: 12px;
    border-top: 1px solid var(--sf-border);
}

.sf-summary-list__total dt,
.sf-summary-list__total dd {
    font-size: 1rem;
    font-weight: 800;
    color: var(--sf-black);
}

.sf-summary-card--sticky,
.sf-store-sidebar,
.sf-order-detail-side,
.sf-tracking-side {
    position: sticky;
    top: 112px;
}

.sf-stepper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    background: #f7fff0;
    border: 1px solid #d6ebcb;
}

.sf-stepper button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: #318616;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.sf-text-link {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #d92d20;
}

.sf-store-inline-card {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sf-store-inline-card strong,
.sf-summary-note strong,
.sf-driver-card strong,
.sf-order-list-card__meta strong {
    font-size: 1rem;
}

.sf-cart-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px;
}

.sf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sf-form-field {
    display: grid;
    gap: 8px;
}

.sf-form-field span {
    font-size: .85rem;
    font-weight: 700;
}

.sf-form-field input,
.sf-form-field textarea {
    min-height: 50px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid var(--sf-border);
    background: #fafafa;
}

.sf-form-field textarea {
    min-height: 110px;
    padding: 14px 15px;
    resize: vertical;
}

.sf-form-field--full {
    grid-column: 1 / -1;
}

.sf-payment-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.sf-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--sf-border);
    background: #fafafa;
    cursor: pointer;
}

.sf-payment-card input {
    margin-top: 2px;
}

.sf-payment-card strong {
    display: block;
    margin-bottom: 4px;
}

.sf-toggle-row {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--sf-border);
    background: #f7fff0;
    margin-bottom: 14px;
}

.sf-mini-cart-row,
.sf-order-item-detail-row {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.sf-order-list-card {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.sf-order-list-card__head,
.sf-order-list-card__footer {
    justify-content: space-between;
}

.sf-order-list-card__number {
    display: block;
    margin-bottom: 6px;
    color: #8b6f00;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sf-order-list-card__meta {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.sf-order-list-card__items {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sf-order-list-card__items span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fafafa;
    border: 1px solid var(--sf-border);
}

.sf-status-pill {
    background: #fef3c7;
    color: #8b6f00;
}

.sf-status-pill--payment-pending {
    background: #fff7d6;
    color: #8b6f00;
}

.sf-status-pill--placed,
.sf-status-pill--accepted,
.sf-status-pill--assigned,
.sf-status-pill--pickup-started,
.sf-status-pill--pickup-completed,
.sf-status-pill--delivery-started {
    background: #fff7d6;
    color: #8b6f00;
}

.sf-order-progress-card {
    margin-bottom: 18px;
}

.sf-order-progress-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sf-order-progress-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.sf-order-progress-step {
    padding: 14px 12px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--sf-border);
    display: grid;
    gap: 8px;
}

.sf-order-progress-step span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ececec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
}

.sf-order-progress-step strong {
    font-size: .88rem;
}

.sf-order-progress-step.is-complete {
    background: #fff9dd;
    border-color: #f1df87;
}

.sf-order-progress-step.is-complete span {
    background: var(--sf-yellow);
    color: #111;
}

.sf-address-copy,
.sf-note-box {
    display: grid;
    gap: 6px;
}

.sf-note-box {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--sf-border);
}

.sf-rating-summary {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff9dd;
    margin-bottom: 14px;
}

.sf-review-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--sf-border);
    background: #fafafa;
}

.sf-review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.sf-tracking-map-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sf-route-preview {
    position: relative;
    min-height: 380px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--sf-border);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(17,17,17,.04) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(rgba(17,17,17,.04) 1px, transparent 1px) 0 0 / 24px 24px,
        #f8f8f8;
}

.sf-route-preview svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sf-route-preview polyline {
    fill: none;
    stroke: #111;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sf-route-preview__empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.sf-tracking-step {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--sf-border);
    background: #fff;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sf-tracking-step span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin-top: 6px;
    background: #d4d4d8;
    flex: 0 0 auto;
}

.sf-tracking-step.is-complete {
    background: #fff9dd;
    border-color: #f1df87;
}

.sf-tracking-step.is-complete span {
    background: var(--sf-yellow);
}

.sf-empty-card {
    padding: 28px;
    text-align: center;
}

.sf-empty-card--large {
    padding: 48px 28px;
}

.sf-primary-link,
.sf-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 800;
    border: 1px solid transparent;
}

.sf-primary-link,
.sf-primary-link:disabled {
    background: #111;
    color: #fff;
}

.sf-primary-link--block,
.sf-secondary-link--block {
    width: 100%;
}

.sf-secondary-link {
    background: #fff9dd;
    color: #111;
    border-color: #f4e6a6;
}

.sf-pagination {
    margin-top: 20px;
}

.sf-pagination nav {
    display: flex;
    justify-content: center;
}

@media (max-width: 1100px) {
    .sf-header__inner {
        grid-template-columns: 1fr;
        padding: 14px 0;
    }

    .sf-hero-rail,
    .sf-mini-banner-grid,
    .sf-secondary-banner-grid,
    .sf-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-home-store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-page-hero,
    .sf-store-banner__body,
    .sf-store-layout,
    .sf-cart-layout,
    .sf-checkout-layout,
    .sf-order-detail-layout,
    .sf-tracking-layout {
        grid-template-columns: 1fr;
    }

    .sf-store-info-strip,
    .sf-order-progress-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-summary-card--sticky,
    .sf-store-sidebar,
    .sf-order-detail-side,
    .sf-tracking-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .sf-header-actions a:not(.sf-cart-pill) {
        display: none;
    }

    .sf-hero-rail,
    .sf-mini-banner-grid,
    .sf-secondary-banner-grid,
    .sf-footer__grid,
    .sf-home-store-grid,
    .sf-home-category-grid,
    .sf-home-product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 10px;
    }

    .sf-hero-card,
    .sf-mini-banner,
    .sf-secondary-banner,
    .sf-home-category-tile,
    .sf-product-card,
    .sf-store-card {
        min-width: min(86vw, 360px);
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .sf-hero-card {
        grid-template-columns: 1fr;
    }

    .sf-bottom-nav {
        display: flex;
    }

    .sf-main {
        padding-bottom: 180px;
    }

    .sf-footer {
        padding-bottom: 160px;
    }

    .sf-page-hero,
    .sf-side-card,
    .sf-summary-card,
    .sf-order-progress-card,
    .sf-tracking-map-card,
    .sf-store-banner {
        padding: 18px;
        border-radius: 22px;
    }

    .sf-page-hero__stats,
    .sf-store-banner__identity,
    .sf-store-inline-card,
    .sf-order-list-card__head,
    .sf-order-list-card__footer {
        display: grid;
    }

    .sf-store-product,
    .sf-cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .sf-store-product__thumb,
    .sf-cart-item__thumb {
        width: 74px;
        height: 74px;
        border-radius: 14px;
    }

    .sf-store-product__action,
    .sf-cart-item__actions {
        grid-column: 1 / -1;
        justify-items: stretch;
    }

    .sf-store-info-strip,
    .sf-form-grid,
    .sf-order-progress-rail {
        grid-template-columns: 1fr;
    }

    .sf-order-list-card__meta {
        justify-items: start;
    }

    .sf-route-preview {
        min-height: 280px;
    }
}

/* Storefront v2 overrides */
.storefront-shell--v2 {
    --sf-surface: #ffffff;
    --sf-surface-alt: #f5f5f5;
    --sf-shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.06);
    --sf-shadow-card: 0 6px 18px rgba(17, 17, 17, 0.05);
}

.storefront-shell--v2 .sf-main {
    padding-top: 8px;
}

.storefront-shell--v2 .sf-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(236, 236, 236, 0.88);
}

.storefront-shell--v2 .sf-app-frame {
    background:
        radial-gradient(circle at top left, rgba(255, 209, 47, 0.14), transparent 24%),
        linear-gradient(180deg, #fffef9 0%, #f8f8f8 22%, #f8f8f8 100%);
}

.storefront-shell--v2 .sf-mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-shell--v2 .sf-mobile-action-pill {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: #111111;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sf-shadow-soft);
}

.storefront-shell--v2 .sf-mobile-action-pill svg,
.storefront-shell--v2 .sf-mobile-profile svg {
    width: 18px;
    height: 18px;
}

.storefront-shell--v2 .sf-mobile-service-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
}

.storefront-shell--v2 .sf-mobile-service-strip::-webkit-scrollbar {
    display: none;
}

.storefront-shell--v2 .sf-mobile-service-pill {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.storefront-shell--v2 .sf-mobile-service-pill--yellow { background: #fff4bf; color: #7a5a00; }
.storefront-shell--v2 .sf-mobile-service-pill--green { background: #ebf8ec; color: #166534; }
.storefront-shell--v2 .sf-mobile-service-pill--blue { background: #ebf4ff; color: #1d4ed8; }
.storefront-shell--v2 .sf-mobile-service-pill--ink { background: #f3f4f6; color: #111111; }

.storefront-shell--v2 .sf-searchbar--mobile,
.storefront-shell--v2 .sf-desktop-search {
    background: rgba(245, 245, 245, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.storefront-shell--v2 .sf-searchbar__field {
    min-width: 0;
}

.storefront-shell--v2 .sf-search-quick-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.storefront-shell--v2 .sf-search-quick-row::-webkit-scrollbar {
    display: none;
}

.storefront-shell--v2 .sf-search-history-chip {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    border: 1px solid var(--sf-border);
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.storefront-shell--v2 .sf-quickstack {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.storefront-shell--v2 .sf-intelligence-card {
    background: linear-gradient(135deg, #111111 0%, #262626 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 20px;
    display: grid;
    gap: 18px;
    box-shadow: 0 20px 48px rgba(17, 17, 17, 0.18);
}

.storefront-shell--v2 .sf-intelligence-card__copy {
    display: grid;
    gap: 8px;
}

.storefront-shell--v2 .sf-intelligence-card__eyebrow,
.storefront-shell--v2 .sf-section-chip {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.storefront-shell--v2 .sf-intelligence-card__eyebrow {
    background: rgba(255, 209, 47, 0.16);
    color: #ffd12f;
}

.storefront-shell--v2 .sf-intelligence-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.storefront-shell--v2 .sf-intelligence-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
    font-size: 0.88rem;
}

.storefront-shell--v2 .sf-intelligence-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.storefront-shell--v2 .sf-intelligence-card__cta,
.storefront-shell--v2 .sf-ai-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    min-height: 42px;
    padding: 0 14px;
    background: #ffd12f;
    color: #111111;
    font-weight: 800;
}

.storefront-shell--v2 .sf-intelligence-card__ghost {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    min-height: 42px;
    border-radius: 14px;
    padding: 0 14px;
    font-weight: 700;
}

.storefront-shell--v2 .sf-service-deck {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.storefront-shell--v2 .sf-service-deck__card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 22px;
    padding: 14px 12px;
    display: grid;
    gap: 6px;
    box-shadow: var(--sf-shadow-card);
}

.storefront-shell--v2 .sf-service-deck__card span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7d6;
    color: #111111;
    font-size: 0.82rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-service-deck__card strong {
    font-size: 0.82rem;
    line-height: 1.15;
}

.storefront-shell--v2 .sf-service-deck__card small {
    color: var(--sf-muted);
    font-size: 0.68rem;
    line-height: 1.3;
}

.storefront-shell--v2 .sf-ai-banner {
    background: linear-gradient(135deg, #fff9da 0%, #ffffff 48%, #eef6ff 100%);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 26px;
    padding: 18px;
    display: grid;
    gap: 12px;
    box-shadow: var(--sf-shadow-card);
}

.storefront-shell--v2 .sf-ai-banner span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: #111111;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
}

.storefront-shell--v2 .sf-ai-banner h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.storefront-shell--v2 .sf-ai-banner p {
    margin: 0;
    color: var(--sf-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.storefront-shell--v2 .sf-dynamic-section,
.storefront-shell--v2 .sf-page-hero,
.storefront-shell--v2 .sf-side-card,
.storefront-shell--v2 .sf-store-inline-card,
.storefront-shell--v2 .sf-summary-card,
.storefront-shell--v2 .sf-empty-card,
.storefront-shell--v2 .sf-store-banner,
.storefront-shell--v2 .sf-store-info-strip,
.storefront-shell--v2 .sf-cart-item,
.storefront-shell--v2 .sf-product-detail {
    box-shadow: var(--sf-shadow-card);
}

.storefront-shell--v2 .sf-section-chip {
    margin-bottom: 8px;
    background: #fff7d6;
    color: #8b6f00;
}

.storefront-shell--v2 .sf-app-section {
    margin-top: 16px;
}

.storefront-shell--v2 .sf-app-section__head h2 {
    letter-spacing: -0.035em;
}

.storefront-shell--v2 .sf-home-category-tile {
    background: linear-gradient(180deg, #fffdf4 0%, #ffffff 100%);
    border-radius: 20px;
    min-height: 124px;
}

.storefront-shell--v2 .sf-home-category-tile__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.storefront-shell--v2 .sf-home-category-tile__top small {
    font-size: 0.64rem;
    color: var(--sf-muted);
    font-weight: 700;
}

.storefront-shell--v2 .sf-product-card {
    border-radius: 22px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--sf-shadow-card);
}

.storefront-shell--v2 .sf-product-card__thumb {
    border-radius: 18px;
    background: linear-gradient(180deg, #fffef7 0%, #ffffff 100%);
}

.storefront-shell--v2 .sf-product-card__thumb img {
    padding: 10px;
}

.storefront-shell--v2 .sf-product-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.storefront-shell--v2 .sf-product-card__eta,
.storefront-shell--v2 .sf-product-card__rating {
    font-size: 0.67rem;
    font-weight: 800;
}

.storefront-shell--v2 .sf-product-card__price strong {
    font-size: 0.92rem;
}

.storefront-shell--v2 .sf-product-card__action {
    min-width: 74px;
    min-height: 36px;
    border-radius: 12px;
    background: #ffffff;
    color: #2b7a0b;
    border: 1.5px solid #9bd17c;
    box-shadow: inset 0 -1px 0 rgba(17, 17, 17, 0.04);
}

.storefront-shell--v2 .sf-store-card {
    border-radius: 24px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: var(--sf-shadow-card);
}

.storefront-shell--v2 .sf-store-card__cover {
    height: 150px;
}

.storefront-shell--v2 .sf-store-card__body {
    padding: 14px;
}

.storefront-shell--v2 .sf-store-card__meta span {
    border-radius: 999px;
    padding: 5px 8px;
    background: #f7f7f7;
}

.storefront-shell--v2 .sf-page-hero {
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fffdf5 48%, #f7fbff 100%);
}

.storefront-shell--v2 .sf-store-banner {
    border-radius: 32px;
    border: 0;
}

.storefront-shell--v2 .sf-store-info-strip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 24px;
    padding: 10px;
}

.storefront-shell--v2 .sf-store-info-strip article {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.storefront-shell--v2 .sf-network-pill {
    position: fixed;
    left: 50%;
    top: 92px;
    transform: translateX(-50%);
    z-index: 70;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.18);
}

.storefront-shell--v2 .sf-network-pill[data-state="offline"] {
    background: #7f1d1d;
}

.storefront-shell--v2 .sf-network-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

.storefront-shell--v2 .sf-network-pill[data-state="offline"] .sf-network-pill__dot {
    background: #fca5a5;
}

.storefront-shell--v2 .sf-floating-cart-bar {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 366px);
    z-index: 34;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner {
    min-height: 68px;
    border-radius: 22px;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.2);
}

.storefront-shell--v2 .sf-floating-cart-bar__inner strong,
.storefront-shell--v2 .sf-floating-cart-bar__cta {
    font-weight: 800;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.storefront-shell--v2 .sf-floating-cart-bar__cta {
    color: #ffd12f;
    font-size: 0.92rem;
}

@media (min-width: 769px) {
    .storefront-shell--v2 .sf-quickstack {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        align-items: stretch;
        margin-bottom: 22px;
    }

    .storefront-shell--v2 .sf-service-deck {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-shell--v2 .sf-intelligence-card {
        min-height: 208px;
        align-content: space-between;
    }

    .storefront-shell--v2 .sf-ai-banner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-container {
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
        max-width: 370px;
    }

    .storefront-shell--v2 .sf-home-product-grid .sf-product-card,
    .storefront-shell--v2 .sf-home-product-grid--mobile .sf-product-card {
        min-width: 138px !important;
        max-width: 138px !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        font-size: 0.74rem;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        font-size: 0.63rem;
    }

    .storefront-shell--v2 .sf-service-deck {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .storefront-shell--v2 .sf-service-deck__card {
        padding: 12px 10px;
        border-radius: 18px;
    }

    .storefront-shell--v2 .sf-service-deck__card strong {
        font-size: 0.72rem;
    }

    .storefront-shell--v2 .sf-ai-banner {
        border-radius: 22px;
    }

    .storefront-shell--v2 .sf-page-hero {
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 18px;
    }
}

.sf-desktop-only {
    display: block;
}

.sf-mobile-only {
    display: none;
}

.sf-desktop-header {
    display: none;
}

.sf-desktop-header__top {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(220px, 275px) minmax(0, auto) minmax(260px, 1fr);
    grid-template-areas:
        "brand location services search"
        "actions actions actions actions";
    align-items: center;
    gap: 16px;
}

.sf-wordmark--desktop {
    grid-area: brand;
    min-width: 0;
}

.sf-wordmark--desktop .sf-wordmark__text {
    font-size: 2rem;
}

.sf-desktop-location {
    grid-area: location;
}

.sf-header-service-selector {
    grid-area: services;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.sf-header-service-selector::-webkit-scrollbar {
    display: none;
}

.sf-desktop-location,
.sf-desktop-search,
.sf-desktop-cart,
.sf-desktop-icon,
.sf-desktop-link {
    border: 1px solid rgba(17, 17, 17, .08);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 32px rgba(17, 17, 17, .05);
}

.sf-desktop-location {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: left;
}

.sf-desktop-location span {
    font-size: .7rem;
    color: var(--sf-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sf-desktop-location strong {
    font-size: .95rem;
}

.sf-desktop-search {
    grid-area: search;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 0 10px 0 14px;
    border-radius: 18px;
}

.sf-desktop-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
}

.sf-desktop-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

@media (min-width: 769px) and (max-width: 1180px) {
    .sf-desktop-header__top {
        grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr);
        grid-template-areas:
            "brand location"
            "services search"
            "actions actions";
    }
}

.sf-desktop-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    position: relative;
}

.sf-desktop-link {
    padding: 13px 16px;
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 700;
    color: #334155;
}

.sf-desktop-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 18px;
    color: #111;
}

.sf-desktop-cart div {
    display: grid;
    gap: 2px;
}

.sf-desktop-cart span {
    font-size: .68rem;
    color: var(--sf-muted);
    font-weight: 700;
}

.sf-desktop-cart strong {
    font-size: 1rem;
}

.sf-app-chrome {
    display: grid;
    gap: 12px;
    max-width: 100%;
}

.sf-appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sf-appbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-icon-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(17, 17, 17, .08);
    cursor: pointer;
}

.sf-icon-button svg,
.sf-cart-pill svg,
.sf-searchbar__icon svg,
.sf-searchbar__submit svg,
.sf-bottom-nav svg,
.sf-category-app-card--more svg,
.sf-offer-card__icon svg {
    width: 20px;
    height: 20px;
}

.sf-badge-button {
    position: relative;
}

.sf-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ea3323;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-size: .62rem;
    font-weight: 800;
}

.sf-wordmark {
    display: inline-grid;
    gap: 2px;
}

.sf-wordmark__tagline {
    font-size: .68rem;
    font-weight: 700;
    color: rgba(17, 17, 17, .82);
}

.sf-location-trigger {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(17, 17, 17, .08);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,214,.95));
    box-shadow: 0 14px 34px rgba(17, 17, 17, .08);
}

.sf-location-trigger span,
.sf-location-trigger strong,
.sf-location-trigger em,
.sf-location-trigger b {
    text-align: left;
}

.sf-location-trigger strong {
    font-size: 1.1rem;
    line-height: 1.08;
}

.sf-location-trigger em {
    font-style: normal;
    color: var(--sf-muted);
    font-size: .72rem;
}

.sf-location-trigger b {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: .95rem;
    font-weight: 800;
}

.sf-searchbar {
    position: relative;
    min-height: 52px;
    padding: 0 8px 0 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, .08);
    box-shadow: 0 14px 34px rgba(17, 17, 17, .05);
}

.sf-searchbar__icon,
.sf-searchbar__submit {
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-searchbar__submit {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.sf-searchbar__field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.sf-search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 15;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--sf-border);
    box-shadow: 0 20px 50px rgba(17, 17, 17, .1);
}

.sf-search-suggestions__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 4px;
}

.sf-home-shell {
    padding: 12px 0 0;
}

.sf-home-shell .sf-container {
    display: grid;
    gap: 18px;
}

.sf-mobile-hero {
    display: grid;
    gap: 8px;
}

.sf-mobile-hero__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sf-mobile-hero__track::-webkit-scrollbar,
.sf-home-product-grid--mobile::-webkit-scrollbar,
.sf-home-store-grid.is-scroller::-webkit-scrollbar {
    display: none;
}

.sf-mobile-hero__slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffd94a, #ffcb1d);
    box-shadow: 0 22px 60px rgba(210, 158, 0, .22);
    scroll-snap-align: start;
}

.sf-mobile-hero__copy {
    display: grid;
    gap: 10px;
}

.sf-mobile-hero__copy h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.5vw, 2.1rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.sf-mobile-hero__copy p {
    margin: 0;
    max-width: 20ch;
    font-size: .92rem;
    color: rgba(17, 17, 17, .82);
}

.sf-mobile-hero__copy strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: .82rem;
}

.sf-mobile-hero__badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, .08);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sf-mobile-hero__media {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, .35);
}

.sf-mobile-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-mobile-hero__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.sf-mobile-hero__dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, .16);
    cursor: pointer;
}

.sf-mobile-hero__dots button.is-active {
    width: 18px;
    background: #111;
}

.sf-app-section {
    display: grid;
    gap: 12px;
}

.sf-app-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sf-app-section__head h2 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: -.04em;
}

.sf-app-section__head a {
    font-size: .95rem;
    font-weight: 700;
    color: #1f2937;
}

.sf-app-grid--categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sf-category-app-card {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 14px 8px 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdf5, #ffffff);
    border: 1px solid rgba(17, 17, 17, .06);
    box-shadow: 0 12px 30px rgba(17, 17, 17, .05);
}

.sf-category-app-card__media {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #f6fbef, #eef7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.1rem;
    font-weight: 800;
}

.sf-category-app-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-category-app-card strong {
    font-size: .92rem;
    text-align: center;
    line-height: 1.2;
}

.sf-category-app-card--more .sf-category-app-card__media {
    background: #fff;
    border: 1px solid var(--sf-border);
}

.sf-promo-ribbon__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #edf9da, #ffffff);
    border: 1px solid rgba(74, 168, 59, .14);
}

.sf-promo-ribbon__card span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(50, 134, 22, .1);
    color: #328616;
    font-size: .62rem;
    font-weight: 800;
}

.sf-promo-ribbon__card h3,
.sf-offer-card__copy h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    letter-spacing: -.03em;
}

.sf-promo-ribbon__card p,
.sf-offer-card__copy p {
    margin: 0;
    color: var(--sf-muted);
    font-size: .92rem;
}

.sf-promo-ribbon__card img {
    width: 100%;
    height: 136px;
    object-fit: cover;
    border-radius: 20px;
}

.sf-home-product-grid--mobile {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.sf-home-product-grid--mobile .sf-product-card {
    min-width: 190px;
    padding: 12px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .05);
}

.sf-home-product-grid--mobile .sf-product-card__thumb {
    border-radius: 18px;
    background: #fffdf7;
}

.sf-home-product-grid--mobile .sf-product-card__action {
    min-width: 84px;
    border-radius: 999px;
}

.sf-offer-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sf-offer-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff9e0, #ffffff);
    border: 1px solid rgba(255, 209, 47, .35);
    box-shadow: 0 14px 34px rgba(17, 17, 17, .05);
}

.sf-offer-card--banner {
    grid-template-columns: minmax(0, 1fr) 90px;
}

.sf-offer-card--banner img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
}

.sf-offer-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ffcd1a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-home-store-grid.is-scroller .sf-store-card {
    min-width: 260px;
    box-shadow: 0 14px 34px rgba(17, 17, 17, .05);
}

.sf-bottom-nav a {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.sf-bottom-nav a span {
    font-size: .72rem;
    font-weight: 700;
}

.sf-side-menu[hidden] {
    display: none !important;
}

.sf-side-menu {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.sf-side-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .42);
}

.sf-side-menu__panel {
    position: relative;
    z-index: 2;
    width: min(82vw, 300px);
    height: 100%;
    padding: 18px 16px;
    background: #fffdf5;
    box-shadow: 30px 0 80px rgba(17, 17, 17, .16);
    display: grid;
    align-content: start;
    gap: 18px;
}

.sf-side-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sf-side-menu__links {
    display: grid;
    gap: 8px;
}

.sf-side-menu__links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--sf-border);
    font-weight: 700;
}

.sf-mobile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}

.sf-mobile-location {
    display: grid;
    gap: 3px;
    text-align: left;
}

.sf-mobile-location strong {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.sf-mobile-location span {
    font-size: .72rem;
    color: #2f2f2f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-mobile-profile {
    width: 42px;
    height: 42px;
    border: 2px solid #111;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-mobile-profile svg {
    width: 24px;
    height: 24px;
}

.sf-searchbar--mobile {
    min-height: 60px;
    background: #f7f7f7;
    border-radius: 18px;
    box-shadow: none;
}

.sf-desktop-home-categories,
.sf-desktop-home-hero {
    display: none;
}

.sf-desktop-home-categories {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 12px;
}

.sf-desktop-home-categories__item {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.sf-desktop-home-categories__image {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    background: #edf6ff;
    overflow: hidden;
}

.sf-desktop-home-categories__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-desktop-home-categories__item span {
    font-size: .88rem;
    line-height: 1.18;
    text-align: center;
}

.sf-desktop-home-hero {
    gap: 22px;
}

.sf-desktop-home-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48%;
    align-items: center;
    min-height: 300px;
    padding: 0 44px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(90deg, #368941 0%, #5ba64b 36%, #d8ee83 100%);
    color: #fff;
}

.sf-desktop-home-hero__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-desktop-home-hero__copy {
    display: grid;
    gap: 16px;
}

.sf-desktop-home-hero__copy h2 {
    margin: 0;
    font-size: 3rem;
    line-height: .95;
    letter-spacing: -.04em;
}

.sf-desktop-home-hero__copy p {
    margin: 0;
    max-width: 20ch;
    font-size: 1.1rem;
    line-height: 1.35;
}

.sf-desktop-home-hero__copy span,
.sf-desktop-home-hero__tile span {
    display: inline-flex;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 12px;
    background: #fff;
    color: #2d2d2d;
    font-weight: 800;
}

.sf-desktop-home-hero__subgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sf-desktop-home-hero__tile {
    min-height: 240px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    align-items: end;
    padding: 24px 22px 0;
    border-radius: 22px;
    overflow: hidden;
}

.sf-desktop-home-hero__tile:nth-child(1) { background: linear-gradient(135deg, #14b8b6, #17c3be); color: #fff; }
.sf-desktop-home-hero__tile:nth-child(2) { background: linear-gradient(135deg, #f8c321, #ffd84d); color: #1f2937; }
.sf-desktop-home-hero__tile:nth-child(3) { background: linear-gradient(135deg, #dbeafe, #eef4ff); color: #1f2937; }

.sf-desktop-home-hero__tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.2;
}

.sf-desktop-home-hero__tile p {
    margin: 0 0 16px;
    font-size: .92rem;
    line-height: 1.35;
}

.sf-desktop-home-hero__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-product-card {
    padding: 10px;
    display: grid;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}

.sf-product-card__thumb {
    aspect-ratio: 1 / 1.04;
    border-radius: 16px;
    border: 1px solid #ececec;
    background: #fff;
    position: relative;
}

.sf-product-card__thumb img {
    object-fit: contain;
    padding: 14px;
}

.sf-product-card__discount-flag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 6px 9px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(21, 128, 61, .28);
    z-index: 2;
}

.sf-product-card__discount-flag small {
    display: block;
    margin-top: 2px;
    font-size: .58rem;
}

.sf-product-card__eta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    font-weight: 800;
    color: #1f2937;
}

.sf-product-card__eta::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid #8b8b8b;
    border-radius: 999px;
    display: inline-block;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 5px #7aa95c;
}

.sf-product-card h3 {
    font-size: 1rem;
    line-height: 1.24;
    min-height: 2.5em;
    font-weight: 700;
}

.sf-product-card__subtitle {
    font-size: .78rem;
    color: #6b7280;
}

.sf-product-card__price {
    display: grid;
    gap: 3px;
}

.sf-product-card__action {
    background: #fff;
    padding: 8px 18px;
    font-size: .9rem;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .storefront-shell {
        padding: 0;
    }

    .sf-header {
        background: linear-gradient(180deg, #ffd12f, #ffe26d);
        border-bottom: 0;
    }

    .sf-header__inner {
        padding: 20px 0 16px;
    }

    .sf-desktop-header {
        display: block;
    }

    .sf-app-chrome {
        display: none;
    }

    .sf-desktop-home-categories,
    .sf-desktop-home-hero {
        display: grid;
    }

    .sf-mobile-hero,
    .sf-app-section#categories {
        display: none;
    }

    .sf-home-shell {
        padding-top: 14px;
    }

    .sf-mobile-hero__track,
    .sf-home-product-grid--mobile,
    .sf-home-store-grid.is-scroller {
        overflow: visible;
        display: grid;
    }

    .sf-mobile-hero__slide {
        min-width: 0;
    }

    .sf-home-product-grid--mobile {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .sf-home-store-grid.is-scroller {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sf-home-product-grid--mobile .sf-product-card,
    .sf-home-store-grid.is-scroller .sf-store-card {
        min-width: 0;
    }

    .sf-bottom-nav,
    .sf-side-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .storefront-shell {
        padding: 0;
    }

    .sf-app-frame {
        width: 100%;
        box-shadow: none;
    }

    .sf-desktop-only {
        display: none !important;
    }

    .sf-container {
        width: min(100% - 8px, 420px);
    }

    .sf-header {
        background: linear-gradient(180deg, #ffd12f 0%, #ffd84b 100%);
        border-bottom: 0;
    }

    .sf-header__inner {
        padding: 8px 0 6px;
        min-height: auto;
    }

    .sf-desktop-header {
        display: none;
    }

    .sf-app-chrome {
        display: grid;
    }

    .sf-desktop-home-categories,
    .sf-desktop-home-hero {
        display: none;
    }

    .sf-wordmark__text {
        font-size: 1.9rem;
        line-height: .9;
    }

    .sf-cart-pill {
        min-width: 0;
        padding: 8px 10px;
        background: rgba(255,255,255,.92);
        color: #111;
        box-shadow: 0 10px 24px rgba(17, 17, 17, .08);
    }

    .sf-cart-pill div {
        display: grid;
        gap: 1px;
    }

    .sf-cart-pill span {
        font-size: .62rem;
        color: var(--sf-muted);
    }

    .sf-cart-pill strong {
        font-size: .9rem;
    }

    .sf-main {
        padding: 4px 0 96px;
    }

    .sf-mobile-hero__slide {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
        border-radius: 22px;
    }

    .sf-mobile-hero__copy h2 {
        font-size: clamp(1.05rem, 4.8vw, 1.45rem);
    }

    .sf-mobile-hero__copy p {
        max-width: none;
        font-size: .8rem;
    }

    .sf-mobile-hero__media {
        aspect-ratio: 16 / 11;
        border-radius: 18px;
    }

    .sf-app-grid--categories {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .sf-install-banner {
        display: none !important;
    }

    .sf-home-category-grid,
    .sf-home-product-grid,
    .sf-home-store-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .sf-home-category-tile,
    .sf-home-product-grid .sf-product-card,
    .sf-home-store-grid .sf-store-card {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .sf-home-category-tile {
        min-width: 108px;
        min-height: 132px;
        padding: 12px 10px;
        border-radius: 18px;
    }

    .sf-home-category-tile img {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .sf-home-category-tile span {
        font-size: .78rem;
        line-height: 1.2;
    }

    .sf-home-product-grid .sf-product-card,
    .sf-home-product-grid--mobile .sf-product-card {
        min-width: 164px;
        max-width: 164px;
    }

    .sf-home-store-grid .sf-store-card {
        min-width: 220px;
    }

    .sf-category-app-card {
        gap: 8px;
        padding: 10px 6px 8px;
        border-radius: 18px;
    }

    .sf-category-app-card__media {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .sf-category-app-card strong {
        font-size: .72rem;
    }

    .sf-promo-ribbon__card,
    .sf-offer-card-grid {
        grid-template-columns: 1fr;
    }

    .sf-promo-ribbon__card {
        padding: 14px;
        border-radius: 20px;
    }

    .sf-promo-ribbon__card h3,
    .sf-offer-card__copy h3 {
        font-size: 1rem;
    }

    .sf-promo-ribbon__card p,
    .sf-offer-card__copy p {
        font-size: .78rem;
    }

    .sf-home-product-grid--mobile .sf-product-card {
        min-width: 164px;
        max-width: 164px;
        padding: 10px;
        border-radius: 18px;
    }

    .sf-product-card__thumb img {
        padding: 10px;
    }

    .sf-product-card h3 {
        font-size: .88rem;
        min-height: 2.45em;
    }

    .sf-product-card__subtitle {
        font-size: .72rem;
    }

    .sf-product-card__action {
        padding: 7px 16px;
        font-size: .78rem;
    }

    .sf-offer-card {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 14px;
        border-radius: 18px;
    }

    .sf-offer-card--banner {
        grid-template-columns: 1fr;
    }

    .sf-offer-card--banner img {
        height: 130px;
    }

    .sf-home-store-grid.is-scroller,
    .sf-home-product-grid--mobile,
    .sf-mobile-hero__track {
        display: flex;
        overflow-x: auto;
        width: 100%;
        margin: 0;
    }

    .sf-home-store-grid.is-scroller .sf-store-card {
        min-width: 210px;
    }

    .sf-bottom-nav {
        display: flex;
        width: calc(100% - 10px);
        left: 5px;
        right: 5px;
        bottom: 5px;
        transform: none;
        border-radius: 20px;
        padding: 8px 6px;
    }
}

/* Final size tuning */
.sf-app-grid--categories {
    display: grid;
}

@media (min-width: 769px) {
    .sf-desktop-home-categories {
        max-width: 920px;
        margin: 0 auto;
        gap: 8px;
    }

    .sf-desktop-home-categories__image {
        width: 68px;
        height: 68px;
        border-radius: 14px;
    }

    .sf-desktop-home-categories__item span {
        font-size: .76rem;
    }

    .sf-desktop-home-hero {
        max-width: 1120px;
        margin: 0 auto;
        gap: 14px;
    }

    .sf-desktop-home-hero__main {
        min-height: 196px;
        padding: 0 24px;
        border-radius: 26px;
    }

    .sf-desktop-home-hero__copy h2 {
        font-size: 1.95rem;
    }

    .sf-desktop-home-hero__copy p {
        font-size: .88rem;
    }

    .sf-desktop-home-hero__copy span,
    .sf-desktop-home-hero__tile span {
        padding: 9px 14px;
        font-size: .82rem;
    }

    .sf-desktop-home-hero__subgrid {
        gap: 14px;
    }

    .sf-desktop-home-hero__tile {
        min-height: 160px;
        padding: 16px 16px 0;
    }

    .sf-desktop-home-hero__tile strong {
        font-size: .86rem;
    }

    .sf-desktop-home-hero__tile p {
        font-size: .76rem;
    }

    .sf-home-product-grid--mobile {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .sf-home-product-grid--mobile .sf-product-card {
        padding: 9px;
        border-radius: 16px;
    }

    .sf-home-product-grid--mobile .sf-product-card__thumb {
        border-radius: 12px;
    }

    .sf-home-product-grid--mobile .sf-product-card__action {
        min-width: 72px;
        padding: 7px 12px;
        font-size: .76rem;
    }

    .sf-home-store-grid.is-scroller .sf-store-card {
        min-width: 204px;
    }
}

@media (max-width: 768px) {
    .sf-desktop-only {
        display: none !important;
    }

    .sf-mobile-only {
        display: block !important;
    }

    .sf-main {
        padding-bottom: 92px;
    }

    .sf-install-banner {
        display: none !important;
    }

    .sf-app-frame {
        max-width: 390px;
        margin: 0 auto;
        background: var(--sf-bg);
    }

    .sf-container {
        width: calc(100% - 24px) !important;
        max-width: 366px;
        padding-left: 0;
        padding-right: 0;
    }

    .sf-header__inner {
        gap: 10px;
    }

    .sf-home-shell .sf-container {
        gap: 14px;
    }

    .sf-mobile-header {
        gap: 10px;
    }

    .sf-mobile-location strong {
        font-size: 1rem;
        line-height: 1.05;
    }

    .sf-mobile-location span {
        font-size: .72rem;
    }

    .sf-mobile-profile {
        width: 40px;
        height: 40px;
    }

    .sf-searchbar--mobile {
        min-height: 48px;
        padding: 0 12px;
        border-radius: 15px;
        background: #fbfbfb;
    }

    .sf-searchbar--mobile input {
        font-size: .78rem;
    }

    .sf-searchbar__submit--mobile,
    .sf-searchbar__icon {
        width: 28px;
        height: 28px;
    }

    .sf-app-section {
        margin-top: 14px;
    }

    .sf-app-section__head {
        margin-bottom: 10px;
    }

    .sf-mobile-hero__slide {
        grid-template-columns: 1fr;
        padding: 8px;
        gap: 0;
        border-radius: 16px;
        background: linear-gradient(180deg, #ffd23f, #ffcf2c);
        box-shadow: none;
    }

    .sf-mobile-hero__copy {
        display: none;
    }

    .sf-mobile-hero__media {
        aspect-ratio: 16 / 9.6;
        max-height: 158px;
        border-radius: 12px;
        background: #fff3b2;
    }

    .sf-app-section__head h2 {
        font-size: .9rem;
        letter-spacing: -.03em;
        font-weight: 700;
    }

    .sf-app-section__head a {
        font-size: .74rem;
    }

    .sf-app-grid--categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .sf-category-app-card {
        padding: 7px 3px 6px;
        border-radius: 14px;
        gap: 4px;
        min-height: 84px;
        background: #fff;
        border: 1px solid #ececec;
        box-shadow: 0 2px 10px rgba(17, 17, 17, .03);
    }

    .sf-category-app-card__media {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: linear-gradient(180deg, #f5fbff, #eef6ff);
    }

    .sf-category-app-card strong {
        font-size: .58rem;
        line-height: 1.2;
    }

    .sf-promo-ribbon__card {
        padding: 12px;
        border-radius: 18px;
    }

    .sf-promo-ribbon__card h3,
    .sf-offer-card__copy h3 {
        font-size: 1rem;
    }

    .sf-promo-ribbon__card p,
    .sf-offer-card__copy p {
        font-size: .78rem;
    }

    .sf-promo-ribbon__card img {
        height: 88px;
    }

    .sf-home-product-grid .sf-product-card,
    .sf-home-product-grid--mobile .sf-product-card {
        min-width: 116px !important;
        max-width: 116px !important;
        padding: 7px;
        border-radius: 14px;
        box-shadow: none;
    }

    .sf-product-card__thumb {
        aspect-ratio: 1 / .9;
        border-radius: 10px;
        background: #fffef9;
    }

    .sf-product-card__thumb img {
        padding: 7px;
    }

    .sf-product-card__placeholder {
        gap: 4px;
        padding: 8px;
    }

    .sf-product-card__placeholder span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: .92rem;
    }

    .sf-product-card__placeholder small {
        font-size: .56rem;
    }

    .sf-product-card h3 {
        font-size: .66rem;
        min-height: 2.15em;
        line-height: 1.18;
    }

    .sf-product-card__subtitle {
        font-size: .6rem;
    }

    .sf-product-card__eta {
        font-size: .62rem;
    }

    .sf-product-card__price {
        min-width: 0;
        gap: 3px;
        font-size: .7rem;
        line-height: 1.1;
    }

    .sf-product-card__price strong {
        font-size: .68rem;
    }

    .sf-product-card__price small {
        font-size: .58rem;
    }

    .sf-product-card__footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 6px;
    }

    .sf-product-card__footer form {
        margin: 0;
    }

    .sf-product-card__action {
        min-width: 58px;
        padding: 4px 9px;
        font-size: .62rem;
        line-height: 1;
        white-space: nowrap;
        text-align: center;
        border-radius: 999px;
    }

    .sf-product-card__discount-flag {
        font-size: .62rem;
        padding: 6px 5px 4px;
    }

    .sf-home-product-grid,
    .sf-home-product-grid--mobile,
    .sf-home-store-grid.is-scroller {
        gap: 8px;
        padding-bottom: 4px;
    }

    .sf-offer-card {
        padding: 12px;
        border-radius: 16px;
    }

    .sf-offer-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .sf-offer-card--banner img {
        height: 78px;
    }

    .sf-home-store-grid .sf-store-card,
    .sf-home-store-grid.is-scroller .sf-store-card {
        min-width: 176px;
    }

    .sf-bottom-nav {
        width: calc(100% - 10px);
        max-width: 380px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 4px;
        padding: 6px 4px;
        border-radius: 18px;
    }

    .sf-bottom-nav a {
        gap: 3px;
    }

    .sf-bottom-nav a span {
        font-size: .68rem;
    }

.sf-bottom-nav svg {
    width: 20px;
    height: 20px;
}
}

/* Storefront v2 page-level screens */
.sf-quick-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.sf-quick-strip__item {
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, .04);
}

.sf-quick-strip__item strong,
.sf-summary-card__eyebrow,
.sf-stage-card__badge {
    display: block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #111;
}

.sf-quick-strip__item span {
    display: block;
    margin-top: 5px;
    color: #5f5f5f;
    font-size: .83rem;
    line-height: 1.45;
}

.sf-stage-card {
    position: relative;
}

.sf-stage-card__badge {
    margin-bottom: 10px;
    color: #6a5a00;
}

.sf-checkout-layout--v2 {
    align-items: start;
}

.sf-checkout-summary h2,
.sf-summary-card h2 {
    letter-spacing: -.03em;
}

.sf-payment-grid--v2 {
    margin-bottom: 14px;
}

.sf-toggle-row--highlight {
    border: 1px solid rgba(255, 209, 47, .5);
    background: #fffbe8;
}

.sf-mini-cart-list--v2 {
    gap: 12px;
}

.sf-mini-cart-row__copy p {
    margin: 4px 0 0;
}

.sf-info-stack {
    display: grid;
    gap: 10px;
    margin: 16px 0 18px;
}

.sf-info-stack__item {
    padding: 12px 14px;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #efefef;
}

.sf-info-stack__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: .88rem;
}

.sf-info-stack__item span {
    color: #5f5f5f;
    font-size: .8rem;
}

.sf-ticket-stack--wide {
    gap: 16px;
}

.sf-order-list-card--v3 {
    border-radius: 24px;
    padding: 20px;
}

.sf-order-metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.sf-order-metric-strip div {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 1px solid #ededed;
}

.sf-order-metric-strip strong {
    display: block;
    font-size: .95rem;
    line-height: 1.2;
}

.sf-order-metric-strip span {
    display: block;
    margin-top: 4px;
    font-size: .76rem;
    color: #5f5f5f;
}

.sf-order-progress-card--v2 {
    margin-bottom: 22px;
}

.sf-order-metric-strip--side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
}

.sf-order-metric-strip--tracking {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.sf-wallet-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.sf-wallet-insight-card {
    height: 100%;
}

.sf-order-metric-strip--wallet {
    margin-top: 6px;
}

.sf-support-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sf-support-topics span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    font-size: .78rem;
    font-weight: 600;
    color: #303030;
}

.sf-chat-thread {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.sf-chat-bubble {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: .9rem;
    line-height: 1.45;
    font-weight: 600;
}

.sf-chat-bubble--agent {
    justify-self: start;
    background: #f3f4f6;
    color: #111111;
    border-bottom-left-radius: 5px;
}

.sf-support-topic-option {
    cursor: pointer;
}

.sf-support-topic-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-support-topic-option input:checked + span {
    background: var(--sf-yellow);
    border-color: var(--sf-yellow);
    color: #111111;
}

.sf-support-summary {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    margin: 14px 0 12px;
}

.sf-support-summary strong {
    font-size: .88rem;
}

.sf-support-summary span {
    color: #374151;
    line-height: 1.45;
    font-size: .88rem;
}

.sf-support-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #374151;
    font-size: .88rem;
    font-weight: 600;
}

.sf-profile-hero--v2 {
    margin-bottom: 18px;
}

.sf-shortcut-grid--profile {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-home-shell--managed .sf-dynamic-home-stack {
    display: grid;
    gap: 18px;
}

.sf-location-modal__actions {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.sf-location-modal__manual {
    display: grid;
    gap: 8px;
}

.sf-location-modal__manual label {
    font-size: .84rem;
    font-weight: 700;
    color: #111;
}

.sf-location-modal__manual-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.sf-location-modal__manual-row input {
    min-width: 0;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.sf-location-modal__feedback {
    margin: 0;
    font-size: .78rem;
}

.sf-location-modal__feedback[data-state="error"] {
    color: #c2410c;
}

.sf-location-modal__feedback[data-state="success"] {
    color: #166534;
}

.sf-location-modal__feedback[data-state="loading"] {
    color: #4b5563;
}

.sf-product-card__stepper {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, .22);
    background: #fff;
}

.sf-product-card__stepper-btn {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #f1fff5;
    color: #16a34a;
    font-weight: 800;
    cursor: pointer;
}

.sf-product-card__stepper strong {
    min-width: 22px;
    text-align: center;
    font-size: .78rem;
    color: #16a34a;
}

.sf-product-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sf-product-card__action-plus {
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 991px) {
    .sf-quick-strip,
    .sf-wallet-top-grid,
    .sf-shortcut-grid--profile {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-order-metric-strip--tracking {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sf-quick-strip,
    .sf-wallet-top-grid,
    .sf-shortcut-grid--profile,
    .sf-order-metric-strip,
    .sf-order-metric-strip--side,
    .sf-order-metric-strip--tracking {
        grid-template-columns: 1fr;
    }

    .sf-quick-strip {
        gap: 10px;
        margin: 14px 0 18px;
    }

    .sf-quick-strip__item {
        padding: 12px 14px;
        border-radius: 16px;
        box-shadow: none;
    }

    .sf-order-list-card--v3 {
        padding: 16px;
        border-radius: 18px;
    }

    .sf-support-topics {
        gap: 6px;
    }

    .sf-support-topics span {
        padding: 8px 10px;
        font-size: .72rem;
    }

    .sf-info-stack__item,
    .sf-order-metric-strip div {
        border-radius: 14px;
    }

    .sf-location-modal__manual-row {
        grid-template-columns: 1fr;
    }

    .sf-product-card__action-label {
        display: none;
    }
}

/* UX cleanup overrides */
.sf-home-product-grid.is-scroller::-webkit-scrollbar,
.sf-home-product-grid--mobile::-webkit-scrollbar,
.sf-home-store-grid.is-scroller::-webkit-scrollbar,
.sf-mobile-hero__track::-webkit-scrollbar,
.sf-search-quick-row::-webkit-scrollbar {
    display: none;
}

.sf-home-product-grid.is-scroller,
.sf-home-product-grid--mobile,
.sf-home-store-grid.is-scroller,
.sf-mobile-hero__track,
.sf-search-quick-row {
    scrollbar-width: none;
}

.storefront-shell--v2 .sf-network-pill {
    top: 92px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 32px);
    border-radius: 999px;
    box-shadow: none;
}

.storefront-shell--v2 .sf-floating-cart-bar {
    bottom: 76px;
    left: 0;
    right: 0;
    padding: 0 12px;
    z-index: 32;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner {
    border-radius: 18px;
    min-height: 56px;
    padding: 14px 18px;
    box-shadow: none;
}

.sf-bottom-nav {
    box-shadow: none;
}

.sf-product-card,
.sf-store-card,
.sf-side-card,
.sf-summary-card,
.sf-page-hero,
.sf-order-progress-card,
.sf-tracking-map-card,
.sf-empty-card,
.sf-quick-strip__item,
.sf-wallet-balance-card,
.sf-ticket-card,
.sf-order-list-card--v3 {
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .sf-app-frame {
        max-width: none;
        width: 100%;
    }

    .sf-container {
        width: calc(100% - 20px) !important;
        max-width: none;
    }

    .sf-main {
        padding-bottom: 152px;
    }

    .sf-header__inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .sf-searchbar--mobile {
        min-height: 50px;
        border-radius: 16px;
    }

    .sf-searchbar__field {
        min-width: 0;
    }

    .sf-front-section,
    .sf-app-section,
    .sf-home-shell--managed .sf-dynamic-home-stack {
        gap: 12px;
        margin-bottom: 0;
    }

    .sf-front-section__head,
    .sf-app-section__head {
        align-items: center;
        margin-bottom: 8px;
    }

    .sf-front-section__head h2,
    .sf-app-section__head h2 {
        font-size: 1rem;
    }

    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller,
    .sf-home-product-grid--mobile,
    .sf-home-store-grid,
    .sf-home-store-grid.is-scroller,
    .sf-mobile-hero__track {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .sf-mobile-hero,
    .sf-mobile-hero__dots {
        display: none !important;
    }

    .sf-home-store-grid,
    .sf-home-store-grid.is-scroller {
        grid-template-columns: 1fr;
    }

    .sf-home-product-grid .sf-product-card,
    .sf-home-product-grid.is-scroller .sf-product-card,
    .sf-home-product-grid--mobile .sf-product-card,
    .sf-home-store-grid .sf-store-card,
    .sf-home-store-grid.is-scroller .sf-store-card {
        min-width: 0 !important;
        max-width: none !important;
        width: 100%;
    }

    .sf-product-card {
        padding: 8px;
        border-radius: 16px;
    }

    .sf-product-card__thumb {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .sf-product-card__thumb img {
        padding: 8px;
    }

    .sf-product-card h3 {
        font-size: .78rem;
        min-height: 2.35em;
    }

    .sf-product-card__subtitle {
        font-size: .66rem;
    }

    .sf-product-card__footer {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
    }

    .sf-product-card__footer form,
    .sf-product-card__action,
    .sf-product-card__stepper {
        width: 100%;
    }

    .sf-product-card__action,
    .sf-product-card__stepper {
        min-height: 34px;
        justify-content: center;
    }

    .sf-product-card__stepper {
        grid-template-columns: 1fr auto 1fr;
    }

    .sf-product-card__stepper-btn {
        width: 100%;
        min-width: 28px;
    }

    .sf-bottom-nav {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        transform: none;
        bottom: 8px;
        border-radius: 18px;
        padding: 6px 4px;
        background: rgba(255, 255, 255, 0.98);
    }

    .sf-bottom-nav a {
        min-width: 0;
        padding: 8px 4px;
    }

    .sf-bottom-nav a span {
        font-size: .64rem;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-floating-cart-bar {
        bottom: 82px;
        padding: 0 10px;
    }

    .storefront-shell--v2 .sf-floating-cart-bar__inner {
        min-height: 52px;
        padding: 12px 16px;
    }

    .storefront-shell--v2 .sf-network-pill {
        top: 118px;
        max-width: calc(100% - 40px);
        padding: 12px 18px;
    }
}

@media (min-width: 769px) {
    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .sf-home-store-grid,
    .sf-home-store-grid.is-scroller {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .sf-home-product-grid.is-scroller,
    .sf-home-store-grid.is-scroller,
    .sf-mobile-hero__track {
        overflow: visible;
    }
}

/* Final storefront fit-and-finish overrides */
.sf-main {
    overflow-x: clip;
}

.sf-front-section,
.sf-app-section,
.sf-empty-card,
.sf-page-hero,
.sf-quick-strip__item,
.sf-wallet-balance-card,
.sf-ticket-card,
.sf-order-list-card--v3,
.sf-side-card,
.sf-summary-card {
    background-image: none !important;
}

.sf-front-section {
    padding: 18px 0 0;
}

.sf-front-section__head,
.sf-app-section__head {
    margin-bottom: 10px;
}

.sf-home-product-grid,
.sf-home-product-grid.is-scroller,
.sf-home-product-grid--mobile {
    align-items: start;
}

.sf-product-card {
    height: 100%;
    align-content: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #ffffff;
}

.sf-product-card__thumb {
    aspect-ratio: 1 / .84;
    min-height: 0;
    border-radius: 16px;
    background: #fbfcfd;
}

.sf-product-card__thumb img {
    padding: 12px;
}

.sf-product-card__placeholder {
    background: #f5f9ff;
}

.sf-product-card h3 {
    margin: 0;
    min-height: 0;
    font-size: .98rem;
    line-height: 1.3;
}

.sf-product-card__subtitle {
    margin-top: -2px;
    font-size: .8rem;
}

.sf-product-card__price {
    gap: 1px;
}

.sf-product-card__price strong {
    font-size: 1.02rem;
    line-height: 1.15;
}

.sf-product-card__price small {
    font-size: .77rem;
}

.sf-product-card__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.sf-product-card__action,
.sf-product-card__stepper {
    min-height: 38px;
}

.sf-product-card__action {
    padding: 0 14px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 800;
}

.sf-product-card__stepper {
    min-width: 104px;
    padding: 3px;
}

.sf-product-card__stepper-btn {
    width: 30px;
    height: 30px;
}

.storefront-shell--v2 .sf-network-pill {
    left: 50%;
    right: auto;
    top: 98px;
    transform: translateX(-50%);
    min-height: 0;
    padding: 10px 16px;
    border-radius: 999px;
    max-width: min(360px, calc(100% - 32px));
    z-index: 18;
}

.storefront-shell--v2 .sf-floating-cart-bar {
    left: 0;
    right: 0;
    padding: 0 16px;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner {
    width: min(100%, 520px);
    margin: 0 auto;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner div {
    min-width: 0;
}

.storefront-shell--v2 .sf-floating-cart-bar__inner strong,
.storefront-shell--v2 .sf-floating-cart-bar__inner span,
.storefront-shell--v2 .sf-floating-cart-bar__cta {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sf-main {
        padding-bottom: 164px;
    }

    .sf-front-section {
        padding-top: 14px;
    }

    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller,
    .sf-home-product-grid--mobile,
    .sf-mobile-hero__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sf-product-card {
        padding: 10px;
        gap: 8px;
        border-radius: 16px;
    }

    .sf-product-card__thumb {
        aspect-ratio: 1 / .92;
        border-radius: 14px;
    }

    .sf-product-card__thumb img {
        padding: 10px;
    }

    .sf-product-card__eta {
        font-size: .68rem;
    }

    .sf-product-card h3 {
        font-size: .88rem;
        line-height: 1.28;
    }

    .sf-product-card__subtitle {
        font-size: .73rem;
    }

    .sf-product-card__price strong {
        font-size: .95rem;
    }

    .sf-product-card__price small {
        font-size: .72rem;
    }

    .sf-product-card__footer {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .sf-product-card__action,
    .sf-product-card__stepper,
    .sf-product-card__footer form {
        width: 100%;
    }

    .sf-product-card__action,
    .sf-product-card__stepper {
        min-height: 36px;
    }

    .sf-product-card__action {
        padding: 0 10px;
        border-radius: 11px;
        font-size: .88rem;
    }

    .sf-product-card__stepper {
        min-width: 0;
    }

    .sf-product-card__action-label {
        display: none;
    }

    .sf-bottom-nav {
        width: calc(100% - 16px);
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 4px 2px;
        border-radius: 18px;
    }

    .sf-bottom-nav a {
        padding: 8px 2px;
    }

    .sf-bottom-nav a span {
        font-size: .63rem;
    }

    .storefront-shell--v2 .sf-floating-cart-bar {
        bottom: 84px;
        padding: 0 8px;
    }

    .storefront-shell--v2 .sf-floating-cart-bar__inner {
        width: 100%;
        min-height: 54px;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .storefront-shell--v2 .sf-network-pill {
        top: 106px;
        padding: 10px 16px;
        max-width: calc(100% - 28px);
    }
}

@media (min-width: 769px) {
    .sf-container {
        width: min(100% - 40px, 1320px);
    }

    .sf-front-section {
        padding-top: 20px;
    }

    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .sf-home-store-grid,
    .sf-home-store-grid.is-scroller {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
    }

    .sf-product-card {
        max-width: 100%;
    }

    .sf-product-card__thumb {
        aspect-ratio: 1 / .8;
    }
}

/* Mobile app recreation pass */
.sf-wordmark--mobile {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.sf-wordmark--mobile .sf-wordmark__text {
    font-size: 1.15rem;
    line-height: 1;
}

.sf-mobile-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sf-mobile-menu,
.sf-mobile-icon-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-mobile-menu svg,
.sf-mobile-icon-button svg {
    width: 22px;
    height: 22px;
}

.sf-mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-mobile-cart-pill {
    min-width: 96px;
    height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    font-weight: 800;
}

.sf-mobile-cart-pill svg {
    width: 20px;
    height: 20px;
}

.sf-mobile-cart-pill strong {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #2daa37;
    color: #ffffff;
    font-size: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-mobile-delivery-card {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}

.sf-mobile-delivery-card__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.sf-mobile-delivery-card__copy span {
    font-size: .74rem;
    color: #6b7280;
}

.sf-mobile-delivery-card__copy strong {
    font-size: .95rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-mobile-delivery-card__eta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f4fbf2;
    color: #1b7f2a;
    font-size: .82rem;
    font-weight: 800;
}

.sf-mobile-delivery-card__eta svg {
    width: 16px;
    height: 16px;
}

.sf-mobile-category-hero {
    display: none;
}

.sf-offer-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-offer-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 22px;
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
}

.sf-offer-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #ffcd3c;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
}

.sf-offer-card__copy strong {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
}

.sf-offer-card__copy p {
    margin: 6px 0 10px;
    font-size: .84rem;
    color: #4b5563;
}

.sf-offer-card__copy span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #ececec;
    font-size: .74rem;
    font-weight: 700;
    color: #374151;
}

.sf-feature-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px 0 0;
}

.sf-feature-chip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 22px;
    background: #ffffff;
}

.sf-feature-chip__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #f4fbf2;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-feature-chip__icon svg {
    width: 18px;
    height: 18px;
}

.sf-feature-chip__copy {
    display: grid;
    gap: 2px;
}

.sf-feature-chip__copy strong {
    font-size: .92rem;
    line-height: 1.2;
}

.sf-feature-chip__copy span {
    font-size: .78rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .storefront-shell {
        background: #fbfbfb;
    }

    .sf-header {
        background: #ffffff;
        border-bottom: 1px solid #f0f0f0;
    }

    .sf-header__inner {
        gap: 10px;
    }

    .sf-app-chrome {
        display: grid;
        gap: 12px;
    }

    .sf-mobile-header {
        gap: 12px;
    }

    .sf-wordmark--mobile .sf-wordmark__text {
        font-size: 2rem;
        font-weight: 900;
        letter-spacing: -0.05em;
    }

    .sf-searchbar--mobile {
        min-height: 56px;
        padding: 0 14px;
        border: 1px solid #e8e8e8;
        border-radius: 16px;
        background: #ffffff;
    }

    .sf-searchbar--mobile input {
        font-size: .94rem;
    }

    .sf-search-quick-row {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .sf-search-history-chip {
        flex: 0 0 auto;
        padding: 8px 12px;
        border: 1px solid #ececec;
        border-radius: 999px;
        background: #ffffff;
        font-size: .75rem;
        color: #4b5563;
    }

    .sf-home-shell--managed .sf-dynamic-home-stack {
        display: grid;
        gap: 18px;
    }

    .sf-home-shell--managed .sf-front-section {
        padding-top: 0;
    }

    .sf-home-shell--managed .sf-front-section__head {
        margin-bottom: 12px;
    }

    .sf-home-shell--managed .sf-front-section__head h2 {
        font-size: 1.18rem;
        font-weight: 800;
    }

    .sf-home-shell--managed .sf-front-section__head p {
        display: none;
    }

    .sf-home-shell--managed .sf-front-section__cta {
        padding: 0;
        border: 0;
        background: transparent;
        color: #111827;
        font-size: .88rem;
        font-weight: 800;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__head {
        display: none;
    }

    .sf-mini-banner-grid--hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner {
        min-height: 210px;
        padding: 18px;
        border-radius: 22px;
        background: linear-gradient(135deg, #f4fde9 0%, #ffffff 82%);
        display: grid;
        grid-template-columns: minmax(0, 1fr) 132px;
        align-items: center;
        gap: 10px;
        overflow: hidden;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner div {
        display: grid;
        gap: 8px;
        align-content: center;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner strong {
        font-size: 1.95rem;
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner span {
        font-size: .9rem;
        line-height: 1.4;
        color: #374151;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        justify-self: end;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner--image_only {
        display: block;
        padding: 0;
        background: #fff;
    }

    .sf-mini-banner-grid--hero .sf-mini-banner--image_only img {
        min-height: 210px;
        object-fit: cover;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-grid {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: 78px;
        gap: 10px;
        overflow-x: auto !important;
        padding-bottom: 4px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-tile {
        min-height: 100px;
        padding: 10px 8px;
        border-radius: 18px;
        justify-items: center;
        text-align: center;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-tile__top {
        width: 52px;
        height: 52px;
        margin: 0 auto;
        border-radius: 16px;
        background: #f6fbef;
        display: grid;
        place-items: center;
        overflow: hidden;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-tile__top img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-tile__top small {
        display: none;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="category_grid"] .sf-home-category-tile span {
        font-size: .78rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid,
    .sf-home-shell--managed .sf-dynamic-section[data-section-type="store_scroller"] .sf-home-store-grid {
        display: grid !important;
        grid-auto-flow: column;
        overflow-x: auto !important;
        gap: 12px;
        padding-bottom: 4px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        grid-auto-columns: 156px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="store_scroller"] .sf-home-store-grid {
        grid-auto-columns: minmax(260px, 84vw);
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card {
        width: 156px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__thumb {
        aspect-ratio: 1 / .9;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_grid"] .sf-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-product-card {
        border-radius: 18px;
        padding: 10px;
        gap: 8px;
    }

    .sf-product-card__thumb {
        aspect-ratio: 1 / .88;
        border-radius: 14px;
    }

    .sf-product-card__topline {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sf-product-card__rating {
        display: none;
    }

    .sf-product-card h3 {
        font-size: .92rem;
        min-height: 2.35em;
    }

    .sf-product-card__subtitle {
        font-size: .8rem;
    }

    .sf-product-card__price strong {
        font-size: 1rem;
    }

    .sf-product-card__action,
    .sf-product-card__stepper {
        min-height: 34px;
        border-radius: 999px;
    }

    .sf-product-card__action {
        font-size: .86rem;
        color: #2daa37;
    }

    .sf-page-hero--catalog {
        display: none;
    }

    .sf-mobile-category-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 120px;
        gap: 10px;
        align-items: center;
        min-height: 184px;
        padding: 18px;
        margin-bottom: 14px;
        border-radius: 22px;
        background: linear-gradient(135deg, #28a018 0%, #47bc2a 100%);
        color: #ffffff;
        overflow: hidden;
    }

    .sf-mobile-category-hero__copy {
        display: grid;
        gap: 8px;
    }

    .sf-mobile-category-hero .sf-page-kicker {
        background: rgba(255,255,255,.16);
        color: #ffffff;
    }

    .sf-mobile-category-hero h1 {
        margin: 0;
        font-size: 1.7rem;
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .sf-mobile-category-hero p {
        margin: 0;
        font-size: .88rem;
        line-height: 1.4;
        color: rgba(255,255,255,.92);
    }

    .sf-mobile-category-hero .sf-primary-link {
        width: max-content;
        padding: 10px 16px;
        border-radius: 999px;
        background: #ffffff;
        color: #111111;
        font-weight: 800;
    }

    .sf-mobile-category-hero__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .sf-tab-rail--categories {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-bottom: 14px;
    }

    .sf-tab-chip {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid #ececec;
        font-size: .82rem;
        font-weight: 700;
    }

    .sf-tab-chip.is-active {
        background: #2daa37;
        border-color: #2daa37;
        color: #ffffff;
    }

    .sf-catalog-grid,
    .sf-home-product-grid.sf-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .sf-front-section + .sf-front-section {
        margin-top: 18px;
    }

    .sf-bottom-nav {
        background: rgba(255,255,255,.98);
        border: 1px solid #ececec;
    }

    .sf-bottom-nav a {
        color: #6b7280;
    }

    .sf-bottom-nav a.is-active {
        background: transparent;
        color: #2daa37;
    }
}

/* Final mobile parity overrides */
.storefront-shell--v2 .sf-network-pill {
    display: none !important;
}

@media (max-width: 768px) {
    .sf-mobile-brandbar {
        min-width: 0;
        gap: 8px;
    }

    .sf-wordmark--mobile {
        flex: 1 1 auto;
        min-width: 0;
    }

    .sf-wordmark--mobile .sf-wordmark__text {
        font-size: 1.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sf-mobile-header__actions {
        gap: 6px;
        flex-shrink: 0;
    }

    .sf-mobile-menu,
    .sf-mobile-icon-button {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .sf-mobile-menu svg,
    .sf-mobile-icon-button svg {
        width: 20px;
        height: 20px;
    }

    .sf-mobile-cart-pill {
        min-width: 82px;
        height: 38px;
        padding: 0 8px;
        border-radius: 12px;
        gap: 6px;
    }

    .sf-mobile-cart-pill svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .sf-mobile-cart-pill span {
        font-size: .78rem;
        white-space: nowrap;
    }

    .sf-mobile-delivery-card {
        padding: 10px 12px;
        border-radius: 16px;
    }

    .sf-mobile-delivery-card__copy strong {
        font-size: .88rem;
    }

    .sf-mobile-delivery-card__eta {
        padding: 8px 10px;
        border-radius: 12px;
        font-size: .77rem;
    }

    .sf-searchbar--mobile {
        min-height: 52px;
        border-radius: 15px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner {
        min-height: 188px;
        padding: 15px;
        grid-template-columns: minmax(0, 1fr) 116px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner strong {
        font-size: 1.55rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner span {
        font-size: .82rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        grid-auto-columns: 126px;
        gap: 10px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card {
        width: 126px;
        padding: 9px;
        gap: 6px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__thumb {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__thumb img {
        padding: 8px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card h3 {
        font-size: .82rem;
        min-height: 2.1em;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__subtitle {
        font-size: .7rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__price strong {
        font-size: .9rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__price small {
        font-size: .68rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__action,
    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__stepper {
        min-height: 30px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__stepper-btn {
        width: 24px;
        height: 24px;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__stepper strong {
        font-size: .72rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__discount-flag {
        padding: 6px 5px 4px;
        font-size: .64rem;
    }

    .sf-home-shell--managed .sf-dynamic-section[data-section-type="product_scroller"] .sf-product-card__discount-flag small {
        font-size: .5rem;
    }

    .sf-catalog-grid,
    .sf-home-product-grid.sf-catalog-grid {
        gap: 10px;
    }

    .sf-catalog-grid .sf-product-card {
        padding: 10px;
    }

    .sf-catalog-grid .sf-product-card__thumb {
        aspect-ratio: 1 / .96;
    }

    .sf-catalog-grid .sf-product-card h3 {
        font-size: .88rem;
    }

    .sf-offer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sf-offer-card {
        padding: 14px;
        border-radius: 18px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .sf-offer-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .sf-offer-card__copy strong {
        font-size: .92rem;
    }

    .sf-offer-card__copy p {
        margin: 4px 0 8px;
        font-size: .78rem;
    }

    .sf-offer-card__copy span {
        font-size: .7rem;
    }

    .sf-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sf-feature-chip {
        padding: 12px;
        border-radius: 18px;
        gap: 10px;
    }

    .sf-feature-chip__icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .sf-feature-chip__copy strong {
        font-size: .82rem;
    }

    .sf-feature-chip__copy span {
        font-size: .7rem;
    }
}

/* Final mobile fit override: keep the web storefront full-width on phones. */
@media (max-width: 768px) {
    .storefront-shell--v2,
    .storefront-shell--v2 .sf-container,
    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-main {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .storefront-shell--v2 .sf-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .sf-bottom-nav {
        left: 8px !important;
        right: 8px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        padding: 8px 6px !important;
    }

    .sf-bottom-nav a,
    .sf-bottom-nav button {
        min-width: 0 !important;
        width: 100%;
        justify-content: center;
    }

    .sf-bottom-nav span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Production storefront compact pass */
.sf-header-service-selector,
.sf-header-service-strip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #f8f8f8;
}

.sf-header-service-strip {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
}

.sf-header-service-strip::-webkit-scrollbar {
    display: none;
}

.sf-header-service-selector a,
.sf-header-service-strip a {
    white-space: nowrap;
    border-radius: 999px;
    padding: 8px 11px;
    color: #4b5563;
    font-size: .78rem;
    font-weight: 800;
}

.sf-header-service-selector a.is-active,
.sf-header-service-strip a.is-active {
    background: #111;
    color: #fff;
}

.sf-side-menu__links button,
.sf-footer__column button {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    color: #111;
    padding: 12px 14px;
    text-align: left;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sf-auth-modal[hidden] {
    display: none;
}

.sf-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 18px;
}

.sf-auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .48);
}

.sf-auth-modal__panel {
    position: relative;
    width: min(100%, 430px);
    border-radius: 22px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
    overflow: hidden;
}

.sf-auth-modal__close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
}

.sf-auth-modal__head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.sf-auth-modal__head img {
    max-width: 150px;
    max-height: 44px;
    object-fit: contain;
}

.sf-auth-modal__head h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.sf-auth-modal__head p,
.sf-auth-modal__link {
    color: #6b7280;
    font-size: .88rem;
}

.sf-auth-form {
    display: grid;
    gap: 12px;
}

.sf-auth-form label {
    display: grid;
    gap: 6px;
    font-size: .84rem;
    font-weight: 800;
}

.sf-auth-form input[type="email"],
.sf-auth-form input[type="password"],
.sf-auth-form input[type="tel"],
.sf-auth-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 14px;
    font: inherit;
}

.sf-auth-form__remember {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    font-weight: 700 !important;
    color: #4b5563;
}

.sf-auth-form button {
    min-height: 50px;
    border: 0;
    border-radius: 15px;
    background: #111;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.sf-auth-modal__link {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 800;
}

.sf-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .94);
    transition: opacity .18s ease, visibility .18s ease;
}

.sf-page-ready .sf-page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sf-page-loader lottie-player {
    width: 132px;
    height: 132px;
}

.sf-page-loader span {
    width: 46px;
    height: 46px;
    border: 4px solid #e5e7eb;
    border-top-color: #111;
    border-radius: 999px;
    animation: sf-auth-spin .8s linear infinite;
}

.sf-page-loader lottie-player + span {
    display: none;
}

.sf-auth-panel {
    display: grid;
    gap: 12px;
}

.sf-auth-form [data-auth-step-pane="contact"] {
    display: grid;
    gap: 12px;
}

.sf-auth-form [hidden],
.sf-auth-panel[hidden] {
    display: none !important;
}

.sf-auth-email-toggle {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
}

.sf-auth-recaptcha {
    min-height: 1px;
}

[data-cart-form].is-cart-pending {
    opacity: .72;
    pointer-events: none;
}

@keyframes sf-auth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* App-aligned store screens and final product card fit overrides. */
.storefront-shell--v2 .sf-nearby-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 16px;
}

.storefront-shell--v2 .sf-nearby-head h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.storefront-shell--v2 .sf-nearby-head p {
    margin: 4px 0 0;
    color: #647083;
    font-size: .94rem;
}

.storefront-shell--v2 .sf-nearby-head__location {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    background: #f3f6fb;
    color: #111827;
    padding: 0 14px;
    font-weight: 900;
    cursor: pointer;
}

.storefront-shell--v2 .sf-nearby-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: start;
}

.storefront-shell--v2 .sf-store-card {
    overflow: hidden;
    border: 1px solid #e7ecf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .07);
}

.storefront-shell--v2 .sf-store-card__cover {
    position: relative;
    display: block;
    height: 118px;
    overflow: visible;
    background: #f7f8fa;
}

.storefront-shell--v2 .sf-store-card__cover > img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.storefront-shell--v2 .sf-store-card__open {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    padding: 6px 10px;
    font-size: .75rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.storefront-shell--v2 .sf-store-card__open.is-open {
    color: #15803d;
}

.storefront-shell--v2 .sf-store-card__logo {
    position: absolute;
    left: 14px;
    bottom: -24px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .1);
}

.storefront-shell--v2 .sf-store-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-shell--v2 .sf-store-card__body {
    padding: 30px 14px 14px;
}

.storefront-shell--v2 .sf-store-card__title-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.storefront-shell--v2 .sf-store-card__title {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: #111827;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-store-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    padding: 4px 7px;
    font-size: .76rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-store-card__subtitle {
    margin: 5px 0 0;
    overflow: hidden;
    color: #5f6775;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .86rem;
}

.storefront-shell--v2 .sf-store-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 8px;
    color: #374151;
    font-size: .78rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-app-store {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 16px 120px;
    background: #f8f8f8;
}

.storefront-shell--v2 .sf-app-store__topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.storefront-shell--v2 .sf-app-store__topbar a,
.storefront-shell--v2 .sf-app-store__topbar button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.storefront-shell--v2 .sf-app-store__topbar strong {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-shell--v2 .sf-app-store__hero {
    position: relative;
    height: clamp(190px, 24vw, 300px);
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    background: #eef1f6;
}

.storefront-shell--v2 .sf-app-store__hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-shell--v2 .sf-app-store__identity {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    margin: -28px 0 14px;
    padding: 0 4px;
    position: relative;
    z-index: 2;
}

.storefront-shell--v2 .sf-app-store__logo {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

.storefront-shell--v2 .sf-app-store__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-shell--v2 .sf-app-store__identity h1 {
    margin: 32px 0 4px;
    color: #111827;
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.storefront-shell--v2 .sf-app-store__identity p {
    margin: 0;
    color: #5f6775;
}

.storefront-shell--v2 .sf-app-store__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 8px;
    color: #374151;
    font-size: .82rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-app-store__info {
    margin: 0 0 12px;
}

.storefront-shell--v2 .sf-app-store__offer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border: 1px solid #f8df86;
    border-radius: 16px;
    background: #fff9df;
    color: #7c5300;
    padding: 12px 14px;
    font-weight: 900;
}

.storefront-shell--v2 .sf-app-store__search {
    position: sticky;
    top: 58px;
    z-index: 60;
    margin-bottom: 10px;
    background: #fff;
}

.storefront-shell--v2 .sf-app-store__categories {
    position: sticky;
    top: 124px;
    z-index: 59;
    margin-bottom: 18px;
    background: #f8f8f8;
    padding-block: 8px;
}

.storefront-shell--v2 .sf-app-store__catalog {
    display: grid;
    gap: 18px;
}

.storefront-shell--v2 .sf-app-store__reviews {
    margin-top: 22px;
}

.storefront-shell--v2 .sf-product-card {
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
}

.storefront-shell--v2 .sf-product-card__thumb {
    float: none !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto;
}

.storefront-shell--v2 .sf-product-card__thumb img,
.storefront-shell--v2 .sf-product-card__image-slide {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.storefront-shell--v2 .sf-product-card > a:not(.sf-product-card__thumb),
.storefront-shell--v2 .sf-product-card h3,
.storefront-shell--v2 .sf-product-card__subtitle,
.storefront-shell--v2 .sf-product-card__tags {
    min-width: 0;
}

.storefront-shell--v2 .sf-product-card__subtitle {
    flex: 1 1 auto;
}

.storefront-shell--v2 .sf-product-card__footer {
    margin-top: auto !important;
    align-items: end !important;
}

.storefront-shell--v2 .sf-product-card__price {
    min-width: 0;
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-app-store {
        padding-inline: 12px;
    }

    .storefront-shell--v2 .sf-app-store__identity {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .storefront-shell--v2 .sf-app-store__logo {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .storefront-shell--v2 .sf-app-store__identity h1 {
        margin-top: 24px;
    }

    .storefront-shell--v2 .sf-nearby-head {
        margin-top: 10px;
    }

    .storefront-shell--v2 .sf-nearby-store-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .storefront-shell--v2 .sf-container {
        width: min(100%, 1560px);
    }

    .storefront-shell--v2 .sf-desktop-header__top,
    .sf-desktop-header__top {
        display: grid !important;
        grid-template-columns: minmax(120px, 150px) minmax(168px, 230px) minmax(190px, max-content) minmax(220px, 1fr) max-content !important;
        grid-template-areas: "brand location services search actions" !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .storefront-shell--v2 .sf-wordmark--desktop,
    .sf-wordmark--desktop {
        grid-area: brand !important;
        min-width: 0 !important;
    }

    .storefront-shell--v2 .sf-wordmark--desktop .sf-wordmark__text,
    .sf-wordmark--desktop .sf-wordmark__text {
        font-size: clamp(1.45rem, 2vw, 2rem) !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-wordmark__tagline {
        white-space: nowrap !important;
        font-size: .72rem !important;
    }

    .storefront-shell--v2 .sf-desktop-location,
    .sf-desktop-location {
        grid-area: location !important;
        min-width: 0 !important;
        padding: 10px 12px !important;
    }

    .storefront-shell--v2 .sf-desktop-location strong,
    .sf-desktop-location strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-header-service-selector,
    .sf-header-service-selector {
        grid-area: services !important;
        min-width: 0 !important;
        max-width: 330px !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    .storefront-shell--v2 .sf-header-service-selector::-webkit-scrollbar,
    .sf-header-service-selector::-webkit-scrollbar {
        display: none;
    }

    .storefront-shell--v2 .sf-header-service-selector a,
    .sf-header-service-selector a {
        min-height: 42px !important;
        padding: 0 12px !important;
        font-size: .8rem !important;
    }

    .storefront-shell--v2 .sf-desktop-search,
    .sf-desktop-search {
        grid-area: search !important;
        min-width: 0 !important;
        min-height: 52px !important;
    }

    .storefront-shell--v2 .sf-desktop-search input,
    .sf-desktop-search input {
        min-width: 0 !important;
        text-overflow: ellipsis;
    }

    .storefront-shell--v2 .sf-desktop-actions,
    .sf-desktop-actions {
        grid-area: actions !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        min-width: 0 !important;
    }

    .storefront-shell--v2 .sf-desktop-link,
    .sf-desktop-link {
        display: inline-flex !important;
        min-height: 52px !important;
        align-items: center !important;
        white-space: nowrap !important;
        padding: 0 12px !important;
        font-size: .84rem !important;
    }

    .storefront-shell--v2 .sf-desktop-cart,
    .sf-desktop-cart {
        min-height: 52px !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        white-space: nowrap !important;
    }

    .storefront-shell--v2 .sf-desktop-cart strong,
    .sf-desktop-cart strong {
        font-size: .92rem !important;
    }
}

.sf-product-card {
    border-radius: 14px !important;
    padding: 9px !important;
    gap: 7px !important;
}

.sf-product-card__thumb {
    height: 118px !important;
    border-radius: 12px !important;
}

.sf-product-card h3 {
    font-size: .84rem !important;
    line-height: 1.22 !important;
    min-height: 2.05em !important;
}

.sf-product-card__subtitle {
    font-size: .72rem !important;
    min-height: 1em !important;
}

.sf-product-card__topline,
.sf-product-card__eta,
.sf-product-card__rating {
    font-size: .66rem !important;
}

.sf-product-card__price strong {
    font-size: .86rem !important;
}

.sf-product-card__price small {
    font-size: .68rem !important;
}

.sf-product-card__action,
.sf-product-card__stepper {
    min-height: 32px !important;
    border-radius: 10px !important;
}

@media (min-width: 769px) {
    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 12px !important;
    }

    .sf-home-product-grid.is-scroller .sf-product-card {
        min-width: 150px !important;
    }
}

@media (max-width: 768px) {
    .sf-header-service-selector {
        display: none;
    }

    .sf-product-card__thumb {
        height: 96px !important;
    }

    .sf-home-product-grid,
    .sf-home-product-grid.is-scroller,
    .sf-home-product-grid--mobile,
    .sf-home-product-grid.sf-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .sf-home-product-grid .sf-product-card,
    .sf-home-product-grid.is-scroller .sf-product-card,
    .sf-home-product-grid--mobile .sf-product-card,
    .sf-catalog-grid .sf-product-card {
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }
}

/* Mobile app polish: final layer for storefront catalog screens. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        background: #f7f8f6;
    }

    .storefront-shell--v2 .sf-header {
        position: sticky;
        top: 0;
        z-index: 70;
        border-bottom: 1px solid rgba(17, 24, 39, .06);
        background: rgba(247, 248, 246, .96);
        backdrop-filter: blur(18px);
    }

    .storefront-shell--v2 .sf-header__inner {
        padding: 8px 0 10px !important;
    }

    .storefront-shell--v2 .sf-app-chrome,
    .storefront-shell--v2 .sf-mobile-header {
        display: grid !important;
        width: 100% !important;
        gap: 9px !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px !important;
        width: 100%;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-mobile-icon-button,
    .storefront-shell--v2 .sf-mobile-cart-pill {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border: 1px solid rgba(17, 24, 39, .08) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .06) !important;
        color: #111827 !important;
    }

    .storefront-shell--v2 .sf-wordmark--mobile {
        min-width: 0;
        overflow: hidden;
    }

    .storefront-shell--v2 .sf-wordmark--mobile .sf-wordmark__text {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1.12rem !important;
        line-height: 1;
    }

    .storefront-shell--v2 .sf-wordmark--mobile img {
        max-width: 136px !important;
        height: 30px !important;
    }

    .storefront-shell--v2 .sf-mobile-header__actions {
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px !important;
        margin-left: 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-cart-pill {
        position: relative;
        padding: 0 !important;
        justify-content: center !important;
    }

    .storefront-shell--v2 .sf-mobile-cart-pill span {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-cart-pill strong {
        position: absolute !important;
        top: -8px !important;
        right: -6px !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 6px !important;
        border: 2px solid #f7f8f6;
        border-radius: 999px !important;
        background: #16a34a !important;
        color: #fff !important;
        font-size: .68rem !important;
        line-height: 16px !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100% !important;
        min-height: 58px !important;
        padding: 11px 12px !important;
        border: 1px solid rgba(17, 24, 39, .08) !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .06) !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy {
        min-width: 0;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span {
        font-size: .7rem !important;
        color: #6b7280 !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .94rem !important;
        line-height: 1.2 !important;
        color: #030712 !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        height: 34px !important;
        padding: 0 11px !important;
        border-radius: 999px !important;
        background: #ecfdf3 !important;
        color: #15803d !important;
        font-size: .78rem !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) 38px;
        width: 100% !important;
        min-height: 48px !important;
        padding: 0 6px 0 13px !important;
        border: 1px solid rgba(17, 24, 39, .08) !important;
        border-radius: 17px !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .05) !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input {
        min-width: 0;
        font-size: .9rem !important;
    }

    .storefront-shell--v2 .sf-searchbar__submit {
        width: 38px !important;
        height: 38px !important;
        border-radius: 13px !important;
        background: #111827 !important;
        color: #fff !important;
    }

    .storefront-shell--v2 .sf-header-service-strip {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        width: 100% !important;
        padding: 0 !important;
        gap: 8px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .storefront-shell--v2 .sf-header-service-strip a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 14px !important;
        border: 1px solid rgba(17, 24, 39, .08);
        border-radius: 999px !important;
        background: #fff;
        color: #4b5563 !important;
        font-size: .78rem !important;
        box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
        scroll-snap-align: start;
    }

    .storefront-shell--v2 .sf-header-service-strip a.is-active {
        border-color: #111827;
        background: #111827 !important;
        color: #fff !important;
    }

    .storefront-shell--v2 .sf-main {
        padding-top: 10px !important;
        padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    }

    .storefront-shell--v2 .sf-main > .sf-container,
    .storefront-shell--v2 .sf-page-shell > .sf-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .storefront-shell--v2 .sf-page-hero--catalog,
    .storefront-shell--v2 .sf-tab-rail--categories,
    .storefront-shell--v2 .sf-front-section__head {
        display: none !important;
    }

    .storefront-shell--v2 .sf-front-section {
        margin: 0 !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-catalog-count {
        margin: 0;
        color: #6b7280;
        font-size: .82rem;
        font-weight: 700;
    }

    .storefront-shell--v2 .sf-home-product-grid.sf-catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 10px !important;
        padding: 0 2px !important;
    }

    .storefront-shell--v2 .sf-home-product-grid.sf-catalog-grid .sf-product-card {
        display: grid !important;
        grid-template-rows: auto auto auto auto minmax(0, 1fr);
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 9px !important;
        border: 1px solid rgba(17, 24, 39, .07) !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .06) !important;
    }

    .storefront-shell--v2 .sf-home-product-grid.sf-catalog-grid .sf-product-card__thumb {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / .82 !important;
        border-radius: 13px !important;
        background: linear-gradient(135deg, #f8fbff, #eef7f1) !important;
    }

    .storefront-shell--v2 .sf-product-card__discount-flag {
        top: 8px !important;
        left: 8px !important;
        min-width: 34px !important;
        height: 34px !important;
        font-size: .67rem !important;
        box-shadow: 0 8px 18px rgba(22, 163, 74, .25) !important;
    }

    .storefront-shell--v2 .sf-product-card__placeholder span {
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
        font-size: 1rem !important;
    }

    .storefront-shell--v2 .sf-product-card__placeholder small {
        font-size: .68rem !important;
    }

    .storefront-shell--v2 .sf-product-card__topline {
        margin-top: 1px !important;
    }

    .storefront-shell--v2 .sf-product-card__eta::before {
        width: 7px !important;
        height: 7px !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        display: -webkit-box;
        min-height: 2.36em !important;
        margin: 0 !important;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: .86rem !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .7rem !important;
        color: #6b7280 !important;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        align-self: end;
        gap: 7px !important;
    }

    .storefront-shell--v2 .sf-product-card__price strong {
        font-size: .9rem !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        width: 100% !important;
        min-height: 34px !important;
        border-radius: 12px !important;
        font-size: .86rem !important;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        font-size: 1rem !important;
    }

    .storefront-shell--v2 .sf-bottom-nav {
        left: 10px !important;
        right: 10px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: auto !important;
        min-height: 64px !important;
        padding: 7px 8px !important;
        border: 1px solid rgba(17, 24, 39, .08) !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 18px 44px rgba(15, 23, 42, .16) !important;
        backdrop-filter: blur(18px);
    }

    .storefront-shell--v2 .sf-bottom-nav a,
    .storefront-shell--v2 .sf-bottom-nav button {
        display: grid !important;
        grid-template-rows: 22px 14px;
        place-items: center;
        gap: 3px !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 48px !important;
        padding: 0 !important;
        border-radius: 15px !important;
        color: #6b7280 !important;
        font-size: .68rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .storefront-shell--v2 .sf-bottom-nav svg {
        width: 22px !important;
        height: 22px !important;
    }

    .storefront-shell--v2 .sf-bottom-nav span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .68rem !important;
    }

    .storefront-shell--v2 .sf-bottom-nav a.is-active,
    .storefront-shell--v2 .sf-bottom-nav button.is-active {
        background: #f0fdf4 !important;
        color: #15803d !important;
    }
}

/* Mobile page polish for cart and product detail screens. */
@media (max-width: 768px) {
    .storefront-shell--v2 .sf-mobile-header {
        grid-template-columns: max-content minmax(0, 1fr) !important;
        grid-template-areas:
            "brand delivery"
            "search search"
            "services services";
        align-items: center;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        grid-area: brand;
        grid-template-columns: 40px auto !important;
        width: auto !important;
        min-width: 0;
    }

    .storefront-shell--v2 .sf-wordmark--mobile {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-header__actions {
        gap: 6px !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        grid-area: delivery;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 9px 10px !important;
        border-radius: 17px !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        height: 32px !important;
        padding: 0 9px !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        grid-area: search;
    }

    .storefront-shell--v2 .sf-header-service-strip {
        grid-area: services;
    }

    .storefront-shell--v2 .sf-page-shell,
    .storefront-shell--v2 .sf-section {
        padding: 0 0 calc(100px + env(safe-area-inset-bottom)) !important;
    }

    .storefront-shell--v2 .sf-section > .sf-container {
        width: 100% !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .storefront-shell--v2 .sf-card-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center !important;
        gap: 10px !important;
        margin: 2px 0 12px !important;
        padding: 0 2px !important;
    }

    .storefront-shell--v2 .sf-card-head h1 {
        margin: 2px 0 0 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1rem !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
    }

    .storefront-shell--v2 .sf-section-chip {
        margin: 0 !important;
        padding: 6px 10px !important;
        font-size: .67rem !important;
    }

    .storefront-shell--v2 .sf-card-head .sf-secondary-link {
        min-height: 40px !important;
        padding: 0 14px !important;
        border-radius: 15px !important;
        background: #fff7d6 !important;
        color: #111827 !important;
        font-size: .82rem !important;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-cart-layout,
    .storefront-shell--v2 .sf-checkout-layout,
    .storefront-shell--v2 .sf-order-detail-layout,
    .storefront-shell--v2 .sf-tracking-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .storefront-shell--v2 .sf-cart-item-stack {
        gap: 12px !important;
    }

    .storefront-shell--v2 .sf-cart-item {
        display: grid !important;
        grid-template-columns: 78px minmax(0, 1fr);
        grid-template-areas:
            "thumb copy"
            "actions actions";
        gap: 10px 12px !important;
        padding: 12px !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .07) !important;
    }

    .storefront-shell--v2 .sf-cart-item__thumb {
        grid-area: thumb;
        width: 78px !important;
        height: 78px !important;
        border-radius: 16px !important;
        background: #f4f5f7 !important;
    }

    .storefront-shell--v2 .sf-empty-thumb {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        color: #6b7280;
        font-size: 1.05rem;
    }

    .storefront-shell--v2 .sf-cart-item__content {
        grid-area: copy;
        align-content: start !important;
        min-width: 0;
        gap: 7px !important;
    }

    .storefront-shell--v2 .sf-cart-item__content strong {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: .95rem !important;
        line-height: 1.2 !important;
    }

    .storefront-shell--v2 .sf-cart-item__price {
        gap: 8px !important;
        min-width: 0;
    }

    .storefront-shell--v2 .sf-cart-item__price small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .75rem !important;
    }

    .storefront-shell--v2 .sf-cart-item__price span {
        font-size: .94rem !important;
        font-weight: 800;
    }

    .storefront-shell--v2 .sf-cart-item__actions {
        grid-area: actions;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center !important;
        gap: 10px !important;
        justify-items: stretch !important;
    }

    .storefront-shell--v2 .sf-stepper {
        display: inline-grid !important;
        grid-template-columns: 40px 38px 40px;
        align-items: center;
        justify-content: start;
        width: max-content !important;
        min-height: 44px !important;
        padding: 4px !important;
        border: 1px solid #d8f0ce !important;
        border-radius: 15px !important;
        background: #f3ffee !important;
    }

    .storefront-shell--v2 .sf-stepper button {
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
        background: #218716 !important;
        color: #fff !important;
        font-size: 1rem !important;
    }

    .storefront-shell--v2 .sf-stepper strong {
        text-align: center;
        font-size: .95rem !important;
    }

    .storefront-shell--v2 .sf-cart-item__actions .sf-text-link {
        padding: 0 !important;
        justify-content: end;
        background: transparent !important;
        color: #dc2626 !important;
        font-size: .86rem !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-summary-card {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .storefront-shell--v2 .sf-product-detail {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 12px !important;
        border: 1px solid rgba(17, 24, 39, .07);
        border-radius: 20px !important;
        background: #fff;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .07) !important;
    }

    .storefront-shell--v2 .sf-product-detail__media {
        display: grid;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / .62 !important;
        place-items: center;
        overflow: hidden;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #fffdf4, #eef6ff);
    }

    .storefront-shell--v2 .sf-product-detail__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 16px;
    }

    .storefront-shell--v2 .sf-product-detail__placeholder {
        display: grid;
        width: 56px !important;
        height: 56px !important;
        place-items: center;
        border-radius: 18px !important;
        background: #eef6ff;
        color: #0f172a;
        font-size: 1.15rem !important;
        font-weight: 900;
    }

    .storefront-shell--v2 .sf-product-detail__content {
        display: grid;
        gap: 10px !important;
        min-width: 0;
    }

    .storefront-shell--v2 .sf-product-detail__content h1 {
        margin: 0 !important;
        font-size: 1.25rem !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
    }

    .storefront-shell--v2 .sf-product-detail__content p {
        margin: 0 !important;
        color: #6b7280 !important;
        font-size: .88rem !important;
        line-height: 1.45 !important;
    }

    .storefront-shell--v2 .sf-product-detail__facts,
    .storefront-shell--v2 .sf-variant-list,
    .storefront-shell--v2 .sf-product-detail .sf-inline-actions {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .storefront-shell--v2 .sf-product-detail__facts strong {
        font-size: 1.15rem !important;
    }

    .storefront-shell--v2 .sf-variant-chip {
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        background: #f3f4f6;
        color: #374151;
        display: inline-flex;
        align-items: center;
        font-size: .78rem;
        font-weight: 800;
    }

    .storefront-shell--v2 .sf-product-detail .sf-primary-link,
    .storefront-shell--v2 .sf-product-detail .sf-secondary-link {
        min-height: 44px !important;
        padding: 0 16px !important;
        border-radius: 15px !important;
        font-size: .86rem !important;
    }
}

@media (max-width: 430px) {
    .storefront-shell--v2 .sf-mobile-header {
        grid-template-columns: 128px minmax(0, 1fr) !important;
    }

    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-mobile-icon-button,
    .storefront-shell--v2 .sf-mobile-cart-pill {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__eta span {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__eta {
        width: 32px !important;
        padding: 0 !important;
        justify-content: center !important;
    }
}

/* Storefront polish: service dropdown, mobile header, auth, and suggestions. */
.storefront-shell--v2 .sf-header-service-select {
    grid-area: services;
    display: grid;
    gap: 4px;
    min-width: 160px;
    color: #667085;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.storefront-shell--v2 .sf-header-service-select select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 16px;
    background: #fff;
    color: #111827;
    padding: 0 34px 0 13px;
    font-size: .9rem;
    font-weight: 900;
    box-shadow: 0 12px 32px rgba(17, 17, 17, .05);
}

.storefront-shell--v2 .sf-mobile-brand-name {
    overflow: hidden;
    color: #111827;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 900;
}

.storefront-shell--v2 .sf-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 16px;
    background: #f4f5f7;
}

.storefront-shell--v2 .sf-auth-tabs button {
    min-height: 42px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #667085;
    font-weight: 900;
    cursor: pointer;
}

.storefront-shell--v2 .sf-auth-tabs button.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.storefront-shell--v2 .sf-auth-otp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.storefront-shell--v2 .sf-auth-otp-row button {
    min-height: 48px;
    padding: 0 13px;
    border-radius: 14px;
    background: #ecfdf3;
    color: #15803d;
}

.storefront-shell--v2 .sf-auth-note,
.storefront-shell--v2 .sf-auth-modal__links {
    margin: 10px 0 0;
    color: #667085;
    font-size: .8rem;
}

.storefront-shell--v2 .sf-auth-modal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

@media (min-width: 769px) {
    .storefront-shell--v2 .sf-desktop-header__top,
    .sf-desktop-header__top {
        grid-template-columns: minmax(120px, 150px) minmax(168px, 230px) minmax(160px, 190px) minmax(220px, 1fr) max-content !important;
        grid-template-areas: "brand location services search actions" !important;
    }
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-container {
        padding-inline: 14px !important;
    }

    .storefront-shell--v2 .sf-header__inner {
        padding: 10px 0 12px !important;
    }

    .storefront-shell--v2 .sf-mobile-header {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        grid-template-columns: 42px minmax(0, 1fr) minmax(72px, auto) !important;
        padding: 0 2px !important;
    }

    .storefront-shell--v2 .sf-header-service-select {
        width: 100%;
        min-width: 0;
    }

    .storefront-shell--v2 .sf-header-service-select select,
    .storefront-shell--v2 .sf-mobile-delivery-card,
    .storefront-shell--v2 .sf-searchbar--mobile {
        border-radius: 18px !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .07) !important;
    }

    .storefront-shell--v2 .sf-main {
        padding-top: 16px !important;
        padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    }

    .storefront-shell--v2 .sf-front-section,
    .storefront-shell--v2 .sf-page-shell,
    .storefront-shell--v2 .sf-section {
        padding-inline: 2px !important;
    }

    .storefront-shell--v2 .sf-bottom-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom)) !important;
    }

    .storefront-shell--v2 .sf-bottom-nav a,
    .storefront-shell--v2 .sf-bottom-nav button {
        min-width: 0 !important;
        padding-inline: 2px !important;
    }

    .storefront-shell--v2 .sf-bottom-nav span {
        font-size: .62rem !important;
    }
}

/* Zepto-inspired storefront sections seeded by ZeptoStyleFrontendSeeder. */
.storefront-shell--v2 .sf-page-shell--home > .sf-container {
    display: grid;
    gap: 16px;
}

.storefront-shell--v2 .sf-front-section {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .07) !important;
    border-radius: 18px !important;
    background: #fff !important;
    padding: 18px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06) !important;
}

.storefront-shell--v2 .sf-front-section__head {
    align-items: center !important;
    margin-bottom: 14px !important;
}

.storefront-shell--v2 .sf-front-section__head h2 {
    margin: 4px 0 2px !important;
    font-size: clamp(1.08rem, 1.7vw, 1.5rem) !important;
    line-height: 1.08 !important;
}

.storefront-shell--v2 .sf-section-chip {
    min-height: 24px !important;
    border-color: rgba(130, 71, 229, .18) !important;
    background: #f5f0ff !important;
    color: #6d28d9 !important;
    font-size: .66rem !important;
}

.storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] {
    border: 0 !important;
    background: linear-gradient(135deg, #3b0764 0%, #7c3aed 52%, #fb7185 100%) !important;
    color: #fff !important;
    padding: 22px !important;
}

.storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-section-chip {
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .26) !important;
}

.storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] h2,
.storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] p,
.storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__cta {
    color: #fff !important;
}

.storefront-shell--v2 .sf-mini-banner-grid--hero {
    grid-template-columns: 1fr !important;
}

.storefront-shell--v2 .sf-mini-banner-grid--hero .sf-mini-banner {
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
    padding: 24px;
}

.storefront-shell--v2 .sf-mini-banner-grid--hero .sf-mini-banner strong {
    display: block;
    max-width: 620px;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    line-height: .95;
    font-weight: 950;
}

.storefront-shell--v2 .sf-mini-banner-grid--hero .sf-mini-banner span {
    display: block;
    max-width: 520px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    font-weight: 700;
}

.storefront-shell--v2 .sf-home-category-grid {
    grid-template-columns: repeat(var(--desktop-cols, 8), minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.storefront-shell--v2 .sf-home-category-tile {
    min-height: 128px;
    border: 1px solid #eef0f3 !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
    padding: 10px !important;
}

.storefront-shell--v2 .sf-home-category-tile__top {
    min-height: 78px;
    border-radius: 14px !important;
    background: #f4f7fb !important;
}

.storefront-shell--v2 .sf-home-category-tile img {
    width: 66px !important;
    height: 66px !important;
    object-fit: contain !important;
}

.storefront-shell--v2 .sf-home-category-tile > span {
    min-height: 2.35em;
    color: #172033 !important;
    font-size: .78rem !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
}

.storefront-shell--v2 .sf-home-product-grid {
    grid-template-columns: repeat(var(--desktop-cols, 6), minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.storefront-shell--v2 .sf-home-product-grid.is-scroller {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(160px, 176px) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 10px !important;
    scroll-snap-type: x proximity;
}

.storefront-shell--v2 .sf-home-product-grid.is-scroller .sf-product-card {
    scroll-snap-align: start;
}

.storefront-shell--v2 .sf-product-card {
    border: 1px solid #eef0f3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    padding: 10px !important;
    box-shadow: none !important;
}

.storefront-shell--v2 .sf-product-card__thumb {
    height: 128px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
}

.storefront-shell--v2 .sf-product-card__thumb img {
    padding: 8px;
    object-fit: contain !important;
}

.storefront-shell--v2 .sf-product-card h3 {
    min-height: 2.4em !important;
    font-size: .88rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.storefront-shell--v2 .sf-product-card__subtitle,
.storefront-shell--v2 .sf-product-card__tags {
    font-size: .72rem !important;
}

.storefront-shell--v2 .sf-product-card__action,
.storefront-shell--v2 .sf-product-card__stepper {
    border-color: #dcfce7 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
    font-weight: 950 !important;
}

.storefront-shell--v2 .sf-feature-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.storefront-shell--v2 .sf-generic-section-grid {
    display: grid;
    grid-template-columns: repeat(var(--desktop-cols, 4), minmax(0, 1fr));
    gap: 12px;
}

.storefront-shell--v2 .sf-generic-section-card {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 12px;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    background: #fff;
    color: #172033;
    text-decoration: none;
}

.storefront-shell--v2 .sf-generic-section-card img {
    width: 100%;
    height: 82px;
    border-radius: 12px;
    background: #f8fafc;
    object-fit: cover;
}

.storefront-shell--v2 .sf-generic-section-card span {
    font-size: .88rem;
    line-height: 1.2;
    font-weight: 900;
}

.storefront-shell--v2 .sf-generic-section-card small {
    color: #64748b;
    font-size: .72rem;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-page-shell--home > .sf-container {
        gap: 12px;
    }

    .storefront-shell--v2 .sf-front-section {
        border-radius: 16px !important;
        padding: 14px !important;
    }

    .storefront-shell--v2 .sf-front-section__head {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .storefront-shell--v2 .sf-front-section__head p {
        display: none;
    }

    .storefront-shell--v2 .sf-home-category-grid {
        grid-template-columns: repeat(var(--mobile-cols, 4), minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .storefront-shell--v2 .sf-home-category-tile {
        min-height: 106px;
        padding: 8px !important;
    }

    .storefront-shell--v2 .sf-home-category-tile__top {
        min-height: 58px;
    }

    .storefront-shell--v2 .sf-home-category-tile img {
        width: 50px !important;
        height: 50px !important;
    }

    .storefront-shell--v2 .sf-home-category-tile > span {
        font-size: .68rem !important;
    }

    .storefront-shell--v2 .sf-home-product-grid,
    .storefront-shell--v2 .sf-home-product-grid.is-scroller {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(138px, 148px) !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding-bottom: 8px !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_grid"] .sf-home-product-grid {
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-template-columns: repeat(var(--mobile-cols, 2), minmax(0, 1fr)) !important;
        overflow: visible !important;
    }

    .storefront-shell--v2 .sf-product-card {
        padding: 8px !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        height: 104px !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        font-size: .78rem !important;
    }

    .storefront-shell--v2 .sf-product-card__topline,
    .storefront-shell--v2 .sf-product-card__tags,
    .storefront-shell--v2 .sf-product-card__brand {
        display: none !important;
    }

    .storefront-shell--v2 .sf-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .storefront-shell--v2 .sf-generic-section-grid {
        grid-template-columns: repeat(var(--mobile-cols, 2), minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-front-section__head,
    .storefront-shell--v2 .sf-app-section__head,
    .sf-home-shell--managed .sf-front-section__head,
    .sf-home-shell--managed .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__head {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .storefront-shell--v2 .sf-front-section__head > div,
    .storefront-shell--v2 .sf-app-section__head > div {
        min-width: 0;
    }

    .storefront-shell--v2 .sf-front-section__head h2,
    .storefront-shell--v2 .sf-app-section__head h2,
    .sf-home-shell--managed .sf-front-section__head h2 {
        display: block !important;
        margin: 4px 0 3px !important;
        color: #172033 !important;
        font-size: 1rem !important;
        line-height: 1.18 !important;
        font-weight: 900 !important;
        letter-spacing: 0 !important;
    }

    .storefront-shell--v2 .sf-front-section__head p,
    .storefront-shell--v2 .sf-app-section__head p,
    .sf-home-shell--managed .sf-front-section__head p {
        display: block !important;
        margin: 0 !important;
        max-width: 34ch;
        color: #64748b !important;
        font-size: .76rem !important;
        line-height: 1.28 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__head h2,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__head p {
        color: #fff !important;
    }
}

/* Zepto reference mobile visual layer. */
@media (max-width: 768px) {
    html,
    body.storefront-shell--v2 {
        background: #fff !important;
        color: #171717 !important;
        font-family: Inter, Arial, sans-serif !important;
        letter-spacing: 0 !important;
    }

    .storefront-shell--v2 .sf-top-strip,
    .storefront-shell--v2 .sf-footer {
        display: none !important;
    }

    .storefront-shell--v2 .sf-header {
        position: sticky !important;
        top: 0;
        z-index: 60;
        border-bottom: 1px solid #eceff3 !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-header__inner,
    .storefront-shell--v2 .sf-container,
    .storefront-shell--v2 .sf-main > .sf-container,
    .storefront-shell--v2 .sf-page-shell--home > .sf-container {
        width: 100% !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-header {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 8px 14px 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-menu {
        width: 30px !important;
        height: 30px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #191919 !important;
    }

    .storefront-shell--v2 .sf-wordmark--mobile {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-brand-name,
    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        overflow: hidden;
        color: #191919 !important;
        font-weight: 900 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-mobile-brand-name {
        justify-self: start !important;
        max-width: 100%;
        font-size: 1rem !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        min-height: 34px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy span,
    .storefront-shell--v2 .sf-mobile-delivery-card__eta,
    .storefront-shell--v2 .sf-header-service-select {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong {
        display: block;
        font-size: .9rem !important;
        font-weight: 700 !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card__copy strong::before {
        content: "\25CF";
        margin-right: 6px;
        color: #7a1fd1;
        font-family: Arial, sans-serif;
        font-weight: 900;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        display: grid !important;
        grid-template-columns: 24px minmax(0, 1fr) 0 !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 16px !important;
        border: 1px solid #e7e8ec !important;
        border-radius: 9px !important;
        background: #fff !important;
        box-shadow: 0 1px 1px rgba(15, 23, 42, .03) !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input {
        color: #343434 !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile input::placeholder {
        color: #4b5563 !important;
        opacity: 1;
    }

    .storefront-shell--v2 .sf-searchbar__submit {
        width: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
    }

    .storefront-shell--v2 .sf-main {
        padding-top: 0 !important;
        padding-bottom: calc(146px + env(safe-area-inset-bottom)) !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-page-shell,
    .storefront-shell--v2 .sf-page-shell--home {
        padding: 0 !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        position: sticky;
        top: 102px;
        z-index: 55;
        display: flex !important;
        gap: 0 !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 0 0 18px !important;
        overflow-x: auto !important;
        border-bottom: 1px solid #edf0f2;
        background: #fff;
        scrollbar-width: none;
    }

    .storefront-shell--v2 .sf-tab-rail--categories::-webkit-scrollbar,
    .storefront-shell--v2 .sf-home-product-grid::-webkit-scrollbar {
        display: none;
    }

    .storefront-shell--v2 .sf-tab-chip {
        position: relative;
        flex: 0 0 auto;
        min-height: 48px;
        padding: 15px 15px 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        box-shadow: none !important;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-tab-chip:first-child::after {
        position: absolute;
        right: 8px;
        bottom: 0;
        left: 8px;
        height: 3px;
        border-radius: 999px 999px 0 0;
        background: #111;
        content: "";
    }

    .storefront-shell--v2 .sf-front-section {
        margin: 0 !important;
        padding: 20px 16px 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-front-section__head,
    .storefront-shell--v2 .sf-app-section__head {
        display: flex !important;
        margin-bottom: 18px !important;
        padding: 0 6px !important;
    }

    .storefront-shell--v2 .sf-section-chip {
        display: none !important;
    }

    .storefront-shell--v2 .sf-front-section__head h2,
    .storefront-shell--v2 .sf-app-section__head h2 {
        margin: 0 !important;
        color: #151515 !important;
        font-size: 1.12rem !important;
        line-height: 1.18 !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-front-section__head p,
    .storefront-shell--v2 .sf-app-section__head p {
        display: block !important;
        margin-top: 4px !important;
        color: #6f7480 !important;
        font-size: .78rem !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;
    }

    .storefront-shell--v2 .sf-front-section__cta {
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #e91e63 !important;
        box-shadow: none !important;
        font-size: .8rem !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-mini-banner-grid,
    .storefront-shell--v2 .sf-mini-banner-grid--hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .storefront-shell--v2 .sf-mini-banner {
        min-height: 228px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #f6e7d4 !important;
        padding: 18px !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-mini-banner strong {
        color: #3a251f !important;
        font-size: 2rem !important;
        line-height: .96 !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-mini-banner span {
        color: #5d4037 !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-home-category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px 18px !important;
        overflow: visible !important;
        padding: 0 6px 12px !important;
    }

    .storefront-shell--v2 .sf-home-category-tile {
        display: grid !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-align: center;
    }

    .storefront-shell--v2 .sf-home-category-tile:first-child {
        grid-column: span 2;
    }

    .storefront-shell--v2 .sf-home-category-tile__top {
        display: grid !important;
        min-height: 0 !important;
        aspect-ratio: 1.62 / 1;
        place-items: center;
        border-radius: 10px !important;
        background: #f6f6f6 !important;
    }

    .storefront-shell--v2 .sf-home-category-tile:not(:first-child) .sf-home-category-tile__top {
        aspect-ratio: 1 / .9;
    }

    .storefront-shell--v2 .sf-home-category-tile__top small {
        display: none !important;
    }

    .storefront-shell--v2 .sf-home-category-tile img {
        width: 88% !important;
        height: 88% !important;
        padding: 2px;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-home-category-tile > span {
        min-height: 0 !important;
        margin-top: 8px;
        color: #222 !important;
        font-size: .95rem !important;
        line-height: 1.18 !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-home-product-grid,
    .storefront-shell--v2 .sf-home-product-grid.is-scroller {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 152px !important;
        grid-template-columns: none !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 0 6px 10px !important;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_grid"] .sf-home-product-grid {
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        overflow: visible !important;
    }

    .storefront-shell--v2 .sf-product-card {
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        gap: 7px !important;
        scroll-snap-align: start;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        height: auto !important;
        aspect-ratio: 1 / .92 !important;
        border: 1px solid #f0f1f3 !important;
        border-radius: 7px !important;
        background: #fafafa !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb img {
        padding: 9px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-product-card__wish,
    .storefront-shell--v2 .sf-product-card__topline,
    .storefront-shell--v2 .sf-product-card__brand,
    .storefront-shell--v2 .sf-product-card__tags {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__discount-flag {
        top: 7px !important;
        left: 7px !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 4px 6px !important;
        border-radius: 5px !important;
        background: #1c8f43 !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: .66rem !important;
        font-weight: 900 !important;
    }

    .storefront-shell--v2 .sf-product-card__discount-flag small {
        display: inline !important;
        margin-left: 2px !important;
        font-size: .58rem !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        display: -webkit-box;
        min-height: 2.36em !important;
        margin: 0 !important;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: #222 !important;
        font-size: .82rem !important;
        line-height: 1.18 !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        overflow: hidden;
        min-height: 1.15em !important;
        color: #777d88 !important;
        font-size: .68rem !important;
        line-height: 1.15 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 72px;
        align-items: center !important;
        gap: 6px !important;
    }

    .storefront-shell--v2 .sf-product-card__price {
        display: flex !important;
        flex-wrap: wrap;
        gap: 4px !important;
        min-width: 0;
    }

    .storefront-shell--v2 .sf-product-card__price strong {
        display: inline-flex;
        align-items: center;
        min-height: 22px;
        padding: 1px 6px;
        border-radius: 4px;
        background: #2f9b4f;
        color: #fff !important;
        font-size: .82rem !important;
        font-weight: 900 !important;
        line-height: 1;
    }

    .storefront-shell--v2 .sf-product-card__price small {
        color: #6f7480 !important;
        font-size: .72rem !important;
        line-height: 1.2;
        text-decoration: line-through;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        width: 72px !important;
        min-height: 38px !important;
        border: 2px solid #e91e63 !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: #e91e63 !important;
        box-shadow: none !important;
        font-size: .88rem !important;
        font-weight: 900 !important;
        text-transform: uppercase;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: inline !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        display: none !important;
    }

    .sf-zepto-delivery-dock {
        position: fixed;
        right: 8px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        left: 8px;
        z-index: 70;
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 72px;
        padding: 10px 16px;
        border-radius: 18px;
        background: #293241;
        color: #fff;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .24);
    }

    .sf-zepto-delivery-dock__icon {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    .sf-zepto-delivery-dock__copy {
        display: grid;
        gap: 3px;
    }

    .sf-zepto-delivery-dock__copy strong {
        font-size: .95rem;
        font-weight: 900;
    }

    .sf-zepto-delivery-dock__copy small {
        color: rgba(255, 255, 255, .72);
        font-size: .78rem;
        font-weight: 600;
    }

    .storefront-shell--v2 .sf-bottom-nav {
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        width: 100% !important;
        padding: 7px 5px calc(7px + env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 -1px 10px rgba(15, 23, 42, .08) !important;
        backdrop-filter: blur(14px);
    }

    .storefront-shell--v2 .sf-bottom-nav a,
    .storefront-shell--v2 .sf-bottom-nav button {
        grid-template-rows: 24px 16px !important;
        gap: 3px !important;
        min-height: 50px !important;
        padding: 2px !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #5f6673 !important;
        font-size: .68rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-bottom-nav a.is-active,
    .storefront-shell--v2 .sf-bottom-nav button.is-active {
        background: transparent !important;
        color: #e91e63 !important;
    }

    .storefront-shell--v2 .sf-bottom-nav svg {
        width: 23px !important;
        height: 23px !important;
        stroke-width: 2.2 !important;
    }
}

@media (min-width: 769px) {
    .sf-zepto-delivery-dock {
        display: none;
    }
}

/* Zepto reference recreation pass: exact mobile home proportions. */
@media (max-width: 768px) {
    .storefront-shell--v2 .sf-mobile-header {
        position: relative;
        grid-template-areas:
            "brand"
            "search";
        padding: 8px 16px 0 !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        grid-area: brand;
        min-height: 30px;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        position: absolute;
        top: 8px;
        right: 16px;
        left: 48px;
        width: auto !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        grid-area: search;
        width: calc(100% - 140px) !important;
        min-height: 58px !important;
        margin-top: 8px;
    }

    .storefront-shell--v2 .sf-zepto-search-promo {
        position: absolute;
        right: 16px;
        bottom: 0;
        display: grid;
        width: 124px;
        height: 58px;
        place-content: center;
        border-radius: 2px;
        background:
            radial-gradient(circle at 88% 50%, rgba(93, 43, 18, .32) 0 12px, transparent 13px),
            linear-gradient(90deg, #fff4ed 0%, #fff 100%);
        color: #c33559;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }

    .storefront-shell--v2 .sf-zepto-search-promo span,
    .storefront-shell--v2 .sf-zepto-search-promo strong {
        display: block;
        line-height: 1;
        font-weight: 950;
    }

    .storefront-shell--v2 .sf-zepto-search-promo span {
        font-size: .78rem;
    }

    .storefront-shell--v2 .sf-zepto-search-promo strong {
        margin-top: 3px;
        font-size: .9rem;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        top: 104px;
        min-height: 51px;
        padding-left: 22px !important;
    }

    .storefront-shell--v2 .sf-page-shell--home > .sf-container {
        gap: 0 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] {
        padding: 0 !important;
        background: #fff !important;
        color: #111 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-front-section__head {
        display: none !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner {
        min-height: 286px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background:
            linear-gradient(180deg, rgba(32, 9, 1, .03), rgba(32, 9, 1, .08)),
            #ead6be !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="banner_strip"] .sf-mini-banner {
        min-height: 240px !important;
        border-radius: 12px !important;
        background: #ffdc39 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="category_grid"] {
        padding-top: 34px !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="category_grid"] .sf-front-section__head {
        margin-bottom: 24px !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="category_grid"] .sf-front-section__head h2 {
        font-size: 1.18rem !important;
    }

    .storefront-shell--v2 .sf-home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 26px 17px !important;
        padding-inline: 6px !important;
    }

    .storefront-shell--v2 .sf-home-category-tile__top {
        background: #f8f8f8 !important;
    }

    .storefront-shell--v2 .sf-home-category-tile > span {
        max-width: 10ch;
        justify-self: center;
        font-size: 1.01rem !important;
        line-height: 1.12 !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"],
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_grid"] {
        padding-top: 26px !important;
    }

    .storefront-shell--v2 .sf-home-product-grid,
    .storefront-shell--v2 .sf-home-product-grid.is-scroller {
        grid-auto-columns: 154px !important;
        gap: 15px !important;
        padding-inline: 6px !important;
    }

    .storefront-shell--v2 .sf-product-card__thumb {
        border-color: #f1f1f1 !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        font-size: .84rem !important;
        font-weight: 750 !important;
    }

    .storefront-shell--v2 .sf-product-card__subtitle {
        color: #757b84 !important;
        font-size: .7rem !important;
    }

    .storefront-shell--v2 .sf-product-card__price strong {
        background: #279348 !important;
        font-size: .86rem !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        border-color: #e51b68 !important;
        color: #e51b68 !important;
    }

    .storefront-shell--v2 .sf-offer-grid,
    .storefront-shell--v2 .sf-feature-strip,
    .storefront-shell--v2 .sf-home-store-grid {
        padding-inline: 6px !important;
    }
}

/* Nunito Sans Zepto recreation: final shared web + mobile layer. */
.storefront-shell--v2 {
    --zepto-ink: #171717;
    --zepto-muted: #707783;
    --zepto-line: #eceef2;
    --zepto-pink: #e91e63;
    --zepto-green: #26934a;
    background: #fff !important;
    color: var(--zepto-ink) !important;
    font-family: "Nunito Sans", Arial, sans-serif !important;
    font-weight: 400;
    letter-spacing: 0 !important;
}

.storefront-shell--v2 *,
.storefront-shell--v2 *::before,
.storefront-shell--v2 *::after {
    font-family: inherit !important;
    letter-spacing: 0 !important;
}

.storefront-shell--v2 .fa,
.storefront-shell--v2 .fas,
.storefront-shell--v2 .far,
.storefront-shell--v2 .fal,
.storefront-shell--v2 .fab,
.storefront-shell--v2 .fa-solid,
.storefront-shell--v2 .fa-regular,
.storefront-shell--v2 .fa-brands,
.storefront-shell--v2 .fa::before,
.storefront-shell--v2 .fas::before,
.storefront-shell--v2 .far::before,
.storefront-shell--v2 .fal::before,
.storefront-shell--v2 .fab::before,
.storefront-shell--v2 .fa-solid::before,
.storefront-shell--v2 .fa-regular::before,
.storefront-shell--v2 .fa-brands::before {
    font-family: "Font Awesome 6 Free" !important;
}

.storefront-shell--v2 .fab,
.storefront-shell--v2 .fa-brands,
.storefront-shell--v2 .fab::before,
.storefront-shell--v2 .fa-brands::before {
    font-family: "Font Awesome 6 Brands" !important;
}

.storefront-shell--v2 .far,
.storefront-shell--v2 .fa-regular,
.storefront-shell--v2 .far::before,
.storefront-shell--v2 .fa-regular::before {
    font-weight: 400 !important;
}

.storefront-shell--v2 .fa,
.storefront-shell--v2 .fas,
.storefront-shell--v2 .fa-solid,
.storefront-shell--v2 .fa::before,
.storefront-shell--v2 .fas::before,
.storefront-shell--v2 .fa-solid::before {
    font-weight: 900 !important;
}

.storefront-shell--v2 h1,
.storefront-shell--v2 h2,
.storefront-shell--v2 h3,
.storefront-shell--v2 h4,
.storefront-shell--v2 strong,
.storefront-shell--v2 .sf-wordmark__text,
.storefront-shell--v2 .sf-product-card__action,
.storefront-shell--v2 .sf-bottom-nav span {
    font-weight: 800 !important;
}

.storefront-shell--v2 p,
.storefront-shell--v2 small,
.storefront-shell--v2 input,
.storefront-shell--v2 select,
.storefront-shell--v2 textarea {
    font-weight: 400 !important;
}

.storefront-shell--v2 .sf-header,
.storefront-shell--v2 .sf-desktop-location,
.storefront-shell--v2 .sf-desktop-search,
.storefront-shell--v2 .sf-header-service-select select,
.storefront-shell--v2 .sf-desktop-link,
.storefront-shell--v2 .sf-desktop-cart,
.storefront-shell--v2 .sf-desktop-icon,
.storefront-shell--v2 input,
.storefront-shell--v2 select,
.storefront-shell--v2 textarea {
    border-color: var(--zepto-line) !important;
    box-shadow: none !important;
}

.storefront-shell--v2 .sf-header,
.storefront-shell--v2 .sf-page-shell,
.storefront-shell--v2 .sf-page-shell--home,
.storefront-shell--v2 .sf-main {
    background: #fff !important;
}

.storefront-shell--v2 .sf-desktop-header__top {
    grid-template-columns: 180px 240px 190px minmax(360px, 1fr) auto !important;
    gap: 16px !important;
}

.storefront-shell--v2 .sf-desktop-search,
.storefront-shell--v2 .sf-searchbar--mobile {
    background: #fff !important;
    border-radius: 9px !important;
}

.storefront-shell--v2 .sf-tab-chip {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--zepto-ink) !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
}

.storefront-shell--v2 .sf-front-section,
.storefront-shell--v2 .sf-page-shell--home .sf-front-section {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.storefront-shell--v2 .sf-card,
.storefront-shell--v2 .sf-side-card,
.storefront-shell--v2 .sf-summary-card,
.storefront-shell--v2 .sf-empty-card,
.storefront-shell--v2 .sf-ticket-card,
.storefront-shell--v2 .sf-wallet-balance-card,
.storefront-shell--v2 .sf-order-list-card,
.storefront-shell--v2 .sf-address-card,
.storefront-shell--v2 .sf-cart-item {
    border: 1px solid var(--zepto-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.storefront-shell--v2 .sf-front-section__head h2,
.storefront-shell--v2 .sf-card-head h2,
.storefront-shell--v2 .sf-page-hero h1 {
    color: var(--zepto-ink) !important;
    font-size: 1.24rem !important;
    line-height: 1.16 !important;
}

.storefront-shell--v2 .sf-front-section__head p,
.storefront-shell--v2 .sf-card-head p,
.storefront-shell--v2 .sf-page-hero p {
    color: var(--zepto-muted) !important;
    font-size: .86rem !important;
    line-height: 1.32 !important;
}

.storefront-shell--v2 .sf-section-chip {
    display: none !important;
}

.storefront-shell--v2 .sf-home-category-tile,
.storefront-shell--v2 .sf-product-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.storefront-shell--v2 .sf-home-category-tile__top,
.storefront-shell--v2 .sf-product-card__thumb {
    border-radius: 7px !important;
    background: #f7f7f8 !important;
}

.storefront-shell--v2 .sf-product-card__thumb {
    border: 1px solid #f0f1f3 !important;
    background: #fff !important;
}

.storefront-shell--v2 .sf-product-card h3 {
    color: #222 !important;
    font-size: .86rem !important;
    line-height: 1.18 !important;
}

.storefront-shell--v2 .sf-product-card__subtitle {
    color: #777d88 !important;
    font-size: .72rem !important;
    line-height: 1.2 !important;
}

.storefront-shell--v2 .sf-product-card__price strong {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--zepto-green) !important;
    color: #fff !important;
    font-size: .86rem !important;
    line-height: 1 !important;
}

.storefront-shell--v2 .sf-product-card__price small {
    color: var(--zepto-muted) !important;
    font-size: .74rem !important;
    text-decoration: line-through;
}

.storefront-shell--v2 .sf-product-card__action,
.storefront-shell--v2 .sf-product-card__stepper {
    border: 2px solid var(--zepto-pink) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--zepto-pink) !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

.storefront-shell--v2 .sf-primary-link,
.storefront-shell--v2 .sf-location-modal__actions button,
.storefront-shell--v2 .sf-code-pill {
    border-radius: 10px !important;
    background: var(--zepto-pink) !important;
    color: #fff !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .storefront-shell--v2 .sf-front-section {
        padding: 22px 16px 14px !important;
    }

    .storefront-shell--v2 .sf-front-section__head h2 {
        font-size: 1.16rem !important;
    }

    .storefront-shell--v2 .sf-front-section__head p {
        font-size: .78rem !important;
    }

    .storefront-shell--v2 .sf-home-category-tile > span {
        font-size: 1rem !important;
    }

    .storefront-shell--v2 .sf-product-card h3 {
        font-size: .84rem !important;
    }
}

/* End-of-file override so the Zepto-style mobile shell wins over older passes. */
@media (max-width: 767px) {
    .storefront-shell--v2 .sf-header,
    .storefront-shell--v2 .sf-mobile-header {
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-mobile-header {
        min-height: 296px !important;
    }

    .storefront-shell--v2 .sf-mobile-brandbar {
        top: 12px !important;
        right: 16px !important;
        left: auto !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .storefront-shell--v2 .sf-mobile-menu,
    .storefront-shell--v2 .sf-wordmark--mobile,
    .storefront-shell--v2 .sf-mobile-brand-name,
    .storefront-shell--v2 .sf-header-service-select {
        display: none !important;
    }

    .storefront-shell--v2 .sf-mobile-delivery-card {
        top: 14px !important;
        right: 76px !important;
        left: 22px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-header-service-selector {
        top: 96px !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 136px !important;
        gap: 16px !important;
        padding: 0 20px 8px !important;
        overflow-x: auto !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile {
        top: 162px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        min-height: 58px !important;
        border-radius: 8px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-searchbar--mobile.has-mobile-promo {
        width: calc(100% - 186px) !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo {
        top: 162px !important;
        right: 16px !important;
        bottom: auto !important;
        width: 132px !important;
        height: 58px !important;
        overflow: hidden !important;
        border-radius: 4px !important;
        background: #fff !important;
    }

    .storefront-shell--v2 .sf-zepto-search-promo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .storefront-shell--v2 .sf-tab-rail--categories {
        top: 220px !important;
        grid-auto-columns: 86px !important;
        min-height: 76px !important;
        padding: 8px 16px 0 !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-tab-chip {
        display: grid !important;
        justify-items: center !important;
        gap: 4px !important;
        padding: 0 0 12px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: .86rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-tab-chip img {
        width: 34px !important;
        height: 34px !important;
        object-fit: contain !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] {
        padding: 0 !important;
        background: #e6c8ff !important;
    }

    .storefront-shell--v2 .sf-dynamic-section[data-section-type="hero_banner"] .sf-mini-banner {
        min-height: 268px !important;
        border-radius: 0 0 6px 6px !important;
    }

    .storefront-shell--v2 .sf-home-product-grid.is-scroller,
    .storefront-shell--v2 .sf-dynamic-section[data-section-type="product_scroller"] .sf-home-product-grid {
        grid-auto-columns: 128px !important;
        gap: 12px !important;
        padding: 0 0 10px !important;
    }

    .storefront-shell--v2 .sf-product-card {
        position: relative !important;
        gap: 5px !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .storefront-shell--v2 .sf-product-card__footer {
        order: 2 !important;
        display: block !important;
    }

    .storefront-shell--v2 .sf-product-card__saving {
        order: 3 !important;
        color: #15803d !important;
        font-size: .72rem !important;
        font-weight: 800 !important;
    }

    .storefront-shell--v2 .sf-product-card__footer form,
    .storefront-shell--v2 .sf-product-card__footer > .sf-product-card__action {
        position: absolute !important;
        top: 82px !important;
        right: 6px !important;
        z-index: 2 !important;
    }

    .storefront-shell--v2 .sf-product-card__action,
    .storefront-shell--v2 .sf-product-card__stepper {
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        min-height: 40px !important;
        border: 2px solid #e91e63 !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #e91e63 !important;
        font-size: 1.55rem !important;
    }

    .storefront-shell--v2 .sf-product-card__action-label {
        display: none !important;
    }

    .storefront-shell--v2 .sf-product-card__action-plus {
        display: inline !important;
    }
}
/* Flutter app parity: product cards + cart page */
.sf-flutter-product-card {
    --flutter-green: #138a36;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e5e2;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    padding: 0;
}

.sf-flutter-product-card .sf-product-card__thumb {
    position: relative;
    display: block;
    height: 146px;
    border-radius: 0;
    background: #f8f8fa;
    overflow: hidden;
}

.sf-flutter-product-card .sf-product-card__image-track,
.sf-flutter-product-card .sf-product-card__image-slide,
.sf-flutter-product-card .sf-product-card__placeholder {
    height: 100%;
    border-radius: 0;
}

.sf-flutter-product-card .sf-product-card__image-slide {
    object-fit: cover;
}

.sf-flutter-product-card .sf-product-card__placeholder {
    display: grid;
    place-items: center;
    color: #b5d8aa;
    background: #f8f8fa;
}

.sf-flutter-product-card .sf-product-card__placeholder span {
    width: auto;
    height: auto;
    background: transparent;
    color: #b5d8aa;
    font-size: 54px;
}

.sf-flutter-product-card .sf-product-card__discount-flag {
    top: 6px;
    left: 6px;
    min-width: 0;
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--flutter-green);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
}

.sf-flutter-product-card .sf-product-card__discount-flag small {
    display: inline;
    margin-left: 2px;
    font-size: 9px;
}

.sf-flutter-product-card .sf-product-card__rating-badge,
.sf-flutter-product-card .sf-product-card__variant-strip,
.sf-flutter-product-card > .sf-product-card__saving {
    display: none;
}

.sf-flutter-product-card .sf-product-card__image-dots {
    left: 6px;
    right: auto;
    bottom: 6px;
    top: auto;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    transform: none;
    display: flex;
    gap: 3px;
}

.sf-flutter-product-card .sf-product-card__image-dots i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d7dadf;
    opacity: 1;
}

.sf-flutter-product-card .sf-product-card__image-dots i.is-active {
    background: #5d6570;
}

.sf-flutter-product-card .sf-flutter-add {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    margin: 0;
}

.sf-flutter-product-card .sf-product-card__action {
    width: 84px;
    height: 38px;
    border: 1px solid var(--flutter-green);
    border-right: 0;
    border-bottom: 0;
    border-radius: 8px 0 0 0;
    background: #fff;
    color: var(--flutter-green);
    box-shadow: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}

.sf-flutter-product-card .sf-product-card__action.is-unavailable {
    width: 88px;
    color: #7a807a;
    border-color: #d8ddd8;
    font-size: 9px;
}

.sf-flutter-product-card .sf-product-card__stepper {
    width: 92px;
    height: 38px;
    border: 0;
    border-radius: 8px 0 0 0;
    background: var(--flutter-green);
    color: #fff;
    box-shadow: none;
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
}

.sf-flutter-product-card .sf-product-card__stepper-btn,
.sf-flutter-product-card .sf-product-card__stepper strong {
    width: auto;
    height: 38px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 900;
}

.sf-flutter-product-card .sf-product-card__unit {
    padding: 7px 7px 0;
    color: #30343a;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-flutter-product-card .sf-product-card__footer {
    padding: 3px 7px 0;
    border: 0;
    display: block;
}

.sf-flutter-product-card .sf-product-card__price {
    display: flex;
    gap: 4px;
    align-items: baseline;
    flex-wrap: wrap;
}

.sf-flutter-product-card .sf-product-card__price strong {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.sf-flutter-product-card .sf-product-card__price small {
    color: #8e949a;
    font-size: 11px;
    font-weight: 900;
    text-decoration: line-through;
}

.sf-flutter-product-card .sf-product-card__mrp-saving {
    padding: 1px 7px 0;
    color: #1b62b0;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-flutter-product-card h3 {
    margin: 3px 7px 0;
    color: #14181f;
    font-size: 13px;
    line-height: 1.13;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-flutter-product-card .sf-product-card__meta-row {
    min-height: 20px;
    padding: 5px 7px 8px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    color: #697078;
    font-size: 10px;
    font-weight: 900;
}

.sf-flutter-product-card .sf-product-card__meta-row span {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.sf-app-cart-page {
    min-height: calc(100vh - 120px);
    margin: -8px;
    padding: 0 0 96px;
    background: #f6f2ec;
    color: #111827;
    font-family: "Nunito Sans", system-ui, sans-serif;
}

.sf-app-cart-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(246, 242, 236, .94);
    backdrop-filter: blur(14px);
}

.sf-app-cart-topbar button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.sf-app-cart-topbar svg {
    width: 19px;
    height: 19px;
}

.sf-app-cart-topbar strong {
    font-size: 18px;
    font-weight: 900;
}

.sf-app-cart-body {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 12px 24px;
}

.sf-app-cart-store-card,
.sf-app-cart-address-card,
.sf-app-cart-free-delivery,
.sf-app-cart-item,
.sf-app-cart-bill-card,
.sf-app-cart-offers {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.sf-app-cart-store-card {
    border-radius: 28px;
    padding: 10px;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 12px;
}

.sf-app-cart-store-card__logo {
    width: 64px;
    height: 64px;
    border-radius: 24px;
    overflow: hidden;
    background: #f7efe7;
    display: grid;
    place-items: center;
    color: var(--cart-primary);
    font-weight: 900;
}

.sf-app-cart-store-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-app-cart-store-card h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
}

.sf-app-cart-store-card p,
.sf-app-cart-store-card small {
    margin: 4px 0 0;
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.sf-app-cart-store-card a,
.sf-app-cart-address-card button {
    color: var(--cart-primary);
    font-weight: 900;
    border: 0;
    background: transparent;
    white-space: nowrap;
}

.sf-app-cart-address-card {
    margin-top: 8px;
    border-radius: 22px;
    padding: 13px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
}

.sf-app-cart-address-card > span {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--cart-primary);
    background: color-mix(in srgb, var(--cart-primary) 10%, white);
}

.sf-app-cart-address-card svg {
    width: 20px;
    height: 20px;
}

.sf-app-cart-address-card strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.sf-app-cart-address-card p {
    margin: 3px 0 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.sf-app-cart-free-delivery {
    margin-top: 10px;
    padding: 14px;
    border-color: color-mix(in srgb, var(--cart-primary) 18%, white);
    border-radius: 18px;
    background: color-mix(in srgb, var(--cart-primary) 8%, white);
}

.sf-app-cart-free-delivery div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sf-app-cart-free-delivery svg {
    width: 20px;
    height: 20px;
    color: var(--cart-primary);
}

.sf-app-cart-free-delivery strong {
    font-size: 13px;
    font-weight: 900;
}

.sf-app-cart-free-delivery i {
    display: block;
    margin-top: 10px;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cart-primary) 14%, white);
}

.sf-app-cart-free-delivery b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--cart-primary);
}

.sf-app-cart-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    align-items: start;
}

.sf-app-cart-items {
    display: grid;
    gap: 14px;
}

.sf-app-cart-item {
    border-radius: 24px;
    padding: 14px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
}

.sf-app-cart-item__image {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8efe7;
    display: grid;
    place-items: center;
    color: var(--cart-primary);
    font-size: 30px;
    font-weight: 900;
}

.sf-app-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-app-cart-item__diet {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
}

.sf-app-cart-item__diet i {
    width: 14px;
    height: 14px;
    border: 1px solid #0e924c;
    display: grid;
    place-items: center;
}

.sf-app-cart-item__diet i::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #0e924c;
}

.sf-app-cart-item h2 {
    margin: 8px 0 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.sf-app-cart-item p {
    margin: 6px 0 0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.sf-app-cart-item__price {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.sf-app-cart-item__price span {
    font-size: 15px;
    font-weight: 900;
}

.sf-app-cart-item__price strong {
    font-size: 16px;
    font-weight: 1000;
}

.sf-app-cart-item__actions {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.sf-app-cart-counter {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cart-primary) 25%, white);
    border-radius: 14px;
    background: color-mix(in srgb, var(--cart-primary) 8%, white);
}

.sf-app-cart-counter button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--cart-primary);
    font-size: 18px;
    font-weight: 900;
}

.sf-app-cart-counter b {
    min-width: 34px;
    text-align: center;
    color: var(--cart-primary);
    font-size: 16px;
    font-weight: 900;
}

.sf-app-cart-remove {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f4f5f8;
    color: #636b78;
    font-size: 24px;
    line-height: 1;
}

.sf-app-cart-bill-card {
    position: sticky;
    top: 76px;
    border-radius: 22px;
    padding: 16px;
}

.sf-app-cart-bill-card h2,
.sf-app-cart-offers h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.sf-app-cart-bill-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.sf-app-cart-bill-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.sf-app-cart-bill-card dl .is-green {
    color: #0f8a3a;
}

.sf-app-cart-bill-card dl .is-total {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    font-size: 17px;
    font-weight: 1000;
}

.sf-app-cart-offers {
    margin-top: 14px;
    padding: 16px;
    border-radius: 22px;
}

.sf-app-cart-offers > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.sf-app-cart-offers a {
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    color: #111827;
    display: grid;
    gap: 3px;
}

.sf-app-cart-offers b {
    color: var(--cart-primary);
}

.sf-app-cart-offers span,
.sf-app-cart-offers small {
    color: #6b7280;
    font-weight: 700;
}

.sf-app-cart-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 6px 10px 10px;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
}

.sf-app-cart-bottom-bar a {
    max-width: 760px;
    height: 60px;
    margin: 0 auto;
    padding: 10px 16px;
    border-radius: 18px;
    background: var(--cart-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sf-app-cart-bottom-bar strong,
.sf-app-cart-bottom-bar b {
    color: #fff;
    font-size: 16px;
    font-weight: 1000;
}

.sf-app-cart-bottom-bar small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    font-weight: 700;
}

.sf-app-empty-cart {
    min-height: 65vh;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
}

.sf-app-empty-cart > div {
    max-width: 360px;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.sf-app-empty-cart svg {
    width: 86px;
    height: 86px;
    color: var(--cart-primary);
}

.sf-app-empty-cart h1 {
    margin: 14px 0 8px;
    font-size: 24px;
    font-weight: 1000;
}

.sf-app-empty-cart p {
    color: #6b7280;
    font-weight: 700;
}

.sf-app-empty-cart a {
    margin-top: 14px;
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--cart-primary);
    color: #fff;
    font-weight: 900;
}

@media (max-width: 900px) {
    .sf-flutter-product-card .sf-product-card__thumb {
        height: 112px;
    }

    .sf-flutter-product-card .sf-product-card__price strong {
        font-size: 15px;
    }

    .sf-flutter-product-card h3 {
        font-size: 11px;
    }

    .sf-app-cart-page {
        margin: -12px;
    }

    .sf-app-cart-grid {
        grid-template-columns: 1fr;
    }

    .sf-app-cart-bill-card {
        position: static;
    }
}

@media (max-width: 560px) {
    .sf-app-cart-store-card {
        grid-template-columns: 56px 1fr;
    }

    .sf-app-cart-store-card a {
        grid-column: 2;
        justify-self: start;
    }

    .sf-app-cart-store-card__logo {
        width: 56px;
        height: 56px;
        border-radius: 20px;
    }

    .sf-app-cart-address-card {
        grid-template-columns: 40px 1fr;
    }

    .sf-app-cart-address-card button {
        grid-column: 2;
        justify-self: start;
    }

    .sf-app-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 12px;
        border-radius: 22px;
    }

    .sf-app-cart-item__image {
        width: 82px;
        height: 82px;
    }
}

/* App flow: service selector + checkout */

.sf-service-selector-page {
    background: #f8fafc;
}

.sf-service-selector-page .sf-top-strip,
.sf-service-selector-page .sf-header,
.sf-service-selector-page .sf-footer,
.sf-service-selector-page .sf-bottom-nav,
.sf-service-selector-page .sf-floating-cart {
    display: none !important;
}

.sf-service-selector-page .sf-main,
.sf-app-checkout-body .sf-main {
    padding: 0 !important;
}

.sf-service-selector-page .sf-container,
.sf-app-checkout-body .sf-main > .sf-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.sf-service-selector-screen {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    background: #f8fafc;
    color: #111827;
}

.sf-service-selector-shell {
    width: min(430px, 100%);
    min-height: 100dvh;
    padding: 40px 20px 22px;
    display: flex;
    flex-direction: column;
}

.sf-service-selector-copy {
    text-align: center;
    margin: 0 0 28px;
}

.sf-service-selector-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 8vw, 38px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.sf-service-selector-copy p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
}

.sf-service-selector-list {
    display: grid;
    gap: 16px;
}

.sf-service-selector-card {
    position: relative;
    min-height: 124px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px 12px 12px;
    overflow: hidden;
    color: #111827;
    text-decoration: none;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), var(--service-bg) 38%, color-mix(in srgb, var(--service-bg) 82%, transparent));
    box-shadow: 0 14px 24px color-mix(in srgb, var(--service-color) 16%, transparent), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.sf-service-selector-card__bubble {
    position: absolute;
    border-radius: 999px;
    background: var(--service-color);
    opacity: 0.12;
}

.sf-service-selector-card__bubble--one {
    width: 38px;
    height: 38px;
    left: 12px;
    top: 18px;
}

.sf-service-selector-card__bubble--two {
    width: 22px;
    height: 22px;
    left: 86px;
    bottom: 8px;
}

.sf-service-selector-card__image {
    width: 112px;
    height: 100px;
    display: grid;
    place-items: center;
    transform: translateY(-2px);
}

.sf-service-selector-card__image img {
    max-width: 104px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 16px 16px rgba(15, 23, 42, 0.16));
}

.sf-service-selector-card__copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.sf-service-selector-card__copy strong {
    font-size: 17px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-service-selector-card__copy small {
    color: #111827;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.sf-service-selector-card__arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--service-color);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 7px 14px color-mix(in srgb, var(--service-color) 16%, transparent);
}

.sf-service-selector-card__arrow svg {
    width: 22px;
    height: 22px;
}

.sf-service-selector-footnote {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.sf-service-selector-footnote svg {
    width: 18px;
    height: 18px;
}

.sf-service-switcher {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 0;
    background: #f8fafc;
    opacity: 0;
    transition: opacity 180ms ease;
}

.sf-service-switcher[hidden] {
    display: none;
}

.sf-service-switcher.is-visible {
    opacity: 1;
}

.sf-service-switcher__card {
    width: min(430px, 100%);
    height: min(640px, 100dvh);
    padding: 70px 28px 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    color: #111827;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, var(--service-bg) 34%, color-mix(in srgb, var(--service-bg) 86%, transparent));
    box-shadow: 0 22px 34px color-mix(in srgb, var(--service-color) 18%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.sf-service-switcher__image {
    margin: auto 0 36px;
}

.sf-service-switcher__image img {
    width: min(250px, 70vw);
    height: min(250px, 70vw);
    object-fit: contain;
    filter: drop-shadow(0 24px 20px rgba(15, 23, 42, 0.16));
    animation: sfServiceFloat 1.5s ease-in-out infinite alternate;
}

.sf-service-switcher__card p,
.sf-service-switcher__card strong {
    margin: 0;
    font-weight: 950;
}

.sf-service-switcher__card h2 {
    margin: 4px 0 18px;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.sf-service-switcher__card i {
    width: 100%;
    height: 4px;
    margin-top: 32px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.sf-service-switcher__card i b {
    display: block;
    width: 62%;
    height: 100%;
    border-radius: inherit;
    background: var(--service-color);
}

@keyframes sfServiceFloat {
    from { transform: translateY(6px) scale(0.98); }
    to { transform: translateY(-8px) scale(1.02); }
}

.sf-app-checkout-body {
    background: #f4f6f8;
}

.sf-app-checkout-page {
    min-height: 100dvh;
    background: #f4f6f8;
    color: #111827;
    font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sf-app-checkout-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 8px 8px 6px;
    background: rgba(244, 246, 248, 0.9);
    backdrop-filter: blur(12px);
}

.sf-app-checkout-topbar button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #111827;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.sf-app-checkout-topbar svg {
    width: 22px;
    height: 22px;
}

.sf-app-checkout-topbar strong {
    min-width: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-app-checkout-form,
.sf-app-checkout-scroll {
    width: min(760px, 100%);
    margin: 0 auto;
}

.sf-app-checkout-scroll {
    padding: 0 12px 136px;
}

.sf-app-checkout-store-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 4px 0 8px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--checkout-primary) 9%, #fff));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.sf-app-checkout-store-card__logo {
    width: 58px;
    height: 58px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--checkout-primary) 12%, #fff);
    color: var(--checkout-primary);
    font-size: 22px;
    font-weight: 950;
}

.sf-app-checkout-store-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-app-checkout-store-card h1 {
    margin: 0 0 3px;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.sf-app-checkout-store-card p,
.sf-app-checkout-store-card small {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.sf-app-checkout-store-card small {
    color: var(--checkout-primary);
}

.sf-app-checkout-savings,
.sf-app-checkout-card,
.sf-app-checkout-policy {
    margin: 0 0 8px;
    border-radius: 16px;
    background: #fff;
}

.sf-app-checkout-savings {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    color: var(--checkout-primary);
    font-size: 13px;
    font-weight: 900;
}

.sf-app-checkout-savings svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.sf-app-checkout-card {
    padding: 14px;
}

.sf-app-checkout-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sf-app-checkout-section-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.sf-app-checkout-section-title a {
    color: var(--checkout-primary);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.sf-app-checkout-segmented {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sf-app-checkout-segmented button {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.sf-app-checkout-segmented button.is-active {
    border-color: color-mix(in srgb, var(--checkout-primary) 38%, #fff);
    background: color-mix(in srgb, var(--checkout-primary) 10%, #fff);
    color: var(--checkout-primary);
}

.sf-app-checkout-segmented svg {
    width: 18px;
    height: 18px;
}

.sf-app-checkout-items {
    display: grid;
    gap: 10px;
}

.sf-app-checkout-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.sf-app-checkout-item__image {
    width: 52px;
    height: 52px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f1f5f9;
}

.sf-app-checkout-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-app-checkout-item strong,
.sf-app-checkout-item small {
    display: block;
}

.sf-app-checkout-item strong {
    font-size: 13px;
    font-weight: 900;
}

.sf-app-checkout-item small {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.sf-app-checkout-item em {
    color: #111827;
    font-size: 13px;
    font-style: normal;
    font-weight: 950;
}

.sf-app-checkout-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.sf-app-checkout-row__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--checkout-primary);
    border-radius: 12px;
    background: color-mix(in srgb, var(--checkout-primary) 10%, #fff);
}

.sf-app-checkout-row__icon svg {
    width: 19px;
    height: 19px;
}

.sf-app-checkout-row strong,
.sf-app-checkout-row small {
    display: block;
}

.sf-app-checkout-row strong {
    font-size: 13px;
    font-weight: 950;
}

.sf-app-checkout-row small {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.sf-app-checkout-row button,
.sf-app-checkout-coupon-box button {
    border: 0;
    background: transparent;
    color: var(--checkout-primary);
    font-size: 12px;
    font-weight: 950;
}

.sf-app-checkout-address-list {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sf-app-checkout-address-list button {
    min-width: 190px;
    padding: 11px 12px;
    text-align: left;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.sf-app-checkout-address-list button.is-selected {
    border-color: color-mix(in srgb, var(--checkout-primary) 38%, #fff);
    background: color-mix(in srgb, var(--checkout-primary) 8%, #fff);
}

.sf-app-checkout-address-list strong,
.sf-app-checkout-address-list span {
    display: block;
}

.sf-app-checkout-address-list strong {
    color: #111827;
    font-size: 12px;
    font-weight: 950;
}

.sf-app-checkout-address-list span {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
}

.sf-app-checkout-input {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.sf-app-checkout-input span {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.sf-app-checkout-input input,
.sf-app-checkout-input textarea,
.sf-app-checkout-coupon-box input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    background: #f8fafc;
    color: #111827;
    font-size: 13px;
    font-weight: 750;
    outline: none;
}

.sf-app-checkout-input input,
.sf-app-checkout-coupon-box input {
    min-height: 44px;
    padding: 0 13px;
}

.sf-app-checkout-input textarea {
    padding: 12px 13px;
    resize: vertical;
}

.sf-app-checkout-coupon-box {
    min-height: 50px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px dashed color-mix(in srgb, var(--checkout-primary) 34%, #d1d5db);
    border-radius: 14px;
    background: color-mix(in srgb, var(--checkout-primary) 5%, #fff);
}

.sf-app-checkout-coupon-box svg {
    width: 20px;
    height: 20px;
    color: var(--checkout-primary);
}

.sf-app-checkout-coupon-box input {
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
}

.sf-app-checkout-promo-list {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sf-app-checkout-promo-list button {
    min-width: 180px;
    padding: 11px 12px;
    text-align: left;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.sf-app-checkout-promo-list strong,
.sf-app-checkout-promo-list span {
    display: block;
}

.sf-app-checkout-promo-list strong {
    color: var(--checkout-primary);
    font-size: 12px;
    font-weight: 950;
}

.sf-app-checkout-promo-list span {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.sf-app-checkout-payment-options {
    display: grid;
    gap: 10px;
}

.sf-app-checkout-payment-option {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
}

.sf-app-checkout-payment-option.is-selected {
    border-color: color-mix(in srgb, var(--checkout-primary) 38%, #fff);
    background: color-mix(in srgb, var(--checkout-primary) 8%, #fff);
}

.sf-app-checkout-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-app-checkout-payment-option span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--checkout-primary);
    border-radius: 12px;
    background: #f7f7f7;
}

.sf-app-checkout-payment-option svg {
    width: 19px;
    height: 19px;
}

.sf-app-checkout-payment-option b {
    font-size: 13px;
    font-weight: 950;
}

.sf-app-checkout-payment-option small {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.sf-app-checkout-bill-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.sf-app-checkout-bill-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.sf-app-checkout-bill-card dl div.is-green {
    color: #138a36;
}

.sf-app-checkout-bill-card dl .is-total {
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px dashed #d1d5db;
    color: #111827;
    font-size: 15px;
    font-weight: 950;
}

.sf-app-checkout-bill-card dt,
.sf-app-checkout-bill-card dd {
    margin: 0;
}

.sf-app-checkout-policy {
    padding: 14px;
}

.sf-app-checkout-policy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 950;
}

.sf-app-checkout-policy p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.sf-app-checkout-bottom-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 40;
    width: min(760px, 100%);
    transform: translateX(-50%);
    padding: 10px 12px max(14px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -5px 15px rgba(15, 23, 42, 0.08);
}

.sf-app-checkout-payment-preview {
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    text-align: left;
}

.sf-app-checkout-payment-preview span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f7f7f7;
}

.sf-app-checkout-payment-preview svg {
    width: 19px;
    height: 19px;
}

.sf-app-checkout-payment-preview b,
.sf-app-checkout-payment-preview small {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-app-checkout-payment-preview b {
    font-size: 12px;
    font-weight: 950;
}

.sf-app-checkout-payment-preview small {
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
}

.sf-app-checkout-payment-preview em {
    grid-row: span 2;
    color: #cbd5e1;
    font-style: normal;
    font-size: 24px;
}

.sf-app-checkout-place-order {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    background: var(--checkout-primary);
    color: #fff;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--checkout-primary) 22%, transparent);
    font-size: 15px;
    font-weight: 950;
}

.sf-app-checkout-place-order:disabled {
    opacity: 0.72;
    cursor: progress;
}

.sf-app-checkout-place-order svg {
    width: 18px;
    height: 18px;
}

.sf-app-checkout-empty {
    min-height: calc(100dvh - 60px);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 40px 20px;
    text-align: center;
}

.sf-app-checkout-empty svg {
    width: 92px;
    height: 92px;
    color: #cbd5e1;
}

.sf-app-checkout-empty h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
}

.sf-app-checkout-empty p {
    margin: 0;
    color: #64748b;
    font-weight: 750;
}

.sf-app-checkout-empty a {
    margin-top: 8px;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    background: var(--checkout-primary);
    font-weight: 950;
}

@media (min-width: 820px) {
    .sf-app-checkout-page {
        padding-bottom: 28px;
    }

    .sf-app-checkout-scroll {
        padding-bottom: 154px;
    }
}

@media (max-width: 480px) {
    .sf-service-selector-card {
        grid-template-columns: 100px minmax(0, 1fr) 40px;
    }

    .sf-service-selector-card__image {
        width: 100px;
    }

    .sf-app-checkout-scroll {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sf-app-checkout-card,
    .sf-app-checkout-policy {
        border-radius: 16px;
    }
}

/* Final app-reference product card. Web layout stays unchanged; only product cards are normalized. */
html body.storefront-shell .sf-flutter-product-card {
    --flutter-card-accent: #138a36;
    position: relative !important;
    display: grid !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid #edf0f2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07) !important;
}

html body.storefront-service--food .sf-flutter-product-card,
html body.storefront-shell .sf-flutter-product-card--food {
    --flutter-card-accent: #ff5a00;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__thumb {
    position: relative !important;
    height: 112px !important;
    min-height: 112px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    background: #fff !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__image-track,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__image-slide,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__placeholder {
    width: 100% !important;
    height: 100% !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__image-slide {
    object-fit: contain !important;
    padding: 10px !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__discount-flag {
    top: 7px !important;
    left: 7px !important;
    display: grid !important;
    min-width: 34px !important;
    min-height: 28px !important;
    place-items: center !important;
    padding: 3px 5px !important;
    border-radius: 6px !important;
    background: var(--flutter-card-accent) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: .95 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__discount-flag small {
    display: block !important;
    margin: 1px 0 0 !important;
    color: #fff !important;
    font-size: 7px !important;
}

html body.storefront-shell .sf-flutter-product-card > a {
    min-width: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

html body.storefront-shell .sf-flutter-product-card h3 {
    min-height: 31px !important;
    margin: 8px 9px 0 !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__unit {
    margin: 3px 9px 0 !important;
    padding: 0 !important;
    color: #667085 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    align-items: center !important;
    margin-top: 6px !important;
    padding: 0 9px 9px !important;
    border: 0 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__price {
    display: flex !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    align-items: baseline !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__price strong {
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__price small {
    color: #9ca3af !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    text-decoration: line-through !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-flutter-add {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: end !important;
}

html body.storefront-shell .sf-flutter-product-card--grocery .sf-product-card__action:not(.is-unavailable) {
    display: inline-grid !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--flutter-card-accent) !important;
    color: #fff !important;
    box-shadow: 0 5px 10px rgba(19, 138, 54, .22) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

html body.storefront-shell .sf-flutter-product-card--food .sf-product-card__action:not(.is-unavailable) {
    display: inline-grid !important;
    min-width: 62px !important;
    height: 30px !important;
    min-height: 30px !important;
    place-items: center !important;
    padding: 0 11px !important;
    border: 1px solid #ffd4bf !important;
    border-radius: 8px !important;
    background: #fff7f2 !important;
    color: var(--flutter-card-accent) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__stepper {
    position: static !important;
    display: grid !important;
    width: 76px !important;
    min-width: 76px !important;
    height: 30px !important;
    min-height: 30px !important;
    grid-template-columns: 24px 1fr 24px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--flutter-card-accent) 35%, #fff) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--flutter-card-accent) !important;
    box-shadow: none !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__stepper-btn,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__stepper strong {
    width: auto !important;
    height: 30px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--flutter-card-accent) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

html body.storefront-shell .sf-flutter-product-card .sf-product-card__mrp-saving,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__meta-row,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__rating-badge,
html body.storefront-shell .sf-flutter-product-card .sf-product-card__variant-strip {
    display: none !important;
}

@media (min-width: 901px) {
    html body.storefront-shell .sf-flutter-product-card .sf-product-card__thumb {
        height: 128px !important;
        min-height: 128px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-grid {
        grid-template-columns: repeat(auto-fill, 146px) !important;
        justify-content: start !important;
        align-items: start !important;
        gap: 8px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-grid > .fm-product-card:nth-of-type(n + 15) {
        display: none !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-card {
        width: 146px !important;
        max-width: 146px !important;
        min-width: 0 !important;
        min-height: 200px !important;
        max-height: 280px !important;
        padding: 8px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-name {
        min-height: 28px !important;
        max-height: 28px !important;
        font-size: 12px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-price strong {
        font-size: 14px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-add {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-stepper {
        height: 28px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-stepper-btn {
        width: 24px !important;
        height: 24px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-stepper-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    html body.storefront-shell.storefront-shell--v2 .fm-product-stepper strong {
        min-width: 16px !important;
        font-size: 12px !important;
    }
}
