:root {
    --sf-primary: #0c831f;
    --sf-primary-dark: #0a6b19;
    --sf-accent: #f59e0b;
    --sf-dark: #0f172a;
    --sf-muted: #64748b;
    --sf-surface: #ffffff;
    --sf-bg: #f8fafc;
    --sf-border: #e2e8f0;
    --sf-radius: 1rem;
    --sf-radius-lg: 1.5rem;
    --sf-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --sf-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --sf-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --qk-green: #0c831f;
    --qk-green-dark: #0a6b19;
    --qk-green-light: #e8f5e9;
    --qk-radius: 12px;
    --qk-pill-width: 88px;
    --sf-container-max: 1920px;
    --sf-container-pad: clamp(0.875rem, 2.5vw, 2.5rem);
    --sf-grid-gap: clamp(0.5rem, 1.2vw, 1rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.storefront {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--sf-bg);
    color: var(--sf-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* ── Fluid content width (caps at ultra-wide) ── */
.bk-container {
    width: 100%;
    max-width: var(--sf-container-max);
    margin-inline: auto;
    padding-inline: var(--sf-container-pad);
}

/* ── Product grid (CSS Grid, auto-fit) ── */
.sf-product-grid {
    display: grid;
    gap: var(--sf-grid-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.sf-product-grid > * {
    min-width: 0;
}

@media (min-width: 576px) {
    .sf-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (min-width: 768px) {
    .sf-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    }
}

@media (min-width: 1024px) {
    .sf-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (min-width: 1280px) {
    .sf-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* ── Category grid ── */
.sf-category-grid {
    display: grid;
    gap: var(--sf-grid-gap);
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    justify-items: center;
}

@media (min-width: 576px) {
    .sf-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@media (min-width: 768px) {
    .sf-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    }
}

@media (min-width: 1024px) {
    .sf-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }
}

/* ── Trust / feature grids ── */
.sf-trust-grid,
.sf-feature-grid {
    display: grid;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .sf-trust-grid,
    .sf-feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (min-width: 1024px) {
    .sf-trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* ── Split page layouts (cart, checkout) ── */
.sf-page-layout--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .sf-page-layout--split {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    }
}

/* ── Product detail layout ── */
.sf-product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .sf-product-detail-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 3rem);
    }
}

/* ── Auth shell ── */
.sf-auth-shell {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
}

/* ── Blinkit header ── */
.bk-header {
    background: #fff;
    border-bottom: 1px solid var(--sf-border);
    z-index: 1030;
    transition: box-shadow var(--sf-transition);
}

.bk-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.bk-header-top {
    display: none;
}

.bk-header-promo {
    display: none;
}

.bk-location-btn--desktop {
    max-width: 240px;
    margin-right: 0.25rem;
}

.bk-location-sub {
    font-size: 0.72rem;
    color: var(--sf-muted);
    font-weight: 500;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-location-modal-hint {
    font-size: 0.875rem;
    color: var(--sf-muted);
    margin-bottom: 1rem;
}

.bk-field-readonly {
    background: var(--sf-bg);
    color: var(--sf-dark);
}

.bk-field-readonly:focus {
    box-shadow: none;
    border-color: var(--sf-border);
}

.pac-container {
    z-index: 2000 !important;
    border-radius: 12px;
    border: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow-lg);
    margin-top: 4px;
    font-family: 'Poppins', system-ui, sans-serif;
}

.pac-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
}

.pac-item-query {
    font-weight: 600;
}

.bk-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
    padding: 0;
    color: var(--sf-dark);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color var(--sf-transition);
}

.bk-location-btn:hover {
    color: var(--qk-green);
}

.bk-location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.bk-location-eta {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--qk-green);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bk-location-label {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-location-chevron {
    color: var(--sf-muted);
    flex-shrink: 0;
}

.bk-location-btn--mobile {
    font-size: 0.75rem;
    font-weight: 600;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-header-main {
    padding: 0.65rem 0;
}

.bk-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bk-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--sf-dark);
    flex-shrink: 0;
}

.brand-logo--header {
    height: 48px;
    width: auto;
    max-width: min(180px, 42vw);
    object-fit: contain;
    display: block;
}

.brand-logo--guest {
    height: 72px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.brand-logo--offcanvas {
    height: 40px;
    max-width: 160px;
}

.bk-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--qk-green), var(--qk-green-dark));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(12, 131, 31, 0.35);
}

.bk-logo-text {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.bk-search {
    flex: 1;
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.bk-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sf-muted);
    pointer-events: none;
}

.bk-search-input {
    width: 100%;
    border: 1.5px solid var(--sf-border);
    border-radius: 12px;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--sf-bg);
    transition: border-color var(--sf-transition), box-shadow var(--sf-transition), background var(--sf-transition);
}

.bk-search-input:focus {
    outline: none;
    border-color: var(--qk-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(12, 131, 31, 0.1);
}

.bk-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    box-shadow: var(--sf-shadow-lg);
    max-height: 360px;
    overflow-y: auto;
    padding: 0.35rem;
}

.bk-search-suggestion {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.bk-search-suggestion:hover,
.bk-search-suggestion.is-active {
    background: var(--qk-green-light);
}

.bk-search-suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--sf-bg);
}

.bk-search-suggestion-img--placeholder {
    object-fit: contain;
    padding: 0.35rem;
    background: #f3f4f6;
}

.bk-search-suggestion--category .bk-search-suggestion-img,
.bk-search-suggestion--brand .bk-search-suggestion-img {
    border-radius: 50%;
    object-fit: cover;
}

.bk-search-suggestion-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.bk-search-suggestion-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-search-suggestion-meta {
    font-size: 0.72rem;
    color: var(--sf-muted);
}

.bk-search-suggestion-empty {
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--sf-muted);
}

.bk-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.bk-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--sf-dark);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: all var(--sf-transition);
    position: relative;
}

.bk-action-btn:hover {
    color: var(--qk-green);
    background: var(--qk-green-light);
}

.bk-action-btn--cart {
    border-color: var(--sf-border);
}

/* ── Account dropdown ── */
.bk-account-dropdown {
    position: relative;
}

.bk-account-toggle.dropdown-toggle::after {
    display: none;
}

.bk-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--qk-green), var(--qk-green-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.bk-account-chevron {
    color: var(--sf-muted);
    flex-shrink: 0;
}

.bk-account-menu {
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    box-shadow: var(--sf-shadow-lg);
    padding: 0.45rem;
    min-width: 240px;
    margin-top: 0.5rem !important;
}

.bk-account-menu-header {
    padding: 0.65rem 0.75rem 0.55rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--sf-border);
}

.bk-account-menu-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sf-dark);
    line-height: 1.3;
}

.bk-account-menu-meta {
    font-size: 0.75rem;
    color: var(--sf-muted);
    margin-top: 0.15rem;
}

.bk-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sf-dark);
}

.bk-account-menu .dropdown-item:hover,
.bk-account-menu .dropdown-item:focus {
    background: var(--qk-green-light);
    color: var(--qk-green-dark);
}

.bk-account-menu .dropdown-item.active {
    background: var(--qk-green-light);
    color: var(--qk-green-dark);
}

