:root {
    --primary-color: #1F7A63;
    --secondary-color: #A3D65C;
    --accent-color: #FF8C42;
    --light-color: #F9F9F9;
    --dark-color: #333333;
    --sf-purple: var(--primary-color);
    --sf-pink: var(--accent-color);
    --sf-lime: var(--secondary-color);
    --sf-bg: var(--light-color);
    --sf-surface: var(--light-color);
    --sf-charcoal: var(--dark-color);
}

/* Non-breaking storefront UI refinements */
.storefront-shell input::placeholder,
.storefront-shell textarea::placeholder {
    font-size: 10px !important;
    opacity: .8;
}

.storefront-shell input::-webkit-input-placeholder,
.storefront-shell textarea::-webkit-input-placeholder {
    font-size: 10px !important;
}

.storefront-shell input::-moz-placeholder,
.storefront-shell textarea::-moz-placeholder {
    font-size: 10px !important;
}

.storefront-shell input:-ms-input-placeholder,
.storefront-shell textarea:-ms-input-placeholder {
    font-size: 10px !important;
}

.storefront-shell .subtitle,
.storefront-shell .sub-title,
.storefront-shell .section-subtitle,
.storefront-shell .card-subtitle,
.storefront-shell .small-title,
.storefront-shell .text-secondary,
.storefront-shell .description-text {
    font-size: 13px !important;
    line-height: 1.4;
}

.sf-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    background: #fff;
    transition: opacity .25s ease, visibility .25s ease;
}

.sf-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring,
.sf-page-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e5e5;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: sf-loader-spin .7s linear infinite;
}

@keyframes sf-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

#all-categories {
    scroll-margin-top: 120px;
}

.sf-home-page {
    padding-bottom: 0;
}

.storefront-shell {
    --sf-page-max: 1828px;
    --sf-page-gutter: clamp(18px, 1.875vw, 36px);
    --sf-header-radius: 16px;
    --sf-header-control-height: 62px;
}

.storefront-shell > .container-fluid,
.storefront-shell .sf-topbar > .container-fluid,
.storefront-shell .sf-page > .container-fluid,
.storefront-shell .sf-footer > .container-fluid {
    width: 100%;
    max-width: var(--sf-page-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--sf-page-gutter) !important;
    padding-right: var(--sf-page-gutter) !important;
}

.sf-home-page > section:last-child {
    margin-bottom: 24px !important;
}

.sf-home-page + .sf-footer {
    margin-top: 0;
    padding-top: 28px;
    padding-bottom: 18px;
}

.sf-footer {
    border-top: 0;
}

.sf-footer .container-fluid {
    display: grid;
}

.sf-footer-grid {
    align-items: start;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(130px, 1fr)) minmax(120px, .8fr);
    gap: clamp(24px, 3.25vw, 58px);
    padding: clamp(28px, 3vw, 44px) clamp(24px, 3.6vw, 64px);
    border: 1px solid rgba(31, 122, 99, .1);
    border-radius: 28px;
    background: var(--sf-surface);
    box-shadow: 0 16px 44px rgba(31, 122, 99, .08);
    overflow: hidden;
}

.sf-footer .sf-brand-logo-footer {
    height: 58px !important;
    max-width: 250px;
}

.sf-footer-logo {
    margin-bottom: 18px;
}

.sf-footer-address {
    display: grid;
    gap: 4px;
    margin: 0 !important;
    max-width: 230px;
    color: var(--sf-muted);
    font-size: .9rem;
    font-style: normal;
    line-height: 1.45;
    text-align: left;
}

.sf-footer-col {
    align-content: start;
    gap: 9px;
}

.sf-footer-col h6 {
    position: relative;
    width: fit-content;
    margin: 0 0 14px;
    padding-bottom: 8px;
}

.sf-footer-col h6::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: var(--sf-pink);
}

.sf-footer-col a {
    line-height: 1.35;
}

.sf-footer-social-col {
    min-width: 0;
}

.sf-footer-social-col .sf-socials {
    flex-wrap: nowrap;
    gap: 9px;
}

.sf-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.sf-home-page + .sf-footer .sf-footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
}

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

.storefront-auth-shell .sf-page {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.login-logo {
    height: 90px;
    width: auto;
    max-width: min(280px, 100%);
    object-fit: contain;
}

.auth-logo {
    margin-top: -6px;
}

.sf-footer-bottom {
    justify-content: center;
    text-align: center;
    width: 100%;
}

.sf-footer-copyright {
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    background: #1F7A63;
    color: #fff;
    font-weight: 600;
}

.sf-footer-grid {
    width: 100%;
}

.storefront-shell a {
    color: var(--primary-color);
}

.storefront-shell a:hover {
    color: var(--accent-color);
}

.sf-searchbar {
    align-items: center;
    min-height: auto;
    padding-block: 32px;
}

.sf-logo {
    margin-left: 0;
    min-width: 0;
}

.sf-brand-logo {
    height: 76px !important;
    width: auto;
    max-width: min(340px, 100%);
    object-fit: contain;
}

.sf-location-btn {
    max-width: none;
    overflow: hidden;
}

.sf-location-btn .js-location-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-search-form {
    display: grid;
    grid-template-columns: var(--sf-header-control-height) minmax(0, 1fr);
    align-items: center;
    height: var(--sf-header-control-height);
    max-width: 380px;
    width: 100%;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: rgba(31, 122, 99, .18);
}

.sf-search-form > i {
    width: var(--sf-header-control-height);
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 122, 99, .045);
    color: var(--sf-charcoal);
    font-size: 1.05rem;
}

.sf-location-btn,
.sf-vendor-btn,
.sf-action-link {
    height: var(--sf-header-control-height);
    border-radius: var(--sf-header-radius);
}

