
    :root {
        --fk-blue: #F89315;
        --fk-orange: #fd7e14;
        --brand: #888c92;
        --green: #388e3c;
        --dark: #212121;
        --gray: #878787;
        --border: #e0e0e0;
        --light: #f0f3f7;
        --white: #fff;
        --topbar-h: 54px;
        --catbar-h: auto;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0
    }

    body {
        background: var(--light);
        font-family: 'Segoe UI', system-ui, sans-serif;
        color: var(--dark);
        font-size: 14px;
        -webkit-tap-highlight-color: transparent;
    }

    a {
        text-decoration: none;
        color: inherit
    }

    img {
        display: block;
        max-width: 100%
    }

    button {
        cursor: pointer;
        font-family: inherit;
        border: none;
        outline: none;
        background: none
    }

    /* ── TOPBAR ── */
    .topbar {
        background: var(--brand);
        height: var(--topbar-h);
        display: flex;
        align-items: center;
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 500;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    }

    .topbar-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: 100%;
        padding: 0 12px;
    }

    @media(min-width:768px) {
        .topbar-inner {
            gap: 14px;
            padding: 0 20px;
        }
    }

    @media(min-width:1024px) {
        .topbar-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 16px;
        }
    }

    .t-back {
        color: #fff;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background .15s;
    }

    .t-back:hover {
        background: rgba(255, 255, 255, .15)
    }

    .t-logo {
        height: 42px;
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
        display: none
    }

    .t-search {
        flex: 1;
        height: 38px;
        background: #fff;
        border: 2px solid #F89315;
        border-radius: 6px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        gap: 8px;
    }

    .t-search i {
        color: var(--gray);
        font-size: 13px;
        flex-shrink: 0
    }

    .t-search input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 13px;
        color: var(--dark);
        background: transparent;
    }

    .t-search input::placeholder {
        color: #aaa
    }

    .t-icons {
        display: flex;
        align-items: center;
        flex-shrink: 0
    }

    .t-ic {
        color: #fff;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        position: relative;
        transition: background .15s;
    }

    .t-ic:hover {
        background: rgba(255, 255, 255, .15)
    }

    .t-ic i {
        font-size: 17px
    }

    .cart-dot {
        position: absolute;
        top: -3px;
        right: 8px;
        background: var(--fk-orange);
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        padding: 0 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid var(--brand);
        line-height: 1;
    }

    @media(min-width:768px) {
        .t-logo {
            display: block
        }
    }

    /* ══════════════════════════════
         TWO-LEVEL CATEGORY BAR
         ══════════════════════════════ */
    .cat-hbar {
        background: #fff;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: var(--topbar-h);
        z-index: 490;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    }

    /* Row 1: Main categories */
    .cat-main-row {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /*border-bottom:1px solid #f0f0f0;*/
    }

    .cat-main-row::-webkit-scrollbar {
        display: none
    }

    .cm-item {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 10px 16px;
        font-size: 13px;
        font-weight: 700;
        color: #F89315;
        white-space: nowrap;
        flex-shrink: 0;
        cursor: pointer;
        position: relative;
        transition: color .2s;
        border: none;
        background: none;
        border-radius: 15px;
        margin: 5px;
    }

    .cm-item.on {
        background-color: #F89315;
        color: #fff;
    }

    /*.cm-item.on::after{*/
    /*content:'';position:absolute;bottom:0;left:0;right:0;*/
    /*height:2.5px;background:var(--fk-blue);border-radius:2px 2px 0 0;*/
    /*}*/
    .cm-item i {
        font-size: 14px;
    }

    /* Row 2: Sub-categories (hidden by default, shown for active main) */
    .cat-sub-row {
        display: none;
        /* JS se toggle hoga */
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 4px;
        background: #fafafa;
    }

    .cat-sub-row::-webkit-scrollbar {
        display: none
    }

    .cat-sub-row.visible {
        display: flex;
    }

    .cs-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 7px 10px 6px;
        gap: 4px;
        flex-shrink: 0;
        text-decoration: none;
        position: relative;
        min-width: 58px;
    }

    .cs-thumb {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        overflow: hidden;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid transparent;
        transition: border-color .2s, transform .2s;
    }

    .cs-item.on .cs-thumb {
        border-color: var(--fk-blue);
    }

    .cs-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cs-thumb i {
        font-size: 15px;
        color: #bbb;
    }

    .cs-item.on .cs-thumb i {
        color: var(--fk-blue);
    }

    .cs-label {
        font-size: 10px;
        font-weight: 600;
        color: var(--gray);
        text-align: center;
        white-space: nowrap;
        max-width: 64px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cs-item.on .cs-label {
        color: var(--fk-blue);
        font-weight: 800;
    }

    .cs-item.on::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 2px;
        background: var(--fk-blue);
        border-radius: 2px 2px 0 0;
    }

    /* ── REST OF STYLES (same as before) ── */
    .page-shell {
        min-height: calc(100vh - var(--topbar-h) - 120px);
    }

    .content {
        display: flex;
        flex-direction: column
    }

    .desk-wrap {
        width: 100%;
    }

    @media(min-width:1024px) {
        .desk-wrap {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 16px;
        }
    }

    .offer-chips {
        display: flex;
        gap: 6px;
        padding: 7px 10px;
        overflow-x: auto;
        scrollbar-width: none;
        background: #fff;
        border-bottom: 1px solid var(--border);
    }

    .offer-chips::-webkit-scrollbar {
        display: none
    }

    .ochip {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .oc-red {
        background: #fee2e2;
        color: #c62828
    }

    .oc-green {
        background: #e8f5e9;
        color: #2e7d32
    }

    .oc-blue {
        background: #e3f2fd;
        color: #1565c0
    }

    .oc-orange {
        background: #fff3e0;
        color: #e65100
    }

    @media(min-width:900px) {
        .offer-chips {
            display: none
        }
    }

    .slider-box {
        margin: 8px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        background: #ddd;
    }

    @media(min-width:1024px) {
        .slider-box {
            margin: 12px 0;
        }
    }

    .slider-track {
        display: flex;
        transition: transform .4s cubic-bezier(.4, 0, .2, 1)
    }

    .slide {
        flex-shrink: 0;
        width: 100%;
        min-height: 160px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    @media(min-width:480px) {
        .slide {
            min-height: 200px
        }
    }

    @media(min-width:768px) {
        .slide {
            min-height: 220px
        }
    }

    @media(min-width:1024px) {
        .slide {
            min-height: 240px
        }
    }

    .slide-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
    }

    .sl-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 4px;
        z-index: 10;
    }

    .sl-dot {
        width: 5px;
        height: 5px;
        border-radius: 3px;
        background: rgba(255, 255, 255, .45);
        cursor: pointer;
        transition: all .3s;
    }

    .sl-dot.on {
        width: 14px;
        background: #fff
    }

    .brands-sec {
        background: #fff;
        margin: 8px;
        border-radius: 8px;
        border: 1px solid var(--border);
        overflow: hidden;
    }

    @media(min-width:1024px) {
        .brands-sec {
            margin: 10px 0;
        }
    }

    .sec-hd {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 12px 8px;
    }

    .sec-ttl {
        font-size: 13px;
        font-weight: 900;
        color: var(--dark);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sec-ttl::before {
        content: '';
        width: 3px;
        height: 15px;
        background: var(--fk-blue);
        border-radius: 2px;
        flex-shrink: 0;
    }

    .brand-row {
        display: flex;
        gap: 10px;
        padding: 0 12px 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .brand-row::-webkit-scrollbar {
        display: none
    }

    @media(min-width:1024px) {
        .brand-row {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            overflow-x: unset;
            gap: 12px;
            padding: 0 16px 16px;
        }
    }

    .brand-chip {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-decoration: none;
    }

    .brand-img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #f5f5f5;
        border: 1.5px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: border-color .2s, transform .2s;
    }

    .brand-chip:hover .brand-img {
        border-color: var(--fk-blue);
        transform: translateY(-2px)
    }

    .brand-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .brand-img i {
        font-size: 18px;
        color: #ccc
    }

    .brand-lbl {
        font-size: 10px;
        font-weight: 600;
        color: var(--gray);
        text-align: center;
        max-width: 60px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis
    }

    .toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        background: #fff;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    @media(min-width:1024px) {
        .toolbar {
            border-radius: 6px;
            border: 1px solid var(--border);
            margin-top: 10px;
        }
    }

    .toolbar-left {
        display: flex;
        align-items: center;
        gap: 8px
    }

    .toolbar-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--dark)
    }

    .t-sort {
        display: flex;
        align-items: center;
        gap: 5px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 600;
        color: var(--gray);
        transition: all .2s;
    }

    .t-sort:hover {
        border-color: var(--fk-blue);
        color: var(--fk-blue)
    }

    .t-sort i {
        font-size: 11px
    }

    .vbtns {
        display: flex;
        gap: 4px
    }

    .vb {
        width: 30px;
        height: 30px;
        border: 1px solid var(--border);
        background: #fff;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        color: var(--gray);
        cursor: pointer;
        transition: all .2s;
    }

    .vb.on {
        background: var(--fk-blue);
        color: #fff;
        border-color: var(--fk-blue)
    }

    .p-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: var(--border);
        margin-top: 1px;
    }

    .p-grid.lv {
        grid-template-columns: 1fr;
        background: var(--light);
        gap: 8px;
        padding: 8px;
    }

    .p-grid.lv .pcard {
        flex-direction: row;
        height: 110px;
        border-radius: 4px;
        border: 1px solid var(--border)
    }

    .p-grid.lv .p-img {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
        border-right: 1px solid var(--border)
    }

    .p-grid.lv .p-body {
        justify-content: center
    }

    .p-grid.lv .p-add {
        position: absolute;
        right: 10px;
        bottom: 10px;
        width: auto;
        padding: 5px 14px;
        font-size: 11px;
        border-radius: 3px;
    }

    @media(min-width:540px) {
        .p-grid {
            grid-template-columns: repeat(3, 1fr)
        }
    }

    @media(min-width:768px) {
        .p-grid {
            grid-template-columns: repeat(3, 1fr)
        }
    }

    @media(min-width:1024px) {
        .p-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            background: transparent;
            padding: 10px 0;
            margin-top: 10px;
        }
    }

    @media(min-width:1280px) {
        .p-grid {
            grid-template-columns: repeat(5, 1fr)
        }
    }

    .pcard {
        background: #fff;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
        transition: box-shadow .2s;
    }

    .pcard:hover {
        box-shadow: 0 3px 14px rgba(0, 0, 0, .12);
        z-index: 1
    }

    @media(min-width:1024px) {
        .pcard {
            border-radius: 4px;
            border: 1px solid var(--border)
        }
    }

    .p-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 2;
        font-size: 9px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 2px;
        text-transform: uppercase;
        letter-spacing: .2px;
    }

    .bd-red {
        background: #ff6161;
        color: #fff
    }

    .bd-green {
        background: var(--green);
        color: #fff
    }

    .bd-orange {
        background: var(--fk-orange);
        color: #fff
    }

    .bd-blue {
        background: var(--fk-blue);
        color: #fff
    }

    .p-wish {
        position: absolute;
        top: 6px;
        right: 6px;
        z-index: 2;
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, .92);
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ccc;
        font-size: 12px;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: color .2s;
    }

    .p-wish:hover {
        color: #e53935
    }

    .p-img {
        height: 150px;
        background: #f8f8f8;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .p-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
        transition: transform .3s ease;
    }

    .pcard:hover .p-img img {
        transform: scale(1.06)
    }

    .p-img .no-img {
        font-size: 40px;
        color: #e0e0e0
    }

    .p-body {
        padding: 10px 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 3px
    }

    .p-name {
        font-size: 13px;
        color: var(--dark);
        line-height: 1.3;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .p-stars {
        font-size: 9px;
        color: #f59e0b;
        letter-spacing: .5px
    }

    .p-price-row {
        display: flex;
        align-items: baseline;
        gap: 5px;
        flex-wrap: wrap;
        margin-top: 2px
    }

    .p-price {
        font-size: 15px;
        font-weight: 800;
        color: var(--dark)
    }

    .p-mrp {
        font-size: 11px;
        color: #aaa;
        text-decoration: line-through
    }

    .p-off {
        font-size: 10px;
        font-weight: 700;
        color: var(--green)
    }

    .p-unit {
        font-size: 10px;
        color: var(--gray)
    }

    .p-add {
        width: 100%;
        margin-top: 7px;
        padding: 9px 0;
        background: #fff;
        color: #F89315;
        border: 1.5px solid #F89315;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: background .2s, color .2s;
    }

    .p-add:hover {
        background: #F89315;
        color: #fff
    }

    .p-add:active {
        transform: scale(.98)
    }

    .empty-state {
        grid-column: 1/-1;
        text-align: center;
        padding: 60px 20px;
        background: #fff;
    }

    .empty-state i {
        font-size: 48px;
        color: #e0e0e0;
        display: block;
        margin-bottom: 12px
    }

    .empty-state h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 6px
    }

    .empty-state p {
        font-size: 13px;
        color: var(--gray)
    }

    .toast {
        position: fixed;
        bottom: 72px;
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        background: #212121;
        color: #fff;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        opacity: 0;
        transition: all .25s;
        z-index: 9999;
        white-space: nowrap;
        pointer-events: none;
        display: flex;
        align-items: center;
        gap: 7px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    }

    .toast.on {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }

    .toast i {
        color: #4ade80
    }

    .bspc {
        height: 72px
    }