.bk-account-menu-icon {
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    line-height: 1;
}

.bk-account-menu-footer {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--sf-border);
}

.bk-account-menu-logout {
    color: #dc2626 !important;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

.bk-account-menu-logout:hover,
.bk-account-menu-logout:focus {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.bk-action-btn--register {
    background: var(--qk-green);
    color: #fff;
    border-color: var(--qk-green);
}

.bk-action-btn--register:hover {
    background: var(--qk-green-dark);
    color: #fff;
    border-color: var(--qk-green-dark);
}

.bk-offcanvas-account {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--sf-border);
}

.bk-offcanvas-account-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sf-muted);
    margin-bottom: 0.35rem;
}

.bk-offcanvas-logout {
    color: #dc2626;
    border-color: #fecaca;
}

.bk-offcanvas-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.bk-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.bk-action-btn--cart.bk-cart-bounce {
    animation: bk-cart-bounce 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bk-action-btn--cart.bk-cart-bounce .bk-cart-badge {
    animation: bk-badge-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes bk-cart-bounce {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.12); }
    65% { transform: scale(0.96); }
}

@keyframes bk-badge-pop {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.25); }
}

/* ── Toast notifications ── */
.bk-toast-stack {
    position: fixed;
    z-index: 1080;
    top: calc(var(--bk-header-offset, 72px) + 0.75rem);
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.625rem;
    pointer-events: none;
    width: min(22rem, calc(100vw - 2rem));
}

.bk-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 0.75rem 0.875rem 0.875rem;
    background: #fff;
    border-radius: 0.875rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: bk-toast-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: top right;
}

.bk-toast--exit {
    animation: bk-toast-out 0.28s ease forwards;
}

.bk-toast__icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.bk-toast--success .bk-toast__icon {
    background: rgba(12, 131, 31, 0.12);
    color: var(--sf-primary);
}

.bk-toast--error .bk-toast__icon {
    background: #fef2f2;
    color: #dc2626;
}

.bk-toast--warning .bk-toast__icon {
    background: #fff7ed;
    color: #ea580c;
}

.bk-toast--info .bk-toast__icon {
    background: #eff6ff;
    color: #2563eb;
}

.bk-toast__body {
    flex: 1;
    min-width: 0;
    padding-top: 0.1rem;
}

.bk-toast__message {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sf-dark);
    line-height: 1.35;
}

.bk-toast__action {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sf-primary);
    text-decoration: none;
}

.bk-toast__action:hover {
    color: var(--sf-primary-dark);
    text-decoration: underline;
}

.bk-toast__close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: transparent;
    color: var(--sf-muted);
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    border-radius: 0.375rem;
    margin: -0.15rem -0.15rem 0 0;
}

.bk-toast__close:hover {
    background: var(--sf-bg);
    color: var(--sf-dark);
}

@keyframes bk-toast-in {
    from {
        opacity: 0;
        transform: translateX(1.25rem) translateY(-0.5rem);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes bk-toast-out {
    to {
        opacity: 0;
        transform: translateX(1rem) scale(0.96);
    }
}

@media (max-width: 767.98px) {
    .bk-toast-stack {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        align-items: center;
        width: min(20rem, calc(100vw - 1.5rem));
    }

    .bk-toast {
        transform-origin: top center;
    }

    @keyframes bk-toast-in {
        from {
            opacity: 0;
            transform: translateY(-0.75rem) scale(0.96);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

.bk-menu-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--sf-border);
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.bk-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--sf-dark);
    border-radius: 2px;
    transition: background var(--sf-transition);
}

.bk-menu-btn:hover span {
    background: var(--qk-green);
}

.bk-offcanvas .bk-offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bk-offcanvas-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--sf-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background var(--sf-transition), color var(--sf-transition);
}

.bk-offcanvas-link:hover,
.bk-offcanvas-link.active {
    background: var(--qk-green-light);
    color: var(--qk-green);
}

.bk-modal {
    border-radius: var(--sf-radius-lg);
    border: none;
    box-shadow: var(--sf-shadow-lg);
}

/* ── Hero carousel ── */
.bk-section--hero {
    padding: 1rem 0 0.25rem;
}

.bk-hero-carousel-shell {
    position: relative;
}

.bk-hero-carousel {
    --bk-hero-arrow-inset: 24px;
    --bk-hero-arrow-size: 40px;
    --bk-hero-arrow-gap: 16px;
    --bk-hero-content-pad-x: 60px;
    --bk-hero-content-max: 500px;
    --bk-hero-content-width: 45%;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sf-shadow);
    background: transparent;
    position: relative;
}

.bk-hero-carousel .carousel-inner {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.bk-hero-carousel .carousel-indicators {
    bottom: 0.85rem;
    margin-bottom: 0;
    z-index: 4;
    gap: 0.35rem;
}

.bk-hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    opacity: 1;
    margin: 0;
    transition: transform var(--sf-transition), background-color var(--sf-transition);
}

.bk-hero-carousel .carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.25);
}