.sf-location-btn,
.sf-vendor-btn {
    justify-content: space-between;
    min-width: 0;
    padding-inline: 18px;
}

.sf-location-btn .js-location-label,
.sf-vendor-btn .js-selected-vendor-text {
    display: block;
    min-width: 0;
}

.sf-actions {
    min-width: 0;
    gap: 10px;
}

.sf-actions .sf-action-link {
    height: var(--sf-header-control-height);
    min-width: 112px;
    padding: 0 16px;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-header-radius);
    background: #fff;
    box-shadow: none;
}

.sf-search-form input {
    height: 100%;
    min-width: 0;
    font-size: 14px;
    padding: 8px 16px;
    background: transparent;
}

.storefront-shell .modal .form-select {
    font-size: 12px;
}

.sf-address-form input::placeholder,
.sf-address-form textarea::placeholder {
    font-size: 9px !important;
}

.sf-address-form input::-webkit-input-placeholder,
.sf-address-form textarea::-webkit-input-placeholder {
    font-size: 9px !important;
}

.sf-address-form input::-moz-placeholder,
.sf-address-form textarea::-moz-placeholder {
    font-size: 9px !important;
}

.sf-address-form input:-ms-input-placeholder,
.sf-address-form textarea:-ms-input-placeholder {
    font-size: 9px !important;
}

.sf-address-form .form-select {
    font-size: 12px;
}

.js-checkout-address > .required-symbol {
    display: none;
}

.sf-hero-grid {
    gap: 20px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(31, 122, 99, .08), transparent 58%),
        radial-gradient(circle at 82% 16%, rgba(255, 140, 66, .16), transparent 28%);
    padding: 18px;
    box-shadow: none;
    align-items: stretch;
}

.sf-hero-card {
    min-height: 260px;
    border-radius: 26px;
    box-shadow: 0 22px 52px rgba(31, 122, 99, .13);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 34px;
}

.sf-hero-card-soft {
    background:
        linear-gradient(90deg, rgba(255, 140, 66, .18) 0 10px, transparent 10px),
        radial-gradient(circle at 90% 20%, rgba(163, 214, 92, .18), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.99), rgba(255,255,255,.92));
    border: 1px solid rgba(31, 122, 99, .15);
}

.sf-hero-card-dark {
    background:
        linear-gradient(150deg, rgba(255, 140, 66, .2) 0 18%, transparent 18%),
        radial-gradient(circle at 86% 18%, rgba(163, 214, 92, .26), transparent 26%),
        linear-gradient(135deg, #1f7a63 0%, #145c51 54%, #2f3331 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    transform: translateY(16px);
}

.sf-hero-card-soft::after {
    top: auto;
    right: -42px;
    bottom: -42px;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(31, 122, 99, .08);
    border-radius: 50%;
    background: transparent;
}

.sf-hero-card-dark::after {
    right: 22px;
    left: auto;
    top: 22px;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    transform: rotate(10deg);
}

.sf-banner-card,
.sf-banner-card .sf-banner-copy,
.sf-banner-card .sf-banner-copy .sf-kicker,
.sf-banner-card .sf-banner-copy h2,
.sf-banner-card .sf-banner-copy p {
    color: #fff !important;
}

.sf-hero-card::before {
    inset: auto 28px 24px auto;
    width: 76px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    opacity: .12;
}

.sf-hero-card h1,
.sf-hero-card h2 {
    max-width: 19ch;
    margin-top: 10px;
    margin-bottom: 12px;
}

.sf-hero-card p {
    max-width: 46ch;
}

.sf-hero-card .d-flex,
.sf-hero-pills {
    margin-top: 18px !important;
}

.sf-hero-pills span {
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.16);
}

@media (min-width: 992px) {
    .sf-searchbar {
        grid-template-columns:
            minmax(390px, 430px)
            minmax(290px, 316px)
            minmax(220px, 260px)
            minmax(360px, 1fr)
            max-content;
        gap: 16px;
        justify-content: stretch;
    }

    .sf-logo {
        grid-column: 1;
        overflow: hidden;
    }

    .sf-location-btn {
        grid-column: 2;
        justify-self: stretch;
        margin-right: 0;
        width: 100%;
        padding-inline: 20px;
    }

    .sf-vendor-selector {
        grid-column: 3;
        width: 100%;
    }

    .sf-vendor-btn {
        max-width: none;
    }

    .sf-search-form {
        grid-column: 4;
        max-width: none;
    }

    .sf-actions {
        grid-column: 5;
        flex-wrap: nowrap;
        min-width: max-content;
        justify-self: end;
    }

    .sf-action-link {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: 3 / 5;
        max-width: none;
        justify-self: stretch;
    }

}

@media (min-width: 992px) and (max-width: 1499.98px) {
    .sf-searchbar {
        grid-template-columns:
            minmax(220px, 300px)
            minmax(190px, 280px)
            minmax(0, 220px)
            minmax(220px, 1fr)
            max-content;
        gap: 12px;
        padding-block: 18px;
    }

    .sf-logo {
        grid-column: 1;
    }

    .sf-location-btn {
        grid-column: 2;
        width: 100%;
    }

    .sf-vendor-selector {
        grid-column: 3;
        width: 100%;
    }

    .sf-vendor-selector.d-none {
        display: none !important;
    }

    .sf-search-form {
        grid-column: 4;
        grid-row: 1;
        max-width: none;
    }

    .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: 3 / 5;
    }

    .sf-actions {
        grid-column: 5;
        grid-row: 1;
        justify-self: end;
    }

    .sf-brand-logo {
        height: 68px !important;
    }

    .sf-actions .sf-action-link {
        min-width: 96px;
        padding-inline: 12px;
    }
}

