/* ========================================================
           GLOBAL RESET
======================================================== */

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }


        html {
            margin: 0;
            padding: 0;

            width: 100%;
            min-height: 100%;

            scroll-behavior: smooth;

            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }


        body {
            margin: 0 !important;
            padding: 0 !important;

            width: 100%;
            min-height: 100vh;

            overflow-x: hidden;

            background: #f5f7fa;

            color: #1d1d1f;

            font-family:
                Inter,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                Roboto,
                Arial,
                sans-serif;

            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }


        a {
            text-decoration: none;
        }


        a:hover {
            text-decoration: none;
        }


        img,
        svg,
        video {
            max-width: 100%;
        }


        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }


        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }


        /* ========================================================
           APP
        ======================================================== */

        .app-container {
            width: 100%;
            min-height: 100vh;

            background:
                linear-gradient(
                    180deg,
                    #f5f7fa 0%,
                    #ffffff 100%
                );
        }


        /* ========================================================
           TOP NAVIGATION
        ======================================================== */

        .top-nav-bar {

            position: fixed;

            top: 0;
            right: 0;
            left: 0;

            height: 58px;

            z-index: 1000;

            display: flex;
            align-items: center;

            padding:
                env(safe-area-inset-top)
                8px
                0;

            background:
                rgba(255,255,255,.97);

            border-bottom:
                1px solid #e8ebef;

            box-shadow:
                0 2px 12px rgba(15,23,42,.055);

            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }


        .top-nav-inner {

            width: 100%;
            max-width: 1280px;

            height: 100%;

            margin: 0 auto;

            display: flex;
            align-items: center;
            justify-content: space-between;

            gap: 2px;
        }


        /* ========================================================
           TOP NAV ITEM
        ======================================================== */

        .top-nav-bar .nav-item {

            position: relative;

            flex: 1;

            min-width: 0;

            height: 44px;

            display: flex;
            align-items: center;
            justify-content: center;

            gap: 6px;

            padding: 4px 6px;

            border-radius: 10px;

            color: #374151;

            transition:
                background-color .16s ease,
                transform .16s ease;
        }


        .top-nav-bar .nav-item:hover {
            background: #f4f6f8;
        }


        .top-nav-bar .nav-item:active {
            transform: scale(.97);
        }


        /* ========================================================
           NAV ICON
        ======================================================== */

        .top-nav-bar .icon-wrapper {

            width: 29px;
            height: 29px;

            min-width: 29px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 8px;

            box-shadow: none !important;

            transition:
                transform .16s ease;
        }


        .top-nav-bar .nav-item:hover
        .icon-wrapper {

            transform: scale(1.06);
        }


        .top-nav-bar .icon-wrapper i {
            color: #fff;
            font-size: 11px;
        }


        /* ========================================================
           NAV LABEL
        ======================================================== */

        .top-nav-bar .label {

            display: block;

            min-width: 0;

            overflow: hidden;

            text-overflow: ellipsis;

            white-space: nowrap;

            font-size: 9px;

            line-height: 1;

            font-weight: 700;

            letter-spacing: -.15px;
        }


        /* ========================================================
           MAIN CONTENT
        ======================================================== */

        #content-shell {

            width: 100%;

            max-width: 1280px;

            margin: 0 auto;

            padding:
                70px
                14px
                35px;
        }


        /* ========================================================
           MODERN SIDEBAR
        ======================================================== */

        #sidebar {

            position: fixed;

            top: 0;
            left: 0;
            bottom: 0;

            width: 250px;

            z-index: 1100;

            display: flex;
            flex-direction: column;

            background: #ffffff;

            border-right:
                1px solid #e8ebef;

            box-shadow:
                4px 0 20px rgba(15,23,42,.035);

            transform:
                translateX(-100%);

            transition:
                transform .28s
                cubic-bezier(.4,0,.2,1);

            overflow: hidden;
        }


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


        /* ========================================================
           SIDEBAR BRAND
        ======================================================== */

        .sidebar-brand {

            height: 68px;

            flex: 0 0 68px;

            display: flex;
            align-items: center;

            gap: 10px;

            padding: 0 15px;

            border-bottom:
                1px solid #eef0f3;
        }


        .sidebar-logo {

            width: 36px;
            height: 36px;

            flex: 0 0 36px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 11px;

            background:
                linear-gradient(
                    135deg,
                    #2563eb 0%,
                    #4f46e5 55%,
                    #7c3aed 100%
                );

            color: #fff;

            box-shadow:
                0 5px 12px rgba(79,70,229,.20);
        }


        .sidebar-logo i {
            font-size: 15px;
        }


        .sidebar-brand-text {

            min-width: 0;

            display: flex;
            flex-direction: column;
        }


        .sidebar-brand-text strong {

            color: #111827;

            font-size: 13px;

            line-height: 1.2;

            font-weight: 800;

            letter-spacing: -.2px;
        }


        .sidebar-brand-text span {

            margin-top: 3px;

            color: #9aa1ab;

            font-size: 9px;

            line-height: 1.2;

            font-weight: 500;
        }


        /* ========================================================
           MOBILE SIDEBAR HEADER
        ======================================================== */

        .sidebar-mobile-header {

            display: none;

            height: 58px;

            flex: 0 0 58px;

            padding: 0 11px;

            align-items: center;
            justify-content: space-between;

            border-bottom:
                1px solid #eef0f3;
        }


        .sidebar-brand-mini {

            display: flex;
            align-items: center;

            gap: 9px;
        }


        .sidebar-brand-mini
        .sidebar-logo {

            width: 32px;
            height: 32px;

            flex-basis: 32px;
        }


        .sidebar-brand-mini
        .sidebar-logo i {
            font-size: 13px;
        }


        .sidebar-brand-mini
        .sidebar-brand-text strong {
            font-size: 12px;
        }


        .sidebar-brand-mini
        .sidebar-brand-text span {
            font-size: 8px;
        }


        /* ========================================================
           CLOSE BUTTON
        ======================================================== */

        .sidebar-close {

            width: 32px;
            height: 32px;

            border: 0;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 9px;

            background: #f3f4f6;

            color: #4b5563;

            cursor: pointer;

            transition:
                background .15s ease,
                transform .15s ease;
        }


        .sidebar-close:hover {
            background: #e9edf1;
        }


        .sidebar-close:active {
            transform: scale(.94);
        }


        /* ========================================================
           SIDEBAR SCROLL
        ======================================================== */

        .sidebar-scroll {

            flex: 1;

            min-height: 0;

            overflow-y: auto;
            overflow-x: hidden;

            padding:
                13px
                9px;

            scrollbar-width: thin;

            scrollbar-color:
                #d9dde3
                transparent;
        }


        .sidebar-scroll::-webkit-scrollbar {
            width: 4px;
        }


        .sidebar-scroll::-webkit-scrollbar-track {
            background: transparent;
        }


        .sidebar-scroll::-webkit-scrollbar-thumb {

            background: #d9dde3;

            border-radius: 20px;
        }


        /* ========================================================
           SIDEBAR SECTION
        ======================================================== */

        .sidebar-group {
            width: 100%;
        }


        .sidebar-heading {

            padding:
                5px
                9px
                7px;

            color: #a0a7b1;

            font-size: 8px;

            line-height: 1;

            font-weight: 800;

            letter-spacing: .7px;

            text-transform: uppercase;
        }


        /* ========================================================
           SIDEBAR LINKS
        ======================================================== */

        .sidebar-link {

            position: relative;

            width: 100%;

            min-height: 39px;

            display: flex;
            align-items: center;

            gap: 9px;

            padding:
                5px
                9px;

            margin: 2px 0;

            border-radius: 9px;

            color: #4b5563;

            font-size: 11.5px;

            font-weight: 600;

            transition:
                background-color .15s ease,
                color .15s ease,
                transform .15s ease;
        }


        .sidebar-link:hover {

            background: #f6f8fa;

            color: #111827;
        }


        .sidebar-link:active {
            transform: scale(.985);
        }


        /* ========================================================
           ACTIVE LINK
        ======================================================== */

        .sidebar-link.active {

            color: #2563eb;

            background:
                linear-gradient(
                    90deg,
                    #eff6ff,
                    #f5f8ff
                );

            font-weight: 800;
        }


        .sidebar-link.active
        .sidebar-icon {

            background: #dbeafe;

            color: #2563eb;
        }


        /* ========================================================
           SIDEBAR ICON
        ======================================================== */

        .sidebar-icon {

            width: 29px;
            height: 29px;

            flex: 0 0 29px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 8px;

            background: #f3f4f6;

            color: #6b7280;
        }


        .sidebar-icon i {
            font-size: 11px;
        }


        /* ========================================================
           ICON COLORS
        ======================================================== */

        .icon-yellow {
            background: #fff7d6;
            color: #d97706;
        }


        .icon-red {
            background: #fff0f1;
            color: #dc2626;
        }


        .icon-green {
            background: #ecfdf5;
            color: #059669;
        }


        .icon-pink {
            background: #fdf2f8;
            color: #db2777;
        }


        .icon-indigo {
            background: #eef2ff;
            color: #4f46e5;
        }


        .icon-teal {
            background: #ecfeff;
            color: #0891b2;
        }


        .icon-blue {
            background: #eff6ff;
            color: #2563eb;
        }


        .sidebar-label {

            min-width: 0;

            flex: 1;

            overflow: hidden;

            white-space: nowrap;

            text-overflow: ellipsis;
        }


        .sidebar-active-dot {

            width: 5px;
            height: 5px;

            flex: 0 0 5px;

            border-radius: 50%;

            background: #2563eb;
        }


        /* ========================================================
           SIDEBAR DIVIDER
        ======================================================== */

        .sidebar-divider {

            height: 1px;

            margin:
                10px
                6px;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    #e8ebef,
                    transparent
                );
        }


        /* ========================================================
           SIDEBAR FOOTER
        ======================================================== */

        .sidebar-footer {

            flex: 0 0 auto;

            padding:
                9px
                10px
                12px;

            border-top:
                1px solid #eef0f3;

            background: #fff;
        }


        .sidebar-help-card {

            display: flex;
            align-items: center;

            gap: 8px;

            padding: 9px;

            margin-bottom: 7px;

            border-radius: 9px;

            background: #f7f9fb;

            border:
                1px solid #edf0f3;
        }


        .sidebar-help-icon {

            width: 28px;
            height: 28px;

            flex: 0 0 28px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 8px;

            background: #eaf2ff;

            color: #2563eb;
        }


        .sidebar-help-icon i {
            font-size: 10px;
        }


        .sidebar-help-text {

            min-width: 0;

            display: flex;
            flex-direction: column;
        }


        .sidebar-help-text strong {

            color: #374151;

            font-size: 9px;

            line-height: 1.2;

            font-weight: 800;
        }


        .sidebar-help-text span {

            margin-top: 2px;

            color: #9ca3af;

            font-size: 8px;

            line-height: 1.2;
        }


        .sidebar-support-btn {

            width: 100%;

            min-height: 34px;

            display: flex;
            align-items: center;
            justify-content: center;

            gap: 6px;

            border-radius: 8px;

            background: #111827;

            color: #fff;

            font-size: 10px;

            font-weight: 700;

            transition:
                background .15s ease,
                transform .15s ease;
        }


        .sidebar-support-btn:hover {

            background: #1f2937;

            color: #fff;
        }


        .sidebar-support-btn:active {
            transform: scale(.98);
        }


        /* ========================================================
           SIDEBAR OVERLAY
        ======================================================== */

        #sidebar-overlay {

            position: fixed;

            inset: 0;

            z-index: 1050;

            background:
                rgba(15,23,42,.42);

            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);

            opacity: 0;

            pointer-events: none;

            transition:
                opacity .25s ease;
        }


        #sidebar-overlay.active {

            opacity: 1;

            pointer-events: auto;
        }


        /* ========================================================
           QUICK ACTIONS
        ======================================================== */

        .quick-actions {

            width: 100%;

            display: flex;

            gap: 7px;

            margin-bottom: 12px;

            overflow-x: auto;

            scrollbar-width: none;

            -webkit-overflow-scrolling: touch;
        }


        .quick-actions::-webkit-scrollbar {
            display: none;
        }


        .quick-actions a {

            flex: 0 0 auto;

            min-height: 34px;

            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 5px;

            padding:
                7px
                11px;

            border-radius: 8px;

            color: #fff;

            font-size: 11px;

            font-weight: 700;

            white-space: nowrap;

            box-shadow:
                0 2px 5px rgba(0,0,0,.08);

            transition:
                transform .15s ease,
                box-shadow .15s ease;
        }


        .quick-actions a:hover {

            transform: translateY(-1px);

            box-shadow:
                0 4px 9px rgba(0,0,0,.12);
        }


        .quick-actions a:active {
            transform: scale(.98);
        }


        /* ========================================================
           OFFER BANNER
        ======================================================== */

        .offer-banner {

            width: 100%;

            display: flex;

            align-items: center;

            justify-content: space-between;

            gap: 10px;

            margin-bottom: 12px;

            padding:
                10px
                12px;

            background:
                linear-gradient(
                    90deg,
                    #ecfdf5,
                    #f0fdfa
                );

            border:
                1px solid #d1fae5;

            border-radius: 11px;

            box-shadow:
                0 2px 7px rgba(0,0,0,.025);
        }


        .offer-content {

            min-width: 0;

            display: flex;
            align-items: center;

            gap: 9px;
        }


        .offer-text {
            min-width: 0;
        }


        .offer-text h3 {

            margin: 0;

            font-size: 12px;

            line-height: 1.25;

            font-weight: 800;

            color: #111827;
        }


        .offer-text p {

            margin:
                2px
                0
                0;

            font-size: 10px;

            line-height: 1.2;

            color: #6b7280;
        }


        .offer-button {

            flex: 0 0 auto;

            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 5px;

            padding:
                7px
                11px;

            border-radius: 8px;

            background: #059669;

            color: #fff;

            font-size: 10px;

            font-weight: 800;

            white-space: nowrap;

            transition:
                background .15s ease,
                transform .15s ease;
        }


        .offer-button:hover {

            background: #047857;

            color: #fff;
        }


        .offer-button:active {
            transform: scale(.97);
        }


        /* ========================================================
           BADGE
        ======================================================== */

        .badge-new {

            flex: 0 0 auto;

            display: inline-flex;

            align-items: center;

            justify-content: center;

            min-height: 20px;

            padding:
                3px
                8px;

            border-radius: 999px;

            background:
                linear-gradient(
                    135deg,
                    #ff375f,
                    #d70040
                );

            color: #fff;

            font-size: 9px;

            line-height: 1;

            font-weight: 800;

            white-space: nowrap;
        }


        /* ========================================================
           HERO
        ======================================================== */

        .hero-banner {

            width: 100%;

            margin-bottom: 14px;

            border-radius: 13px;

            overflow: hidden;

            box-shadow:
                0 4px 14px rgba(0,0,0,.07);
        }


        .hero-banner-content {

            position: relative;

            padding:
                17px
                18px;

            background:
                linear-gradient(
                    110deg,
                    #2563eb 0%,
                    #4f46e5 55%,
                    #7c3aed 100%
                );

            color: #fff;
        }


        .hero-layout {

            display: flex;

            align-items: center;

            justify-content: space-between;

            gap: 15px;
        }


        .hero-text {
            min-width: 0;
        }


        .hero-title {

            margin:
                0
                0
                5px;

            font-size: 21px;

            line-height: 1.15;

            font-weight: 800;

            letter-spacing: -.4px;
        }


        .hero-description {

            margin: 0;

            max-width: 680px;

            font-size: 11px;

            line-height: 1.45;

            color:
                rgba(255,255,255,.9);
        }


        .hero-till {

            margin-top: 9px;

            display: flex;

            align-items: center;

            flex-wrap: wrap;

            gap: 7px;
        }


        .hero-till-text {

            font-size: 10px;

            line-height: 1.3;

            color:
                rgba(255,255,255,.88);
        }


        .hero-icon {

            width: 50px;
            height: 50px;

            flex: 0 0 50px;

            display: flex;

            align-items: center;

            justify-content: center;

            border-radius: 13px;

            background:
                rgba(255,255,255,.16);

            border:
                1px solid
                rgba(255,255,255,.15);

            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }


        .hero-icon i {

            font-size: 20px;

            color: #fff;
        }


        /* ========================================================
           PRODUCT CARDS
        ======================================================== */

        .product-card-img {

            width: 100%;

            height: 105px;

            display: block;

            object-fit: cover;
        }


        .product-card-padding {
            padding: 10px;
        }


        /* ========================================================
           CLASSIC CARD
        ======================================================== */

        .classic-card {

            background: #fff;

            border:
                1px solid #e5e7eb;

            border-radius: 12px;

            overflow: hidden;

            box-shadow:
                0 2px 8px rgba(0,0,0,.035);
        }


        /* ========================================================
           DIVIDER
        ======================================================== */

        .divider {

            height: 1px;

            margin:
                18px
                0;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    #e5e7eb,
                    transparent
                );
        }


        /* ========================================================
           MOBILE
        ======================================================== */

        @media (max-width: 639px) {

            .top-nav-bar {

                height: 58px;

                padding-left: 4px;
                padding-right: 4px;
            }


            .top-nav-inner {
                gap: 0;
            }


            .top-nav-bar .nav-item {

                height: 45px;

                flex-direction: column;

                gap: 2px;

                padding:
                    3px
                    1px;
            }


            .top-nav-bar .icon-wrapper {

                width: 27px;
                height: 27px;

                min-width: 27px;

                border-radius: 8px;
            }


            .top-nav-bar .icon-wrapper i {
                font-size: 10px;
            }


            .top-nav-bar .label {

                width: 100%;

                text-align: center;

                font-size: 7px;
            }


            #content-shell {

                padding:
                    66px
                    8px
                    25px;
            }


            #sidebar {
                width: min(285px, 88vw);
            }


            .sidebar-brand {
                display: none;
            }


            .sidebar-mobile-header {
                display: flex;
            }


            .quick-actions {
                margin-bottom: 10px;
            }


            .quick-actions a {

                min-height: 32px;

                padding:
                    6px
                    9px;

                font-size: 10px;
            }


            .offer-banner {

                padding:
                    9px
                    10px;
            }


            .offer-text h3 {
                font-size: 11px;
            }


            .offer-text p {
                font-size: 9px;
            }


            .offer-button {

                padding:
                    6px
                    9px;

                font-size: 9px;
            }


            .hero-banner {

                margin-bottom: 12px;

                border-radius: 11px;
            }


            .hero-banner-content {

                padding:
                    14px
                    13px;
            }


            .hero-title {
                font-size: 18px;
            }


            .hero-description {
                font-size: 10px;
            }


            .hero-icon {

                width: 40px;
                height: 40px;

                flex-basis: 40px;

                border-radius: 10px;
            }


            .hero-icon i {
                font-size: 16px;
            }


            .hero-till-text {
                font-size: 9px;
            }


            .product-card-img {
                height: 90px;
            }


            .product-card-padding {
                padding: 9px;
            }

        }


        /* ========================================================
           VERY SMALL PHONES
        ======================================================== */

        @media (max-width: 380px) {

            .top-nav-bar .label {
                font-size: 6.5px;
            }


            .top-nav-bar .icon-wrapper {

                width: 25px;
                height: 25px;

                min-width: 25px;
            }


            .top-nav-bar .icon-wrapper i {
                font-size: 9px;
            }


            #content-shell {

                padding-left: 6px;
                padding-right: 6px;
            }


            .hero-title {
                font-size: 17px;
            }


            .hero-description {
                font-size: 9.5px;
            }


            .hero-icon {
                display: none;
            }

        }


        /* ========================================================
           TABLET
        ======================================================== */

        @media (min-width: 640px)
        and (max-width: 1023px) {

            .top-nav-bar {
                height: 60px;
            }


            .top-nav-bar .nav-item {
                gap: 5px;
            }


            .top-nav-bar .label {
                font-size: 9px;
            }


            #content-shell {

                padding:
                    72px
                    15px
                    30px;
            }


            .hero-banner-content {

                padding:
                    18px
                    20px;
            }


            .product-card-img {
                height: 125px;
            }

        }


        /* ========================================================
           DESKTOP
        ======================================================== */

        @media (min-width: 1024px) {

            body {
                padding-left: 250px !important;
            }


            .top-nav-bar {

                left: 250px;

                height: 58px;
            }


            #sidebar {

                width: 250px;

                transform:
                    translateX(0);
            }


            #sidebar-overlay {
                display: none;
            }


            #content-shell {

                padding:
                    70px
                    18px
                    35px;
            }


            .top-nav-bar .nav-item {

                max-width: 180px;

                flex: 1;
            }


            .top-nav-bar .label {
                font-size: 9px;
            }


            .product-card-img {
                height: 140px;
            }

        }


        /* ========================================================
           LARGE DESKTOP
        ======================================================== */

        @media (min-width: 1440px) {

            #content-shell {

                padding-left: 22px;
                padding-right: 22px;
            }


            .top-nav-bar {

                padding-left: 15px;
                padding-right: 15px;
            }

        }


        /* ========================================================
           ACCESSIBILITY
        ======================================================== */

        :focus-visible {

            outline:
                2px solid #2563eb;

            outline-offset: 2px;
        }


        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {

                animation-duration: .01ms !important;

                animation-iteration-count: 1 !important;

                transition-duration: .01ms !important;

                scroll-behavior: auto !important;
            }

        }