.bk-hero-slide {
    min-height: 200px;
    padding: 1.75rem 1rem 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.bk-hero-slide--pickles {
    background: linear-gradient(105deg, #1a472a 0%, #2d6a3e 45%, #0c831f 100%);
}

.bk-hero-slide--masala {
    background: linear-gradient(105deg, #4a1942 0%, #7c2d12 50%, #c2410c 100%);
}

.bk-hero-slide--grocery {
    background: linear-gradient(105deg, #1e3a5f 0%, #2563eb 50%, #0ea5e9 100%);
}

.bk-hero-slide--custom {
    background: linear-gradient(105deg, #0f172a 0%, #334155 50%, #0c831f 100%);
}

.bk-hero-slide--has-image {
    background-image: var(--bk-hero-mobile, var(--bk-hero-desktop));
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .bk-hero-slide--has-image {
        background-image: var(--bk-hero-desktop);
    }
}

.bk-hero-slide--has-image::after {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.35) 55%, transparent 100%);
}

.bk-announcement-bar {
    background: var(--sf-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 1rem;
}

.bk-announcement-bar__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.bk-announcement-bar__link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bk-announcement-bar__link:hover {
    color: #fff;
    opacity: 0.9;
}

.bk-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.bk-hero-slide-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    color: #fff;
    animation: bk-slide-in 0.6s ease both;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
}

.bk-hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin: 0;
    backdrop-filter: blur(4px);
    max-width: 100%;
}

.bk-hero-headline {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.bk-hero-text {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    opacity: 0.92;
    margin: 0;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.bk-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    background: #fff;
    color: var(--sf-dark);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform var(--sf-transition), box-shadow var(--sf-transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    text-align: center;
    margin: 0;
}

.bk-hero-cta:hover {
    color: var(--qk-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bk-carousel-control {
    width: var(--bk-hero-arrow-size, 40px);
    height: var(--bk-hero-arrow-size, 40px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--sf-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: var(--sf-shadow);
    flex-shrink: 0;
}

.bk-hero-carousel .carousel-control-prev,
.bk-hero-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: var(--bk-hero-arrow-size, 40px);
    height: var(--bk-hero-arrow-size, 40px);
    opacity: 1;
    z-index: 6;
    padding: 0;
    border: none;
    background: transparent;
}

.bk-hero-carousel .carousel-control-prev {
    left: var(--bk-hero-arrow-inset, 24px);
}

.bk-hero-carousel .carousel-control-next {
    right: var(--bk-hero-arrow-inset, 24px);
}

.bk-hero-carousel .carousel-control-prev .bk-carousel-control,
.bk-hero-carousel .carousel-control-next .bk-carousel-control {
    pointer-events: none;
}

@media (min-width: 768px) {
    .bk-hero-slide {
        min-height: 240px;
        padding-top: 2.25rem;
        padding-bottom: 3.25rem;
        padding-left: calc(var(--bk-hero-arrow-inset) + var(--bk-hero-arrow-size) + var(--bk-hero-arrow-gap));
        padding-right: calc(var(--bk-hero-arrow-inset) + var(--bk-hero-arrow-size) + var(--bk-hero-arrow-gap));
    }

    .bk-hero-slide-content {
        max-width: min(var(--bk-hero-content-max), var(--bk-hero-content-width));
        padding-left: var(--bk-hero-content-pad-x);
        padding-right: var(--bk-hero-content-pad-x);
        gap: 0.85rem;
    }
}

@media (min-width: 992px) {
    .bk-hero-slide {
        min-height: 260px;
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1440px) {
    .bk-hero-slide {
        min-height: 280px;
    }
}

@keyframes bk-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Blinkit sections ── */
.bk-section {
    padding: 1.75rem 0;
}

.bk-section--alt {
    background: #fff;
}

.bk-section--categories {
    padding-top: 1rem;
}

.bk-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bk-section-header--compact {
    align-items: center;
}

.bk-section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--qk-green);
    margin-bottom: 0.25rem;
}

.bk-section-title {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.bk-section-subtitle {
    font-size: 0.875rem;
    color: var(--sf-muted);
    margin: 0.35rem 0 0;
}

.bk-section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--qk-green);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--sf-transition);
}

.bk-section-link:hover {
    color: var(--qk-green-dark);
}

.sf-category-grid .bk-category-chip {
    width: 100%;
    max-width: 112px;
}

@media (min-width: 1024px) {
    .sf-category-grid .bk-category-chip-img {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
    }

    .sf-category-grid .bk-category-chip-name {
        font-size: 0.75rem;
    }
}

/* ── Category chips (Blinkit grid) ── */
.bk-category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    padding: 0.35rem 0.25rem;
    border-radius: 12px;
    transition: transform var(--sf-transition), background var(--sf-transition);
}

.bk-category-chip:hover {
    color: inherit;
    transform: translateY(-4px);
    background: rgba(12, 131, 31, 0.04);
}

.bk-category-chip-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: box-shadow var(--sf-transition);
    flex-shrink: 0;
    position: relative;
}

.bk-category-chip:hover .bk-category-chip-img {
    box-shadow: 0 8px 24px rgba(12, 131, 31, 0.18);
}

.category-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
    transition: transform 0.35s ease;
}

.bk-category-chip:hover .category-thumb:not(.category-thumb--placeholder) {
    transform: scale(1.06);
}

.category-thumb--placeholder {
    object-fit: contain;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--qk-green-light), #fff);
}

.bk-category-chip-name {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    color: var(--sf-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── CTA strip ── */
.bk-section--cta {
    padding-bottom: 3rem;
}

.bk-cta-strip {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem 2rem;
    border-radius: var(--sf-radius-lg);
    background: linear-gradient(135deg, var(--qk-green-light) 0%, #fff 60%);
    border: 1px solid rgba(12, 131, 31, 0.15);
}

.bk-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.bk-cta-text {
    font-size: 0.9rem;
    color: var(--sf-muted);
}

/* ── Why choose us (Blinkit trust cards) ── */
.bk-section--why {
    background: #fff;
}

.bk-trust-card {
    background: var(--sf-bg);
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    height: 100%;
    text-align: center;
    transition: transform var(--sf-transition), box-shadow var(--sf-transition), border-color var(--sf-transition);
}

.bk-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(12, 131, 31, 0.1);
    border-color: rgba(12, 131, 31, 0.2);
}

.bk-trust-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.85rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bk-trust-card-icon--green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.bk-trust-card-icon--leaf {
    background: linear-gradient(135deg, #ecfccb, #d9f99d);
}

.bk-trust-card-icon--shield {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.bk-trust-card-icon--star {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.bk-trust-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.bk-trust-card-text {
    font-size: 0.78rem;
    color: var(--sf-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Customer reviews (Zepto / Instamart style) ── */
.bk-section--reviews {
    padding-bottom: 2.5rem;
}

.bk-reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 12px;
    box-shadow: var(--sf-shadow);
}

.bk-reviews-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--qk-green);
    line-height: 1;
}

.bk-reviews-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    line-height: 1;
}

.bk-reviews-count {
    font-size: 0.7rem;
    color: var(--sf-muted);
    font-weight: 500;
}

.bk-reviews-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1rem);
}

.bk-review-card {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--sf-transition), transform var(--sf-transition);
}

.bk-review-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.bk-review-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.bk-star-muted {
    opacity: 0.25;
}

.bk-review-text {
    font-size: 0.85rem;
    color: var(--sf-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.bk-review-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
}

.bk-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--qk-green), var(--qk-green-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bk-review-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.bk-review-meta {
    font-size: 0.72rem;
    color: var(--sf-muted);
}

@media (min-width: 768px) {
    .bk-cta-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .bk-logo-text {
        display: inline;
    }
}

@media (min-width: 1440px) {
    .bk-section {
        padding: 2rem 0;
    }
}

@media (max-width: 767.98px) {
    .bk-hero-slide {
        padding: 1.5rem 1rem 2.75rem;
    }

    .bk-hero-carousel .carousel-indicators {
        bottom: 0.65rem;
    }

    .bk-logo-text {
        display: none;
    }

    .bk-header-row {
        flex-wrap: wrap;
    }

    .bk-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .bk-location-btn--mobile {
        order: 1;
        flex: 1;
        min-width: 0;
    }

    .bk-logo {
        order: 0;
    }

    .bk-header-actions {
        order: 2;
        margin-left: auto;
    }

    .bk-category-chip-img {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        max-width: 64px;
    }

    .bk-category-chip-name {
        font-size: 0.65rem;
    }

    .bk-section-header {
        flex-wrap: wrap;
    }

    .bk-reviews-rating {
        width: 100%;
        justify-content: center;
    }

    .bk-reviews-track {
        display: flex;
        gap: 0.85rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin: 0 -0.25rem;
        scrollbar-width: none;
    }

    .bk-reviews-track::-webkit-scrollbar {
        display: none;
    }

    .bk-review-card {
        flex: 0 0 82%;
        max-width: 300px;
        scroll-snap-align: start;
    }

    .bk-trust-card {
        padding: 1rem 0.75rem;
    }

    .bk-trust-card-text {
        font-size: 0.72rem;
    }
}

/* ── Navbar (legacy) ── */
.sf-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: box-shadow var(--sf-transition), background var(--sf-transition);
    padding-block: 0.75rem;
}

.sf-navbar.scrolled {
    box-shadow: var(--sf-shadow);
    background: rgba(255, 255, 255, 0.95);
}