@media (min-width: 992px) {
    .sf-category-strip-header,
    .sf-section-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: end;
    }

    .sf-chip-row {
        grid-auto-flow: initial;
        grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
        gap: clamp(14px, 1.45vw, 28px);
        overflow: visible;
    }

    .sf-chip {
        min-width: 0;
    }
}

@media (max-width: 1199.98px) {
    .sf-footer-grid {
        grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(160px, 1fr));
    }

    .sf-footer-social-col {
        grid-column: span 2;
    }
}

@media (max-width: 991.98px) {
    #all-categories {
        scroll-margin-top: 180px;
    }

    .sf-brand-logo {
        height: 72px !important;
        max-width: min(260px, 100%);
    }

    .sf-searchbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding-block: 14px;
        gap: 10px;
    }

    .sf-logo {
        grid-column: 1 / -1;
    }

    .sf-search-form,
    .sf-actions {
        grid-column: 1 / -1;
    }

    .sf-search-form {
        max-width: 100%;
    }

    .sf-location-btn,
    .sf-vendor-btn,
    .sf-action-link,
    .sf-search-form {
        height: 50px;
        border-radius: 14px;
    }

    .sf-search-form {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .sf-search-form > i {
        width: 50px;
    }

    .sf-actions .sf-action-link {
        height: 50px;
        min-width: 0;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .storefront-shell input::placeholder,
    .storefront-shell textarea::placeholder {
        font-size: 9px !important;
    }

    .storefront-shell .subtitle,
    .storefront-shell .sub-title,
    .storefront-shell .section-subtitle,
    .storefront-shell .card-subtitle,
    .storefront-shell .small-title,
    .storefront-shell .text-secondary,
    .storefront-shell .description-text {
        font-size: 13px !important;
    }
}

@media (max-width: 767.98px) {
    .sf-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 26px 22px;
    }

    .sf-footer-brand,
    .sf-footer-social-col {
        grid-column: 1 / -1;
    }

    .sf-footer-address {
        max-width: 100%;
    }

    .sf-footer-social-col .sf-socials {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .storefront-shell {
        --sf-page-gutter: 14px;
    }

    .sf-hero-grid {
        border-radius: 18px;
        gap: 14px;
        padding: 0;
        background: transparent;
    }

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

    .sf-logo,
    .sf-location-btn,
    .sf-vendor-selector,
    .sf-search-form,
    .sf-actions {
        grid-column: 1 / -1;
    }

    .sf-logo {
        justify-content: flex-start;
    }

    .sf-brand-logo {
        height: 64px !important;
        max-width: min(230px, 100%);
    }

    .sf-actions {
        justify-content: stretch;
    }

    .sf-hero-card {
        min-height: 260px;
        padding: 24px 22px;
    }

    .sf-hero-card-dark {
        transform: none;
    }

    .sf-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 24px 18px;
    }

    .sf-footer-social-col {
        grid-column: auto;
    }
}

/* Final storefront header alignment */
.storefront-shell {
    --sf-header-radius: 16px;
    --sf-header-control-height: 56px;
}

.sf-topbar > .container-fluid {
    max-width: none;
}

.sf-searchbar {
    min-height: auto;
    padding-block: 28px;
    align-items: center;
}

.sf-brand-logo {
    height: 80px !important;
    max-width: min(380px, 100%);
}

.sf-location-btn,
.sf-vendor-btn,
.sf-search-form,
.sf-actions .sf-action-link {
    height: var(--sf-header-control-height);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-header-radius);
    background: #fff;
}

.sf-vendor-selector,
.sf-search-form {
    min-width: 0;
}

.sf-vendor-selector {
    overflow: hidden;
}

.sf-location-btn,
.sf-vendor-btn {
    padding-inline: 20px;
    justify-content: space-between;
    overflow: hidden;
}

.sf-search-form {
    grid-template-columns: var(--sf-header-control-height) minmax(0, 1fr);
    max-width: none;
    padding: 0;
}

.sf-search-form > i {
    width: var(--sf-header-control-height);
}

.sf-actions {
    gap: 10px;
    justify-content: flex-end;
}

.sf-actions .sf-action-link {
    min-width: 108px;
    padding-inline: 16px;
}

@media (min-width: 1500px) {
    .sf-searchbar {
        display: grid;
        grid-template-columns: 430px 286px 270px minmax(320px, 1fr) max-content;
        gap: 14px;
    }

    .sf-logo {
        grid-column: 1;
        justify-self: start;
    }

    .sf-location-btn {
        grid-column: 2;
        width: 100%;
    }

    .sf-vendor-selector {
        grid-column: 3;
        width: 100%;
    }

    .sf-vendor-btn {
        width: 100%;
        max-width: none;
    }

    .sf-search-form {
        grid-column: 4;
        width: 100%;
    }

    .sf-actions {
        grid-column: 5;
        min-width: max-content;
    }

    .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: 3 / 5;
    }
}

@media (min-width: 992px) and (max-width: 1499.98px) {
    .sf-searchbar {
        display: grid;
        grid-template-columns:
            minmax(220px, 300px)
            minmax(190px, 280px)
            minmax(180px, 230px)
            minmax(240px, 1fr)
            max-content;
        gap: 12px;
        padding-block: 18px;
    }

    .sf-logo {
        grid-column: 1;
    }

    .sf-location-btn {
        grid-column: 2;
        width: 100%;
    }

    .sf-vendor-selector {
        grid-column: 3;
        width: 100%;
    }

    .sf-vendor-selector.d-none {
        display: none !important;
    }

    .sf-search-form {
        grid-column: 4;
        grid-row: 1;
    }

    .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: 3 / 5;
    }

    .sf-actions {
        grid-column: 5;
        grid-row: 1;
    }

    .sf-brand-logo {
        height: 68px !important;
    }

    .sf-actions .sf-action-link {
        min-width: 96px;
        padding-inline: 12px;
    }
}