.sf-brand {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--sf-primary) 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sf-search {
    display: flex;
}

.sf-search .form-control {
    border-radius: 999px 0 0 999px;
    border: 1px solid var(--sf-border);
    padding-inline: 1.25rem;
    font-size: 0.9rem;
    background: var(--sf-bg);
}

.sf-search .form-control:focus {
    border-color: var(--sf-primary);
    box-shadow: 0 0 0 3px rgba(12, 131, 31, 0.12);
    background: #fff;
}

.sf-search .btn {
    border-radius: 0 999px 999px 0;
    padding-inline: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark));
    border: none;
}

.sf-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sf-muted);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: color var(--sf-transition), background var(--sf-transition);
}

.sf-nav-link:hover,
.sf-nav-link.active {
    color: var(--sf-primary);
    background: rgba(12, 131, 31, 0.08);
}

.sf-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--sf-border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-dark);
    text-decoration: none;
    transition: all var(--sf-transition);
    position: relative;
}

.sf-icon-btn:hover {
    border-color: var(--sf-primary);
    color: var(--sf-primary);
    transform: translateY(-2px);
    box-shadow: var(--sf-shadow);
}

.sf-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 2px solid #fff;
}

.sf-btn-primary {
    background: linear-gradient(135deg, var(--sf-primary), var(--sf-primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    transition: all var(--sf-transition);
    box-shadow: 0 4px 14px rgba(12, 131, 31, 0.35);
}

.sf-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 131, 31, 0.45);
}

.sf-btn-outline {
    border: 2px solid var(--sf-border);
    background: #fff;
    color: var(--sf-dark);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    transition: all var(--sf-transition);
}

.sf-btn-outline:hover {
    border-color: var(--sf-primary);
    color: var(--sf-primary);
    background: rgba(12, 131, 31, 0.04);
}

/* ── Hero ── */
.sf-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 100%);
}

.sf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(12, 131, 31, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.sf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.sf-hero-content {
    position: relative;
    z-index: 2;
}

.sf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    animation: sf-fade-up 0.8s ease both;
}

.sf-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    animation: sf-fade-up 0.8s 0.1s ease both;
}

.sf-hero-title span {
    background: linear-gradient(135deg, #a5b4fc, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sf-hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
    animation: sf-fade-up 0.8s 0.2s ease both;
}

.sf-hero-actions {
    animation: sf-fade-up 0.8s 0.3s ease both;
}

.sf-hero-visual {
    position: relative;
    animation: sf-fade-up 0.8s 0.2s ease both;
}

.sf-hero-image-wrap {
    position: relative;
    border-radius: var(--sf-radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4/5;
    max-height: 520px;
    background: #f3f4f6;
}

.sf-hero-image-wrap .product-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sf-hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--sf-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--sf-shadow-lg);
    animation: sf-float 4s ease-in-out infinite;
}

.sf-hero-float-card.card-1 {
    bottom: 2rem;
    left: -1.5rem;
}

.sf-hero-float-card.card-2 {
    top: 2rem;
    right: -1rem;
    animation-delay: -2s;
}

/* ── Trust strip ── */
.sf-trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--sf-border);
    padding: 1.25rem 0;
}

.sf-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sf-muted);
}

.sf-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(12, 131, 31, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Sections ── */
.sf-section {
    padding: 4.5rem 0;
}

.sf-section-alt {
    background: linear-gradient(180deg, #fff 0%, var(--sf-bg) 100%);
}

.sf-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.sf-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sf-primary);
    margin-bottom: 0.75rem;
}

.sf-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.sf-section-subtitle {
    color: var(--sf-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Category cards ── */
.sf-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--sf-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sf-border);
    transition: all var(--sf-transition);
    height: 100%;
}

.sf-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sf-shadow-lg);
    border-color: transparent;
    color: inherit;
}

.sf-category-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.sf-category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sf-category-card:hover .sf-category-card-image img {
    transform: scale(1.08);
}

.sf-category-card-icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
}

.sf-category-card-body {
    padding: 1.25rem;
    text-align: center;
}

.sf-category-card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.sf-category-card-count {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

/* ── Product cards (Blinkit / Zepto style) ── */
.qk-card,
.sf-product-card {
    background: #fff;
    border-radius: 0 0 var(--qk-radius) var(--qk-radius);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.qk-card:hover,
.sf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #e8e8e8;
}

.qk-card-flash {
    animation: qk-card-pulse 0.4s ease;
}

.qk-card-media,
.sf-product-card-media {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
}

.qk-card .qk-card-media,
.sf-product-card .sf-product-card-media {
    border-radius: 0;
}

.qk-card-image-link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
    overflow: hidden;
}

.qk-card .qk-card-image-link {
    border-radius: 0;
}

.product-thumb-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f3f4f6;
}

.product-thumb-shell--detail {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-thumb-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, #eceff3 8%, #f8fafc 18%, #eceff3 33%);
    background-size: 200% 100%;
    animation: product-thumb-shimmer 1.25s linear infinite;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.product-thumb-shell.is-loaded .product-thumb-skeleton,
.product-thumb-shell.is-placeholder .product-thumb-skeleton {
    opacity: 0;
    animation: none;
}

.product-thumb-shell.is-placeholder .product-thumb {
    opacity: 1;
}

.product-thumb-shell .product-thumb {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-thumb-shell.is-loaded .product-thumb,
.product-thumb-shell.is-placeholder .product-thumb {
    opacity: 1;
}

@keyframes product-thumb-shimmer {
    to {
        background-position-x: -200%;
    }
}

.qk-card-image-link .product-thumb-shell {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.qk-card-image-link .product-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.qk-card .product-thumb-shell,
.qk-card .product-thumb-skeleton,
.sf-product-card .product-thumb-shell,
.sf-product-card .product-thumb-skeleton {
    border-radius: 0;
}

.qk-card .product-thumb,
.sf-product-card .product-thumb {
    border-radius: 0;
}

.product-thumb {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.product-thumb--placeholder {
    object-fit: contain;
    padding: 1.25rem;
    background: #f3f4f6;
}

.qk-card:hover .product-thumb:not(.product-thumb--placeholder),
.sf-product-card:hover .product-thumb:not(.product-thumb--placeholder) {
    transform: scale(1.06);
}

.sf-product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-muted);
    font-size: 0.75rem;
    background: #f3f4f6;
    border-radius: 0;
}

.qk-stock-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    line-height: 1.2;
}

.qk-stock-badge--low {
    background: #fef3c7;
    color: #b45309;
}

.qk-stock-badge--oos {
    background: #fee2e2;
    color: #b91c1c;
}

.qk-discount-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    left: auto;
    z-index: 2;
    background: #256fef;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.qk-card-action {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 3;
}

.qk-card-body,
.sf-product-card-body {
    padding: 0.5rem 0.6rem 0.65rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 7.5rem;
}

.qk-card-name,
.sf-product-title {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
}

.qk-card-name a,
.sf-product-title a {
    color: #1c1c1c;
    text-decoration: none;
}

.qk-card-name a:hover,
.sf-product-title a:hover {
    color: var(--qk-green);
}

.qk-card-weight {
    font-size: 0.7rem;
    color: #828282;
    margin: 0;
    line-height: 1.2;
}

.qk-rating-compact {
    margin-bottom: 0.1rem !important;
    gap: 0.2rem !important;
}

.qk-rating-compact .qk-stars {
    font-size: 0.55rem;
    gap: 0;
}

.qk-rating-compact .qk-stars .star-muted {
    opacity: 0.25;
}

.qk-rating-compact .sf-rating-value {
    font-size: 0.65rem;
    font-weight: 600;
    color: #363636;
}

.sf-product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sf-stars {
    display: flex;
    gap: 0;
    color: #f8a51b;
    font-size: 0.65rem;
    line-height: 1;
}

.sf-rating-value {
    font-size: 0.65rem;
    font-weight: 600;
    color: #363636;
}

.sf-rating-count {
    font-size: 0.65rem;
    color: var(--sf-muted);
}

.qk-card-price,
.sf-product-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
    flex-wrap: wrap;
}

.qk-price-current,
.sf-price-current {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1c1c1c;
}

.qk-price-mrp,
.sf-price-old {
    font-size: 0.7rem;
    color: #999;
    text-decoration: line-through;
}

/* ── Listing layout ── */
.qk-listing {
    padding-top: 0.25rem;
}

.qk-listing-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.qk-listing-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #1c1c1c;
}

.qk-listing-count {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

.qk-listing-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .qk-listing-layout {
        grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
        gap: 1.25rem;
    }
}

.qk-listing-main {
    min-width: 0;
    animation: sfListingIn 0.28s ease-out;
}

@keyframes sfListingIn {
    from {
        opacity: 0.65;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Pill pagination (product listing) ── */
.sf-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 0.25rem;
}

.sf-pagination-meta {
    margin: 0;
    font-size: 0.72rem;
    color: var(--sf-muted);
    text-align: center;
    line-height: 1.4;
}

.sf-pagination-meta span {
    color: var(--sf-dark);
    font-weight: 600;
}

.sf-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sf-pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.sf-pagination__list > li {
    display: flex;
    align-items: center;
}

.sf-pagination__pill,
.sf-pagination__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--sf-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.sf-pagination__pill:hover,
.sf-pagination__chev:not(.is-disabled):hover {
    color: var(--sf-primary-dark);
    background: rgba(12, 131, 31, 0.08);
    transform: translateY(-1px);
}

.sf-pagination__pill.is-active {
    background: var(--sf-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(12, 131, 31, 0.28);
    cursor: default;
    transform: none;
}

.sf-pagination__pill.is-active:hover {
    background: var(--sf-primary);
    color: #fff;
    transform: none;
}

.sf-pagination__chev {
    min-width: 36px;
    padding: 0;
    color: var(--sf-dark);
}

.sf-pagination__chev.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.sf-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    color: var(--sf-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    user-select: none;
}

@media (max-width: 575.98px) {
    .sf-pagination__list {
        gap: 0.15rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.25rem 0.15rem;
        max-width: 100%;
    }

    .sf-pagination__list::-webkit-scrollbar {
        display: none;
    }

    .sf-pagination {
        justify-content: center;
    }

    .sf-pagination__pill,
    .sf-pagination__chev {
        min-width: 34px;
        height: 34px;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .sf-pagination-meta {
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qk-listing-main {
        animation: none;
    }

    .sf-pagination__pill,
    .sf-pagination__chev {
        transition: none;
    }
}


.qk-breadcrumb {
    font-size: 0.75rem;
    color: var(--sf-muted);
}

.qk-breadcrumb a {
    color: var(--sf-muted);
    text-decoration: none;
}

.qk-breadcrumb a:hover {
    color: var(--qk-green);
}

.qk-breadcrumb span {
    margin: 0 0.25rem;
}

/* ── Sticky category filters ── */
.qk-filters-sticky {
    position: sticky;
    top: 76px;
    z-index: 10;
}

.qk-filters {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--qk-radius);
    padding: 0.75rem;
}

.qk-filters-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sf-muted);
    margin-bottom: 0.5rem;
}

.qk-filters-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.qk-filters-mobile .qk-filters-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.qk-filters-mobile .qk-filters-list::-webkit-scrollbar {
    display: none;
}

.qk-filters-mobile .qk-filters {
    border: none;
    background: transparent;
    padding: 0;
}

.qk-filters-mobile .qk-filters-title {
    display: none;
}

.qk-filter-item {
    display: block;
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.qk-filters-mobile .qk-filter-item {
    background: #f3f3f3;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.qk-filter-item:hover {
    background: var(--qk-green-light);
    color: var(--qk-green);
}

.qk-filter-item.active {
    background: var(--qk-green-light);
    color: var(--qk-green);
    font-weight: 600;
}

.qk-filters-mobile .qk-filter-item.active {
    background: var(--qk-green);
    color: #fff;
    border-color: var(--qk-green);
}

/* ── Cart pill controls ── */
.cart-controls-pill {
    width: var(--qk-pill-width);
    min-height: 32px;
}

.cart-controls-pill .cart-controls-body,
.cart-controls-pill .cart-controls-loading {
    width: 100%;
}

.cart-pill-add {
    width: 100%;
    height: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    color: var(--qk-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.cart-pill-add:hover {
    background: var(--qk-green);
    color: #fff;
    border-color: var(--qk-green);
    transform: scale(1.04);
}

.cart-qty-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 32px;
    background: var(--qk-green);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(12, 131, 31, 0.25);
    overflow: hidden;
    animation: qk-pill-in 0.25s ease;
}

.cart-qty-pill button {
    flex: 0 0 28px;
    width: 28px;
    height: 32px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cart-qty-pill button:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.12);
}

.cart-qty-pill button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-qty-display {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    user-select: none;
    min-width: 1.5rem;
}

.cart-qty-display.cart-qty-bump {
    animation: qk-qty-bump 0.32s ease;
}

.cart-pill-oos {
    width: 100%;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    color: #999;
    font-size: 0.68rem;
    font-weight: 600;
}

.cart-pill-loading {
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cart-pill-loading .spinner-border {
    color: var(--qk-green);
    width: 1rem;
    height: 1rem;
}

.cart-controls.is-loading {
    opacity: 0.85;
    pointer-events: none;
}

.cart-controls-wide {
    width: 120px;
}

.cart-controls-wide .cart-pill-add,
.cart-controls-wide .cart-qty-pill,
.cart-controls-wide .cart-pill-oos,
.cart-controls-wide .cart-pill-loading {
    height: 40px;
}

.cart-controls-wide .cart-qty-pill button {
    height: 40px;
}

@keyframes qk-qty-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

@keyframes qk-pill-in {
    from { transform: scale(0.85); opacity: 0.6; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes qk-card-pulse {
    0% { box-shadow: 0 0 0 0 rgba(12, 131, 31, 0.2); }
    70% { box-shadow: 0 0 0 8px rgba(12, 131, 31, 0); }
    100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
}

/* ── Why choose us ── */
.sf-feature-card {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--sf-border);
    height: 100%;
    transition: all var(--sf-transition);
}

.sf-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sf-shadow-lg);
    border-color: transparent;
}

.sf-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(12, 131, 31, 0.12), rgba(139, 92, 246, 0.12));
}