@media (max-width: 991.98px) {
    .sf-brand-logo {
        height: 70px !important;
    }
}

/* Header action buttons without pill containers */
.sf-actions .sf-action-link {
    height: auto;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sf-actions .sf-cart-badge {
    top: -16px;
}

/* Compact marked header controls */
.storefront-shell {
    --sf-header-control-height: 48px;
}

.sf-location-btn,
.sf-vendor-btn {
    padding-inline: 16px;
}

.sf-search-form {
    grid-template-columns: 48px minmax(0, 1fr);
}

.sf-search-form > i {
    width: 48px;
}

@media (min-width: 1500px) {
    .sf-searchbar {
        grid-template-columns: 430px 250px 230px minmax(280px, 1fr) max-content;
    }
}

@media (min-width: 992px) and (max-width: 1499.98px) {
    .sf-searchbar {
        grid-template-columns:
            minmax(220px, 300px)
            minmax(170px, 240px)
            minmax(150px, 200px)
            minmax(210px, 1fr)
            max-content;
    }
}

/* Centered header control group */
.sf-header-controls {
    display: grid;
    gap: 18px;
    align-items: center;
    min-width: 0;
}

@media (min-width: 992px) {
    .sf-searchbar {
        display: grid;
        grid-template-columns: minmax(240px, 360px) minmax(0, 1fr) max-content;
        gap: 24px;
    }

    .sf-logo {
        grid-column: 1;
        justify-self: start;
    }

    .sf-header-controls {
        grid-column: 2;
        justify-self: center;
        width: min(100%, 1028px);
        grid-template-columns: minmax(210px, 1fr) minmax(180px, 0.85fr) minmax(280px, 1fr);
    }

    .sf-header-controls .sf-location-btn,
    .sf-header-controls .sf-vendor-selector,
    .sf-header-controls .sf-vendor-btn,
    .sf-header-controls .sf-search-form {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: none;
    }

    .sf-header-controls .sf-vendor-selector.d-none {
        display: none !important;
    }

    .sf-header-controls .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: span 2;
    }

    .sf-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

@media (min-width: 1500px) {
    .sf-header-controls {
        width: min(100%, 1020px);
        grid-template-columns: 360px 300px 360px;
    }
}

@media (min-width: 992px) and (max-width: 1240px) {
    .sf-searchbar {
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) max-content;
        gap: 14px;
    }

    .sf-header-controls {
        gap: 10px;
        grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.8fr) minmax(190px, 1fr);
    }
}

@media (max-width: 991.98px) {
    .sf-header-controls {
        width: 100%;
        grid-template-columns: 1fr;
    }
}

/* Keep the desktop header controls on a single, non-overlapping row. */
@media (min-width: 992px) {
    .sf-searchbar {
        grid-template-columns: clamp(220px, 18vw, 340px) minmax(0, 1fr) max-content;
        gap: 18px;
    }

    .sf-header-controls {
        justify-self: stretch;
        width: 100%;
        gap: 12px;
        grid-template-columns:
            minmax(170px, .8fr)
            minmax(140px, .65fr)
            minmax(220px, 1.25fr);
    }

    .sf-search-form {
        min-width: 0;
    }

    .sf-search-form input {
        min-width: 0;
    }

    .sf-actions {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        min-width: max-content;
        white-space: nowrap;
    }

    .sf-actions .sf-action-link {
        flex: 0 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .sf-searchbar {
        grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) max-content;
        gap: 12px;
    }

    .sf-header-controls {
        gap: 8px;
        grid-template-columns:
            minmax(135px, .8fr)
            minmax(110px, .65fr)
            minmax(150px, 1.15fr);
    }

    .sf-location-btn,
    .sf-vendor-btn {
        padding-inline: 12px;
    }

    .sf-actions {
        gap: 8px;
    }
}

/* Compact desktop header controls so location, vendors and search stay screen-fit. */
@media (min-width: 992px) {
    .storefront-shell {
        --sf-header-control-height: 44px;
    }

    .sf-searchbar {
        grid-template-columns: clamp(190px, 16vw, 300px) minmax(0, 1fr) max-content;
        gap: 14px;
        padding-block: 18px;
    }

    .sf-header-controls {
        justify-self: center;
        width: min(100%, 820px);
        gap: 10px;
        grid-template-columns:
            minmax(180px, 220px)
            minmax(140px, 180px)
            minmax(260px, 380px);
        justify-content: center;
    }

    .sf-header-controls .sf-vendor-selector.d-none + .sf-search-form {
        grid-column: 2 / 4;
        max-width: 570px;
    }

    .sf-location-btn,
    .sf-vendor-btn {
        padding-inline: 14px;
        font-size: 14px;
    }

    .sf-search-form {
        grid-template-columns: var(--sf-header-control-height) minmax(0, 1fr);
    }

    .sf-search-form > i {
        width: var(--sf-header-control-height);
    }

    .sf-search-form input {
        font-size: 13px;
        padding-inline: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .sf-searchbar {
        grid-template-columns: minmax(160px, 210px) minmax(0, 1fr) max-content;
        gap: 10px;
    }

    .sf-header-controls {
        width: 100%;
        gap: 8px;
        grid-template-columns:
            minmax(130px, 170px)
            minmax(100px, 140px)
            minmax(170px, 1fr);
    }

    .sf-header-controls .sf-vendor-selector.d-none + .sf-search-form {
        max-width: none;
    }
}

.sf-header-controls .sf-vendor-selector {
    overflow: visible;
}

.sf-header-controls .sf-vendor-menu {
    z-index: 1055;
}

.sf-header-controls .sf-search-form {
    overflow: visible;
}

.sf-search-suggestions {
    display: flex;
    gap: 10px;
    max-height: none;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
}

.sf-search-suggestions[hidden] {
    display: none;
}

.sf-search-suggestions .sf-search-suggestion {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    max-width: 240px;
    padding: 10px 14px;
    border: 1px solid rgba(31, 122, 99, .12);
    border-radius: 999px;
    background: var(--sf-surface);
    color: var(--sf-charcoal);
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sf-how-it-works {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 2.4vw, 34px);
    border: 1px solid rgba(31, 122, 99, .1);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f8fbfa);
    box-shadow: 0 16px 44px rgba(31, 122, 99, .08);
}