.sf-feature-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.sf-feature-text {
    font-size: 0.875rem;
    color: var(--sf-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Testimonials ── */
.sf-testimonial-card {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    padding: 2rem;
    border: 1px solid var(--sf-border);
    height: 100%;
    transition: all var(--sf-transition);
    position: relative;
}

.sf-testimonial-card:hover {
    box-shadow: var(--sf-shadow-lg);
    border-color: transparent;
}

.sf-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(12, 131, 31, 0.1);
    font-family: Georgia, serif;
}

.sf-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sf-muted);
    margin-bottom: 1.5rem;
    position: relative;
}

.sf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sf-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sf-primary), #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.sf-testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.sf-testimonial-role {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

/* ── CTA banner ── */
.sf-cta-banner {
    background: linear-gradient(135deg, var(--sf-primary) 0%, #7c3aed 50%, #6d28d9 100%);
    border-radius: var(--sf-radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sf-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15), transparent 60%);
}

.sf-cta-banner h2 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    position: relative;
}

.sf-cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
}

.sf-cta-banner .btn-light {
    position: relative;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 2rem;
}

/* ── Footer ── */
.sf-footer {
    background: var(--sf-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.sf-footer-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.sf-footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.sf-footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.sf-footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color var(--sf-transition);
}

.sf-footer-link:hover {
    color: #fff;
}

.sf-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.sf-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--sf-transition);
}

.sf-footer-social a:hover {
    background: var(--sf-primary);
    border-color: var(--sf-primary);
    color: #fff;
}

.sf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* ── Inner pages ── */
.sf-page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid var(--sf-border);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.sf-page-title {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.sf-sidebar-card {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    border: 1px solid var(--sf-border);
    overflow: hidden;
}

.sf-sidebar-card .list-group-item {
    border: none;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sf-muted);
}

.sf-sidebar-card .list-group-item.active {
    background: rgba(12, 131, 31, 0.08);
    color: var(--sf-primary);
    font-weight: 600;
}

.sf-breadcrumb {
    font-size: 0.85rem;
}

.sf-breadcrumb a {
    color: var(--sf-muted);
    text-decoration: none;
}

.sf-breadcrumb a:hover {
    color: var(--sf-primary);
}

.sf-product-detail-image {
    position: relative;
    border-radius: var(--sf-radius-lg);
    overflow: hidden;
    box-shadow: var(--sf-shadow-lg);
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #f3f4f6;
}

.sf-product-detail-image .product-thumb-shell {
    position: absolute;
    inset: 0;
}

.sf-product-detail-image .product-thumb {
    position: absolute;
    inset: 0;
}

.sf-empty-state {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    border: 1px dashed var(--sf-border);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--sf-muted);
}

/* ── Animations ── */
@keyframes sf-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sf-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sf-animate {
    animation: sf-fade-up 0.7s ease both;
}

.sf-animate-delay-1 { animation-delay: 0.1s; }
.sf-animate-delay-2 { animation-delay: 0.2s; }
.sf-animate-delay-3 { animation-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .sf-hero {
        padding: 3rem 0;
    }

    .sf-hero-float-card {
        display: none;
    }

    .sf-section {
        padding: 3rem 0;
    }
}

/* ── Shared panels & forms ── */
.sf-panel {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    border: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow);
    overflow: hidden;
}

.sf-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--sf-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.sf-panel-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.sf-panel-meta {
    font-size: 0.85rem;
    color: var(--sf-muted);
    font-weight: 500;
}

.sf-panel-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sf-primary);
    text-decoration: none;
    white-space: nowrap;
}

.sf-panel-link:hover {
    color: var(--sf-primary-dark);
}

.sf-form-hint {
    font-size: 0.8rem;
    color: var(--sf-muted);
    margin: -0.5rem 0 0;
    line-height: 1.5;
}

.sf-form-hint--warn {
    color: #b45309;
}

.sf-panel-body {
    padding: 1.5rem;
}

.sf-form-group {
    margin-bottom: 1.15rem;
}

.sf-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sf-dark);
    margin-bottom: 0.45rem;
}

.sf-required {
    color: #ef4444;
    margin-left: 0.15rem;
}

.sf-input,
.sf-select,
.sf-textarea {
    width: 100%;
    border: 1.5px solid var(--sf-border);
    border-radius: 0.75rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--sf-dark);
    background: #fff;
    transition: border-color var(--sf-transition), box-shadow var(--sf-transition);
}

.sf-input::placeholder,
.sf-textarea::placeholder {
    color: #94a3b8;
}

.sf-input:focus,
.sf-select:focus,
.sf-textarea:focus {
    outline: none;
    border-color: var(--sf-primary);
    box-shadow: 0 0 0 4px rgba(12, 131, 31, 0.12);
}

.sf-input.is-invalid,
.sf-select.is-invalid,
.sf-textarea.is-invalid {
    border-color: #ef4444;
}

.sf-input.is-invalid:focus,
.sf-select.is-invalid:focus,
.sf-textarea.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.sf-input .invalid-feedback,
.sf-form-group .invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.35rem;
}

.sf-textarea {
    resize: vertical;
    min-height: 96px;
}

.sf-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
}

.sf-btn-ghost {
    background: transparent;
    border: 1.5px solid var(--sf-border);
    color: var(--sf-muted);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    transition: all var(--sf-transition);
}

.sf-btn-ghost:hover {
    border-color: var(--sf-primary);
    color: var(--sf-primary);
    background: rgba(12, 131, 31, 0.04);
}

/* ── Alerts ── */
.sf-alert {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-radius: var(--sf-radius);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sf-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.sf-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.sf-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.sf-alert-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.sf-alert-danger .sf-alert-icon {
    background: #fee2e2;
    color: #dc2626;
}

.sf-alert-success .sf-alert-icon {
    background: #d1fae5;
    color: #059669;
}

.sf-alert-title {
    display: block;
    margin-bottom: 0.15rem;
}

/* ── Auth pages ── */
.sf-auth-page {
    padding: 1rem 0 2.5rem;
}

.sf-auth-card {
    padding: 2rem 1.75rem;
}

.sf-auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.sf-auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.sf-auth-subtitle {
    font-size: 0.9rem;
    color: var(--sf-muted);
    margin: 0;
    line-height: 1.6;
}

.sf-auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sf-border);
    font-size: 0.875rem;
}

.sf-auth-footer a {
    color: var(--sf-primary);
    text-decoration: none;
    font-weight: 500;
}

.sf-auth-footer a:hover {
    text-decoration: underline;
}

.sf-auth-note {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--sf-muted);
}

.sf-auth-note a {
    color: var(--sf-primary);
    font-weight: 600;
    text-decoration: none;
}

.sf-auth-note a:hover {
    text-decoration: underline;
}

.sf-input-otp {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    padding: 0.85rem 1rem;
}

/* ── Cart (Blinkit-style) ── */
.sf-cart-header-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