.sf-how-it-works::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background:
        linear-gradient(90deg, #1f7a63, #ff8c42, #a3d65c);
    opacity: .9;
    pointer-events: none;
}

.sf-how-header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.sf-how-header h4 {
    font-size: clamp(24px, 2vw, 32px);
    letter-spacing: 0;
}

.sf-how-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(31, 122, 99, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: #1f7a63;
    font-size: 13px;
    font-weight: 800;
}

.sf-how-grid {
    position: relative;
    z-index: 1;
}

.sf-how-grid::before {
    content: "";
    position: absolute;
    left: calc(16.666% + 48px);
    right: calc(16.666% + 48px);
    top: 44px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(31, 122, 99, .24), rgba(255, 140, 66, .24), rgba(31, 122, 99, .24));
    pointer-events: none;
}

.sf-how-it-works .sf-mini-step {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 112px;
    padding: 20px;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(31, 122, 99, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 122, 99, .07);
}

.sf-how-it-works .sf-mini-step strong {
    flex: 0 0 auto;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #1f7a63;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(31, 122, 99, .2);
}

.sf-how-it-works .sf-mini-step > i {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: rgba(31, 122, 99, .08);
    font-size: 42px;
}

.sf-how-it-works .sf-mini-step .fw-semibold {
    font-size: 18px;
    line-height: 1.2;
}

.sf-how-it-works .sf-mini-step .text-secondary {
    max-width: 24ch;
}

.sf-how-it-works .sf-step-line {
    display: none;
}

@media (max-width: 767.98px) {
    .sf-how-grid::before {
        display: none;
    }

    .sf-how-it-works .sf-mini-step {
        min-height: 96px;
        padding: 18px;
    }

    .sf-how-it-works .sf-mini-step strong {
        width: 44px;
        height: 44px;
    }
}

/* Zepto-inspired promotional storefront enhancements */
.sf-promo-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(14px, 1.4vw, 22px);
}

.sf-promo-card,
.sf-ad-card {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 170px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(22px, 2.4vw, 38px);
    border: 1px solid rgba(31, 122, 99, .1);
    border-radius: 8px;
    color: #1f2523;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(31, 122, 99, .08);
}

.sf-promo-card::before,
.sf-ad-card::before {
    content: "";
    position: absolute;
    inset: auto -34px -48px auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .42);
    z-index: -1;
}

.sf-promo-card::after,
.sf-ad-card::after {
    content: "";
    position: absolute;
    right: clamp(18px, 2vw, 34px);
    top: clamp(18px, 2vw, 34px);
    width: clamp(58px, 6vw, 96px);
    height: clamp(58px, 6vw, 96px);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    transform: rotate(9deg);
    z-index: -1;
}

.sf-promo-card-large {
    min-height: 330px;
}

.sf-promo-card h2,
.sf-promo-card h3,
.sf-ad-card h3 {
    max-width: 16ch;
    margin: 8px 0 10px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.sf-promo-card h2 {
    font-size: clamp(32px, 4.2vw, 58px);
}

.sf-promo-card h3,
.sf-ad-card h3 {
    font-size: clamp(22px, 2.2vw, 34px);
}

.sf-promo-card p,
.sf-ad-card p {
    max-width: 42ch;
    margin: 0;
    color: rgba(31, 37, 35, .72);
}

.sf-promo-cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-weight: 800;
    color: #1f7a63;
}

.sf-promo-fresh {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .94), rgba(236, 255, 239, .82)),
        radial-gradient(circle at 78% 62%, rgba(163, 214, 92, .36), transparent 30%),
        #f5fff2;
}

.sf-promo-orange {
    background:
        linear-gradient(135deg, rgba(255, 247, 237, .98), rgba(255, 212, 174, .82)),
        #fff3e7;
}

.sf-promo-cool {
    background:
        linear-gradient(135deg, rgba(235, 253, 255, .98), rgba(209, 243, 231, .86)),
        #ecfeff;
}

.sf-brand-store-panel {
    padding: clamp(20px, 2.4vw, 34px);
    border: 1px solid rgba(31, 122, 99, .12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(31, 122, 99, .07);
}

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

.sf-store-tile {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(31, 122, 99, .1);
    border-radius: 8px;
    background: #f8fbf8;
    text-align: left;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sf-store-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 122, 99, .28);
    box-shadow: 0 12px 28px rgba(31, 122, 99, .12);
}

.sf-store-tile span {
    grid-row: span 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #1f7a63;
    color: #fff;
    font-weight: 800;
}

.sf-store-tile strong,
.sf-store-tile small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sf-store-tile small {
    color: var(--sf-muted);
}

.sf-ad-mosaic {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: clamp(14px, 1.4vw, 22px);
}

.sf-ad-green {
    background:
        linear-gradient(135deg, rgba(31, 122, 99, .94), rgba(28, 89, 78, .96)),
        #1f7a63;
    color: #fff;
}