@media (min-width: 768px) {
    .sf-cart-header-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .sf-page-header--cart {
        padding: 0.875rem 0 0.625rem;
        margin-bottom: 0;
    }

    .sf-page-header--cart .sf-breadcrumb {
        margin-bottom: 0.25rem !important;
    }

    .sf-page-header--cart .sf-page-title {
        margin-bottom: 0.15rem;
    }

    .sf-cart-header-checkout {
        display: none !important;
    }

    main:has(.sf-cart-page) > .bk-container {
        padding-top: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .sf-page-header--cart {
        margin-bottom: 1rem;
    }
}

.sf-cart-panel .sf-cart-lines {
    padding: 0.5rem 0;
}

.cart-line-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sf-border);
    transition: background var(--sf-transition);
}

.cart-line-item:last-child {
    border-bottom: none;
}

.cart-line-item:hover {
    background: rgba(248, 250, 252, 0.8);
}

.cart-line-thumb {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    border-radius: var(--qk-radius);
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid var(--sf-border);
    flex-shrink: 0;
}

.cart-line-thumb .product-thumb-shell,
.cart-line-thumb .product-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cart-line-thumb .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-body {
    min-width: 0;
}

.cart-line-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--sf-dark);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.cart-line-name:hover {
    color: var(--sf-primary);
}

.cart-line-weight {
    font-size: 0.8rem;
    color: var(--sf-muted);
    margin-bottom: 0.15rem;
}

.cart-line-unit {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

.cart-line-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.cart-line-subtotal {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.sf-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}

/* ── Order summary sidebar ── */
.sf-order-summary {
    background: #fff;
    border-radius: var(--sf-radius-lg);
    border: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow);
    padding: 1.5rem;
}

.sf-order-summary--sticky {
    position: sticky;
    top: 6.5rem;
}

.sf-order-summary-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.sf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    color: var(--sf-muted);
}

.sf-summary-row span:last-child {
    color: var(--sf-dark);
    font-weight: 500;
}

.sf-summary-row--total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sf-dark);
    margin-bottom: 0;
}

.sf-summary-row--total span:last-child {
    font-size: 1.15rem;
    color: var(--sf-primary-dark);
}

.sf-summary-divider {
    height: 1px;
    background: var(--sf-border);
    margin: 1rem 0;
}

.sf-summary-note,
.sf-summary-hint {
    font-size: 0.8rem;
    color: var(--sf-muted);
    line-height: 1.5;
    margin: 0.5rem 0 0;
}

.sf-summary-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(12, 131, 31, 0.06);
    border-radius: 0.75rem;
    color: var(--sf-primary-dark);
    margin-top: 1rem;
}

.sf-summary-hint svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ── Checkout ── */
.sf-checkout-steps {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 420px;
}

.sf-checkout-steps--compact {
    max-width: 360px;
    margin-inline: auto;
}

.sf-checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sf-muted);
    min-width: 64px;
}

.sf-checkout-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--sf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #fff;
    transition: all var(--sf-transition);
}

.sf-checkout-step.is-active .sf-checkout-step-dot {
    border-color: var(--sf-primary);
    background: var(--sf-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(12, 131, 31, 0.35);
}

.sf-checkout-step.is-active {
    color: var(--sf-primary-dark);
}

.sf-checkout-step.is-complete .sf-checkout-step-dot {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}

.sf-checkout-step.is-complete {
    color: #059669;
}

.sf-checkout-step-line {
    flex: 1;
    height: 2px;
    background: var(--sf-border);
    margin: 0 0.25rem;
    margin-bottom: 1.25rem;
    min-width: 24px;
}

.sf-checkout-step-line.is-complete {
    background: #10b981;
}

.sf-checkout-items {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    max-height: 280px;
    overflow-y: auto;
}

.sf-checkout-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.sf-checkout-item:last-child {
    border-bottom: none;
}

.sf-checkout-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid var(--sf-border);
}

.sf-checkout-item-thumb .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-checkout-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

.sf-checkout-item-qty {
    font-size: 0.75rem;
    color: var(--sf-muted);
}

.sf-checkout-item-price {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Order confirmation ── */
.sf-confirmation {
    max-width: 560px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.sf-confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-confirmation-title {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.sf-confirmation-subtitle {
    color: var(--sf-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sf-confirmation-card {
    padding: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sf-confirmation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sf-border);
}

.sf-confirmation-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sf-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.sf-confirmation-stat-value {
    font-weight: 700;
    font-size: 1rem;
}

@media (max-width: 575.98px) {
    .sf-auth-card {
        padding: 1.5rem 1.25rem;
    }

    .cart-line-item {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }

    .cart-line-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.25rem;
        border-top: 1px dashed var(--sf-border);
        margin-top: 0.25rem;
    }

    .sf-order-summary--sticky {
        position: static;
    }

    .sf-confirmation-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sf-account-order-row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .sf-account-nav {
        padding-bottom: 0.25rem;
    }
}

/* ── Account dashboard ── */
.sf-account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .sf-account-layout {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
        gap: 1.5rem;
    }
}

.sf-account-profile-card {
    background: linear-gradient(145deg, #0c831f 0%, #0a6b19 100%);
    color: #fff;
    border-radius: var(--sf-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--sf-shadow-lg);
    margin-bottom: 1rem;
}

.sf-account-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sf-account-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.sf-account-meta {
    font-size: 0.82rem;
    opacity: 0.9;
    margin: 0 0 0.2rem;
    word-break: break-word;
}

.sf-account-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.sf-account-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.sf-account-badge--success {
    background: rgba(255, 255, 255, 0.22);
}

.sf-account-badge--warn {
    background: rgba(245, 158, 11, 0.35);
}

.sf-account-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
}

.sf-account-nav::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .sf-account-nav {
        flex-direction: column;
        overflow: visible;
        background: #fff;
        border: 1px solid var(--sf-border);
        border-radius: var(--sf-radius-lg);
        padding: 0.5rem;
        box-shadow: var(--sf-shadow);
    }
}

.sf-account-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    border: none;
    background: #fff;
    color: var(--sf-dark);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--sf-transition), color var(--sf-transition), box-shadow var(--sf-transition);
    flex-shrink: 0;
    border: 1px solid var(--sf-border);
}

@media (min-width: 992px) {
    .sf-account-nav-item {
        border-color: transparent;
        background: transparent;
    }
}

.sf-account-nav-item:hover {
    background: var(--qk-green-light);
    color: var(--qk-green-dark);
}

.sf-account-nav-item.is-active {
    background: var(--qk-green-light);
    color: var(--qk-green-dark);
    box-shadow: inset 3px 0 0 var(--qk-green);
}

.sf-account-nav-icon {
    font-size: 1rem;
    line-height: 1;
}

.sf-account-nav-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: var(--sf-bg);
    color: var(--sf-muted);
}

.sf-account-nav-count--alert {
    background: var(--qk-green);
    color: #fff;
}

.sf-account-main {
    min-width: 0;
}

.sf-account-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--sf-muted);
}

.sf-account-empty--inset {
    padding: 2rem 1.5rem;
}

.sf-account-empty-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.sf-address-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sf-address-card {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    background: var(--sf-bg);
}

.sf-address-card-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.sf-address-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.sf-address-card-lines,
.sf-address-card-phone {
    font-size: 0.85rem;
    color: var(--sf-muted);
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.sf-address-card-phone {
    margin-top: 0.35rem;
    font-weight: 600;
    color: var(--sf-dark);
}

.sf-account-orders {
    display: flex;
    flex-direction: column;
}

.sf-account-order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sf-border);
}

.sf-account-order-row:last-child {
    border-bottom: none;
}

.sf-account-order-number {
    font-weight: 700;
    font-size: 0.9rem;
}

.sf-account-order-meta {
    font-size: 0.78rem;
    color: var(--sf-muted);
    margin-top: 0.15rem;
}

.sf-account-order-total {
    font-weight: 700;
    white-space: nowrap;
}

.sf-account-notifications {
    display: flex;
    flex-direction: column;
}

.sf-account-notification {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sf-border);
}

.sf-account-notification:last-child {
    border-bottom: none;
}

.sf-account-notification.is-unread {
    background: rgba(12, 131, 31, 0.04);
}

.sf-account-notification-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sf-account-notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--qk-green);
    flex-shrink: 0;
}

.sf-account-notification-text {
    font-size: 0.85rem;
    color: var(--sf-muted);
    margin: 0 0 0.35rem;
    line-height: 1.5;
}

.sf-account-notification-time {
    font-size: 0.75rem;
    color: var(--sf-muted);
}

/* ── Express checkout ── */
.sf-page-header--compact {
    padding-bottom: 0.75rem;
}

.sf-express-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sf-express-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--sf-border);
    color: var(--sf-dark);
    background: #fff;
    flex-shrink: 0;
    transition: background var(--sf-transition);
}

.sf-express-back:hover {
    background: #f8fafc;
    color: var(--sf-dark);
}

.sf-express-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.sf-express-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: var(--sf-muted);
}

.sf-express-checkout {
    padding-bottom: 5.5rem;
}

.sf-express-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .sf-express-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        gap: 1.5rem;
    }

    .sf-express-checkout {
        padding-bottom: 2rem;
    }
}

.sf-express-section {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius-lg);
    padding: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--sf-shadow);
}

.sf-express-section-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.sf-express-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sf-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-express-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.sf-express-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sf-saved-addresses {
    margin-bottom: 0.25rem;
}

.sf-saved-addresses-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sf-muted);
    margin: 0 0 0.5rem;
}

.sf-saved-address-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sf-saved-address-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    background: #fff;
    text-align: left;
    transition: border-color var(--sf-transition), background var(--sf-transition), box-shadow var(--sf-transition);
}

.sf-saved-address-chip:hover {
    border-color: rgba(12, 131, 31, 0.35);
    background: rgba(12, 131, 31, 0.03);
}

.sf-saved-address-chip.is-active {
    border-color: var(--sf-primary);
    background: rgba(12, 131, 31, 0.06);
    box-shadow: 0 0 0 1px rgba(12, 131, 31, 0.15);
}

.sf-saved-address-chip-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sf-dark);
}

.sf-saved-address-chip-meta {
    font-size: 0.78rem;
    color: var(--sf-muted);
    line-height: 1.4;
}

.sf-input-group {
    display: flex;
    align-items: stretch;
}

.sf-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background: #f8fafc;
    border: 1px solid var(--sf-border);
    border-right: 0;
    border-radius: var(--sf-radius) 0 0 var(--sf-radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sf-muted);
}

.sf-input--prefixed {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.sf-input--readonly {
    background: #f8fafc;
    color: var(--sf-muted);
    cursor: default;
}

.sf-textarea--compact {
    min-height: 72px;
    resize: vertical;
}

.sf-optional {
    font-weight: 400;
    color: var(--sf-muted);
    font-size: 0.8rem;
}

.sf-express-location-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sf-pincode-status {
    font-size: 0.78rem;
    margin-top: 0.35rem;
    min-height: 1.1rem;
    color: var(--sf-muted);
}

.sf-pincode-status.is-loading {
    color: var(--sf-primary-dark);
}

.sf-pincode-status.is-success {
    color: #059669;
}

.sf-pincode-status.is-error {
    color: #dc2626;
}

.sf-payment-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.sf-payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.35rem;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    background: #f8fafc;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sf-muted);
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    line-height: 1.2;
    transition: border-color var(--sf-transition), background var(--sf-transition), box-shadow var(--sf-transition), color var(--sf-transition);
}

.sf-payment-method:hover {
    border-color: rgba(12, 131, 31, 0.35);
    background: rgba(12, 131, 31, 0.04);
    color: var(--sf-dark);
}

.sf-payment-method.is-selected {
    border-color: var(--sf-primary);
    background: rgba(12, 131, 31, 0.08);
    color: var(--sf-primary-dark);
    box-shadow: 0 0 0 1px rgba(12, 131, 31, 0.2);
}

.sf-payment-method:focus-visible {
    outline: 2px solid var(--sf-primary);
    outline-offset: 2px;
}

.sf-payment-method svg {
    color: var(--sf-primary);
}

.sf-payment-method-icon {
    display: block;
    object-fit: contain;
}

.sf-payment-method-icon--upi {
    width: 24px;
    height: 24px;
}

.sf-payment-method--upi {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.sf-payment-note {
    font-size: 0.82rem;
    color: var(--sf-muted);
    margin: 0;
    line-height: 1.5;
}

.sf-express-pay-btn {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
}

.sf-express-pay-btn.is-loading,
.sf-express-mobile-pay.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.sf-express-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--sf-muted);
    margin: 0.75rem 0 0;
}

.sf-express-summary--sticky {
    top: 5.5rem;
}

.sf-express-item-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    max-height: 240px;
    overflow-y: auto;
}

.sf-express-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.sf-express-item:last-child {
    border-bottom: none;
}

.sf-express-item-main {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.sf-express-item-qty {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--sf-muted);
}

.sf-express-item-name {
    font-weight: 600;
    color: var(--sf-dark);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sf-express-item-price {
    flex-shrink: 0;
    font-weight: 700;
    white-space: nowrap;
}

.sf-express-sheet-backdrop[hidden],
.sf-express-sheet[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.sf-express-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0));
    background: #fff;
    border-top: 1px solid var(--sf-border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.sf-express-mobile-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius);
    background: #f8fafc;
    font-size: 0.85rem;
    color: var(--sf-dark);
}

.sf-express-mobile-total-label {
    color: var(--sf-muted);
}

.sf-express-mobile-total {
    font-weight: 700;
    margin-left: auto;
}

.sf-express-chevron {
    flex-shrink: 0;
    transition: transform var(--sf-transition);
}

.sf-express-mobile-toggle[aria-expanded="true"] .sf-express-chevron {
    transform: rotate(180deg);
}

.sf-express-mobile-pay {
    min-width: 108px;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border: 0;
    border-radius: var(--sf-radius);
}

.sf-express-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1041;
}

.sf-express-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1042;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 0.75rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.15);
}

.sf-express-sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 0 auto 0.85rem;
}

body.sf-express-sheet-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .sf-express-summary-col {
        display: none;
    }
}

@media (min-width: 992px) {
    .sf-express-mobile-bar,
    .sf-express-sheet,
    .sf-express-sheet-backdrop {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .sf-payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-express-location-row {
        grid-template-columns: 1fr;
    }
}