.sf-ad-green p,
.sf-ad-green .sf-kicker {
    color: rgba(255, 255, 255, .78);
}

.sf-ad-pink {
    background:
        linear-gradient(135deg, rgba(255, 239, 244, .98), rgba(255, 190, 204, .82)),
        #ffe5ec;
}

.sf-ad-blue {
    background:
        linear-gradient(135deg, rgba(232, 246, 255, .98), rgba(189, 229, 255, .8)),
        #e8f6ff;
}

.sf-promo-board .sf-promo-card,
.sf-promo-board .sf-promo-card .sf-kicker,
.sf-promo-board .sf-promo-card h2,
.sf-promo-board .sf-promo-card h3,
.sf-promo-board .sf-promo-card p,
.sf-promo-board .sf-promo-card .sf-promo-cta,
.sf-ad-mosaic .sf-ad-card,
.sf-ad-mosaic .sf-ad-card .sf-kicker,
.sf-ad-mosaic .sf-ad-card h3,
.sf-ad-mosaic .sf-ad-card p {
    color: #fff !important;
}

.sf-footer-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.sf-footer-benefits > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 14px;
    border: 1px solid rgba(31, 122, 99, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 122, 99, .06);
}

.sf-footer-benefits i {
    grid-row: span 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: rgba(31, 122, 99, .1);
    color: #1f7a63;
    font-size: 20px;
}

.sf-footer-benefits span {
    font-weight: 800;
    color: var(--sf-charcoal);
}

.sf-footer-benefits small {
    min-width: 0;
    color: var(--sf-muted);
}

.sf-payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(31, 122, 99, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
}

.sf-footer .sf-payment-row {
    display: none !important;
}

.sf-payment-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(31, 122, 99, .14);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f8fbfa);
    color: var(--sf-brand-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(31, 122, 99, .08);
}

@media (max-width: 991.98px) {
    .sf-promo-board,
    .sf-ad-mosaic {
        grid-template-columns: 1fr;
    }

    .sf-promo-card-large {
        min-height: 280px;
    }

    .sf-store-tile-grid,
    .sf-footer-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .sf-promo-card,
    .sf-ad-card {
        min-height: 190px;
        padding: 22px;
    }

    .sf-promo-card-large {
        min-height: 250px;
    }

    .sf-store-tile-grid,
    .sf-footer-benefits {
        grid-template-columns: 1fr;
    }
}

.sf-order-history-card {
    align-items: center;
    gap: 16px;
}

.sf-order-history-main {
    align-items: center;
}

.sf-order-history-image {
    width: 88px;
    height: 88px;
    border-radius: 8px;
}

.sf-order-history-eyebrow {
    margin-bottom: 4px;
    color: var(--sf-muted);
    font-size: 12px;
    font-weight: 600;
}

.sf-order-history-title {
    display: block;
    color: var(--sf-charcoal);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
    .sf-order-history-card,
    .sf-order-history-main {
        align-items: flex-start;
    }

    .sf-order-history-image {
        width: 72px;
        height: 72px;
    }
}

/* Header logo sizing */
.sf-topbar .sf-brand-logo {
    height: 96px !important;
    max-width: min(420px, 100%);
}

@media (min-width: 992px) {
    .sf-searchbar {
        grid-template-columns: clamp(240px, 20vw, 380px) minmax(0, 1fr) max-content;
    }
}

@media (max-width: 991.98px) {
    .sf-topbar .sf-brand-logo {
        height: 82px !important;
        max-width: min(280px, 100%);
    }
}

@media (max-width: 575.98px) {
    .sf-topbar .sf-brand-logo {
        height: 72px !important;
        max-width: min(240px, 100%);
    }
}

/* Header bell/cart sizing and mobile badge alignment */
.sf-actions .sf-action-link {
    position: relative;
    overflow: visible;
}

.sf-actions .sf-action-link > i {
    font-size: 1.35rem;
    line-height: 1;
}

.sf-actions .js-open-cart > i,
.sf-actions .sf-alert-link > i {
    font-size: 1.5rem;
}

.sf-actions .sf-cart-badge {
    top: -10px;
    right: -10px;
    z-index: 2;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .sf-actions {
        overflow: visible;
        padding-top: 4px;
        padding-right: 4px;
    }

    .sf-actions .sf-action-link {
        min-height: 44px;
        padding-inline: 8px;
    }

    .sf-actions .sf-action-link > i {
        font-size: 1.45rem;
    }

    .sf-actions .js-open-cart > i,
    .sf-actions .sf-alert-link > i {
        font-size: 1.58rem;
    }

    .sf-actions .sf-cart-badge {
        top: -7px;
        right: -7px;
        min-width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* Mobile category listing polish */
@media (max-width: 767.98px) {
    .sf-category-layout {
        gap: 14px;
    }

    .sf-category-sidebar {
        padding: 14px;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(31, 122, 99, .07);
    }

    .sf-category-sidebar h4 {
        margin-bottom: 10px !important;
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .sf-category-sidebar .sf-side-links {
        display: flex;
        gap: 10px;
        margin-top: 0;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .sf-category-sidebar .sf-side-links::-webkit-scrollbar {
        display: none;
    }

    .sf-category-sidebar .sf-side-links a {
        flex: 0 0 auto;
        max-width: 152px;
        min-height: 52px;
        padding: 8px 10px;
        border: 1px solid rgba(31, 122, 99, .1);
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
    }

    .sf-category-sidebar .sf-side-links a img {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .sf-category-sidebar .sf-side-links a span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .84rem;
    }

    .sf-page-title {
        margin-bottom: 12px;
    }

    .sf-page-title h2 {
        font-size: clamp(1.35rem, 6vw, 1.72rem);
        line-height: 1.18;
    }

    .sf-page-title p {
        font-size: .88rem;
        line-height: 1.45;
    }

    .sf-filter-row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        align-items: center;
        gap: 8px;
        margin: 0 calc(var(--sf-page-gutter, 16px) * -1) 16px;
        overflow-x: auto;
        padding: 2px var(--sf-page-gutter, 16px) 8px;
        scrollbar-width: none;
    }

    .sf-filter-row::-webkit-scrollbar {
        display: none;
    }

    .sf-filter-row form {
        display: inline-flex !important;
        min-width: 190px;
    }

    .sf-filter-row .form-select {
        min-width: 190px !important;
        max-width: 220px;
        height: 42px;
        font-size: .86rem;
    }

    .sf-filter-pill {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        max-width: 190px;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: .86rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .sf-filter-pill span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

@media (max-width: 380px) {
    .sf-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.sf-promo-showcase {
    margin-top: 8px;
    margin-bottom: 14px;
}

.sf-promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(320px, .88fr);
    gap: 16px;
    align-items: stretch;
}

.sf-promo-card {
    min-height: clamp(240px, 18vw, 340px);
    padding: 0;
    border: 1px solid rgba(31, 122, 99, .15);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    overflow: hidden;
    position: relative;
}

.sf-promo-card-primary {
    display: block;
    background:
        radial-gradient(circle at 86% 52%, rgba(163, 214, 92, .18) 0 18%, transparent 18.5%),
        radial-gradient(circle at 96% 24%, rgba(31, 122, 99, .08) 0 17%, transparent 17.5%),
        linear-gradient(135deg, #fffdf7 0%, #f8fbec 100%);
}

.sf-promo-slides {
    display: grid;
    min-height: inherit;
}

.sf-promo-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr);
    align-items: center;
    min-height: inherit;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    visibility: hidden;
    transition: opacity .42s ease, transform .42s ease, visibility .42s ease;
}

.sf-promo-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
}

.sf-promo-card-deal {
    display: grid;
    grid-template-columns: minmax(190px, .95fr) minmax(170px, .72fr);
    align-items: center;
    background:
        radial-gradient(circle at 76% 20%, rgba(255, 255, 255, .13) 0 2px, transparent 2.5px) 0 0 / 18px 18px,
        linear-gradient(135deg, #07563e 0%, #0b7b55 52%, #043f31 100%);
    color: #fff;
}

.sf-promo-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: clamp(22px, 2.35vw, 40px);
}

.sf-promo-card-deal .sf-promo-copy {
    padding-right: clamp(16px, 1.45vw, 26px);
}

.sf-promo-card h1,
.sf-promo-card h2 {
    margin: 0;
    color: var(--sf-charcoal);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
}

.sf-promo-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(31, 122, 99, .1);
    color: #147a61;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.sf-promo-card h1 {
    font-size: clamp(1.75rem, 2.28vw, 3.05rem);
}

.sf-promo-card h1 span {
    color: #147a61;
}

.sf-promo-card h2 {
    color: #fff;
    max-width: 10.5ch;
    font-size: clamp(1.55rem, 1.78vw, 2.28rem);
}

.sf-promo-card p {
    max-width: 46ch;
    margin: clamp(10px, 1vw, 16px) 0 0;
    color: #4b5563;
    font-size: clamp(.86rem, .72vw, 1rem);
    line-height: 1.45;
}

.sf-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(16px, 1.55vw, 26px);
}

.sf-promo-actions .btn,
.sf-promo-card-deal .btn {
    min-height: 40px;
    min-width: 136px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.sf-promo-actions .btn-dark {
    border-color: #047857;
    background: #047857;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(4, 120, 87, .2);
}

.sf-promo-actions .btn-dark:hover,
.sf-promo-actions .btn-dark:focus {
    border-color: #065f46;
    background: #065f46;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(4, 120, 87, .24);
}

.sf-promo-actions .btn-outline-dark {
    color: #047857;
    border-color: rgba(4, 120, 87, .45);
    background: rgba(255, 255, 255, .74);
    box-shadow: inset 0 0 0 1px rgba(4, 120, 87, .04);
}

.sf-promo-actions .btn-outline-dark:hover,
.sf-promo-actions .btn-outline-dark:focus {
    color: #065f46;
    border-color: rgba(4, 120, 87, .72);
    background: #fff;
    transform: translateY(-1px);
}

.sf-promo-visual {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 1.5vw, 28px) clamp(16px, 2vw, 34px) clamp(14px, 1.5vw, 28px) 0;
    min-width: 0;
}

.sf-promo-visual::before {
    content: "";
    position: absolute;
    width: clamp(150px, 10.5vw, 220px);
    height: clamp(150px, 10.5vw, 220px);
    right: clamp(20px, 2.2vw, 42px);
    bottom: clamp(-56px, -2.4vw, -34px);
    border: clamp(18px, 1.25vw, 28px) solid rgba(163, 214, 92, .25);
    border-radius: 50%;
}

.sf-promo-offer-frame {
    position: relative;
    z-index: 1;
    width: min(100%, clamp(250px, 18vw, 350px));
    aspect-ratio: 1.52;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(4, 120, 87, .15);
    overflow: hidden;
}

.sf-promo-offer-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-grocery-bag {
    position: relative;
    z-index: 1;
    width: min(100%, clamp(230px, 15.8vw, 310px));
    min-height: clamp(150px, 10.8vw, 210px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(24px, 1.75vw, 36px) clamp(16px, 1.25vw, 24px) clamp(16px, 1.2vw, 24px);
    border-radius: 22px 22px 20px 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(246, 253, 237, .96) 100%);
    box-shadow: 0 20px 44px rgba(4, 120, 87, .15);
}

.sf-grocery-bag::before {
    content: "";
    position: absolute;
    inset: clamp(34px, 2.45vw, 48px) clamp(22px, 1.55vw, 32px) clamp(10px, .85vw, 14px);
    border-radius: 14px;
    background: linear-gradient(135deg, #0f8d66 0%, #0a6f51 100%);
    clip-path: polygon(13% 0, 87% 0, 100% 100%, 0 100%);
}

.sf-grocery-bag-handle {
    position: absolute;
    top: clamp(14px, 1vw, 20px);
    left: 50%;
    width: clamp(88px, 6.2vw, 122px);
    height: clamp(50px, 3.5vw, 72px);
    border: clamp(8px, .55vw, 11px) solid rgba(15, 141, 102, .28);
    border-bottom: 0;
    border-radius: 80px 80px 0 0;
    transform: translateX(-50%);
}

.sf-grocery-img {
    position: relative;
    z-index: 2;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(15, 23, 42, .16));
}

.sf-grocery-img-main {
    width: min(100%, clamp(190px, 13vw, 260px));
    max-height: clamp(108px, 7.2vw, 148px);
}

.sf-grocery-img-side {
    position: absolute;
    right: clamp(14px, 1.1vw, 22px);
    bottom: clamp(12px, 1vw, 18px);
    width: clamp(82px, 5.8vw, 118px);
    max-height: clamp(82px, 5.8vw, 118px);
}

.sf-promo-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: flex;
    gap: 8px;
}

.sf-promo-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(31, 122, 99, .2);
}

.sf-promo-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 122, 99, .2);
}

.sf-promo-dots .is-active {
    width: 18px;
    border-radius: 999px;
    background: #047857;
}

.sf-promo-kicker {
    display: block;
    color: #c7f86e;
    font-size: .76rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.sf-promo-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.sf-promo-benefits span {
    color: rgba(255, 255, 255, .92);
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.sf-promo-benefits i {
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    border: 1px solid rgba(199, 248, 110, .32);
    border-radius: 50%;
    color: #c7f86e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-deal-basket {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 1.55vw, 28px) clamp(16px, 2vw, 34px) clamp(16px, 1.55vw, 28px) 0;
    min-width: 0;
}

.sf-deal-product-card {
    width: min(100%, clamp(168px, 11.5vw, 230px));
    aspect-ratio: 1.2;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.sf-deal-product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-deal-basket strong {
    position: absolute;
    top: clamp(20px, 2.2vw, 38px);
    right: clamp(18px, 2.25vw, 42px);
    width: clamp(54px, 3.7vw, 70px);
    height: clamp(54px, 3.7vw, 70px);
    border-radius: 50%;
    background: #ffcf33;
    color: #0f2f22;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(.58rem, .48vw, .72rem);
    font-weight: 900;
    line-height: 1.02;
}

.sf-service-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 14px;
    background: rgba(226, 232, 240, .9);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.sf-service-strip div {
    min-height: 76px;
    padding: 14px 18px;
    background: #fff;
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
}

.sf-service-strip i {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(4, 120, 87, .09);
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.sf-service-strip strong {
    color: var(--sf-charcoal);
    font-size: .9rem;
    line-height: 1.2;
}

.sf-service-strip span {
    color: var(--sf-muted);
    font-size: .76rem;
    line-height: 1.2;
}

@media (max-width: 1199.98px) {
    .sf-promo-grid,
    .sf-promo-card-primary,
    .sf-promo-card-deal {
        grid-template-columns: 1fr;
    }

    .sf-promo-card {
        height: auto;
        min-height: auto;
    }

    .sf-promo-visual,
    .sf-deal-basket {
        padding: 0 28px 28px;
    }

    .sf-promo-slide {
        grid-template-columns: 1fr;
    }

    .sf-promo-offer-frame {
        width: min(100%, 380px);
    }

    .sf-grocery-bag {
        width: min(100%, 380px);
    }

    .sf-promo-dots {
        left: 32px;
    }

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

@media (max-width: 575.98px) {
    .sf-promo-copy {
        padding: 24px;
    }

    .sf-promo-card-deal .sf-promo-copy {
        padding: 18px 18px 10px;
    }

    .sf-promo-card-deal .sf-promo-kicker {
        margin-bottom: 6px;
        font-size: .68rem;
    }

    .sf-promo-card-deal h2 {
        max-width: 11ch;
        font-size: 1.34rem;
        line-height: 1.08;
    }

    .sf-promo-actions {
        gap: 10px;
    }

    .sf-promo-actions .btn,
    .sf-promo-card-deal .btn {
        width: 100%;
        justify-content: center;
    }

    .sf-promo-card-deal .btn {
        min-height: 36px;
        padding: 7px 14px;
        font-size: .82rem;
    }

    .sf-grocery-bag {
        min-height: 188px;
        padding-inline: 16px;
    }

    .sf-promo-offer-frame {
        width: min(100%, 320px);
        border-radius: 18px;
    }

    .sf-grocery-img-side {
        width: 92px;
    }

    .sf-promo-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin: 10px 0 12px;
    }

    .sf-promo-benefits span {
        font-size: .56rem;
        line-height: 1.15;
    }

    .sf-promo-benefits i {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        font-size: .8rem;
    }

    .sf-deal-basket {
        min-height: 128px;
        padding: 0 18px 18px;
    }

    .sf-deal-product-card {
        width: min(58vw, 170px);
        padding: 8px;
        border-radius: 14px;
    }

    .sf-deal-basket strong {
        top: 0;
        right: 22px;
        width: 48px;
        height: 48px;
        font-size: .52rem;
    }

    .sf-service-strip {
        grid-template-columns: 1fr;
    }

    .sf-service-strip div {
        min-height: 68px;
    }
}
