        :root {
            --primary: #6C5CE7;
            --secondary: #00CEFF;
            --primary-color: #6c63ff;
            --secondary-color: #4d44db;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --light-color: #f8f9fa;
            --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            --dark-color: #343a40;
            --gray: #636E72;
            --primary-light: #8a7bef;
            --secondary: #00CEFF;
            --dark: #2D3436;
            --light: #F5F6FA;
            --view-all: #005ADD;
            --success: #00B894;
            --warning: #FDCB6E;
            --danger: #D63031;
            --light-gray: #DFE6E9;
        }
    
        ::selection {
            background-color: #FF6600;
            color: #0A39C7;
        }

        ::-moz-selection {
            background-color: #FF6600;
            color: #0A39C7;
        }

        body::-webkit-scrollbar {
            width: 7px;
        }
        
        body::-webkit-scrollbar-thumb {
            background: #50c9c3;
            border-radius: 10px;
        }

        body::-webkit-scrollbar-thumb:hover {
            background: #4a90e2;
        }

        body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: #fff;
            min-height: 100vh;
            margin: 0 auto;
        }

        /* Splash Screen Styles */
        @media (max-width: 768px) {
        .splash-logo {
          width: 175px;
          }
        }

        @media (min-width: 768px) {
        .splash-logo {
          width: 250px;
          }
        }

        .cashback-container {
            max-width: 93%;
            padding: 10px;
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .cashback-container {
                max-width: 95%;
            }
        }
        
        /* Header Styles */
        header {
          justify-content: space-between;
          margin-bottom: 1rem;
        }

        .header {
          background-color: white;
          box-shadow: var(--box-shadow);
          position: sticky;
          top: 0;
          z-index: 100;
          padding: 10px 0;
          justify-content: space-between;
        }

        .header .container {
          display: flex;
          justify-content: space-between;
          align-items: center;
        }
        
        .logo img {
         width: 150px;
         height: auto;
         margin-right: 25px;
         }

        @media (max-width: 768px) {
           .logo img {
             width: 105px;
           }
        }

        @media (min-width: 768px) and (max-width: 902px) {
           .logo img {
             width: 125px;
           }
        }

        .nav-text {
            text-decoration: none;
        }
        
        .search-bar {
            flex: 1;
            min-width: 250px;
            max-width: 650px;
            position: relative;
        }
        
            @media (max-width: 902px) {
                .header .container {
                    flex-direction: column;
                    align-items: stretch;
                    justify-content: flex-start;
                    gap: 0;
                }

                .logo {
                    margin-bottom: 0;
                    display: flex;
                    justify-content: flex-start;
                    flex: 0 0 auto;
                }

                .user-profile {
                    justify-content: flex-end;
                    margin-bottom: 0;
                    flex: 0 0 auto;
                    margin-top: -30px;
                }

                .search-bar {
                    order: 3;
                    margin: 10px 0 0 0;
                    width: 100%;
                    max-width: 100%;
                    flex-basis: 100%;
                }
            }

            @media (min-width: 768px) and (max-width: 902px) {
                .user-profile {
                    margin-top: -37.5px;
                }
            }

        /* Navigation Styles */
        #authNavItem {
            position: relative;
            text-decoration: none;
        }

        /* Dropdown Styles */
        #userDropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            padding: 10px 0;
            border: 1px solid #eee;
            border-radius: 7.5px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            z-index: 1000;
            min-width: 150px;
            opacity: 0;
            transform: translateY(-8px);
            transition: opacity 0.18s, transform 0.18s;
        }

        #authNavItem:hover #userDropdown,
        #userDropdown.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        /* Dropdown Links */
        #userDropdown a {
            display: block;
            color: #222;
            padding: 8px 16px;
            text-decoration: none;
            transition: background 0.18s, color 0.18s;
        }

        #userDropdown a:hover {
            background: #f6f6f6;
            color: #111;
        }

        #userDropdown a i {
            margin-right: 8px;
            color: #888;
        }

        /* Logout Link */
        #logoutLink {
            color: #d63031 !important;
        }

        #logoutLink:hover {
            background: #ffeaea !important;
        }
        
        /* Modal Styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: floatingModalOpen 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes floatingModalOpen {
            0% {
                transform: translateY(0) scale(0.95);
                opacity: 0;
            }
            100% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }
        
        .modal-content {
            background: #fff;
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            width: 95%;
            max-width: 400px;
        }
        
        .modal-content h3 {
            text-align: left;
        }
        
        .logout-btn {
            background-color: #ff4d4d;
            color: white;
            border: none;
            padding: 5px 7px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        
        .logout-btn:hover {
            background-color: #e60000;
        }
        
        @media (min-width: 769px) {
            #mobileLogoutModal {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            #userDropdown {
                display: none !important;
            }
        }
        
        .search-bar input {
            width: 100%;
            padding: 0.6rem 1.5rem;
            padding-left: 3.5rem;
            border-radius: 10px;
            border: none;
            background-color: #F5F7F9;
            font-size: 1rem;
        }

        @media (max-width: 767px) {
            .search-bar input {
                padding: 0.6rem 1rem;
                padding-left: 2.5rem;
                background-color: #F5F7F9;
            }

            .search-bar i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            }
        }
        
        @media (min-width: 767px) {
            .search-bar i {
            position: absolute;
            left: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            }
        }
        
        /* Live Search Results */
        #live-search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            z-index: 100;
            max-height: 70vh;
            overflow-y: auto;
            display: none;
            padding: 1rem;
            overflow-x: hidden;
        }
        
        #results-container {
            max-height: 65vh;
            overflow-y: auto;
            overflow-x: hidden;
        }
        
        .search-result-category {
            margin-bottom: 1.5rem;
        }
        
        .search-result-category h4 {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
            text-transform: capitalize;
        }
        
        .search-result-item {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 0.5rem;
        }
        
        .search-result-item:hover {
            background-color: var(--light);
        }
        
        .search-result-item img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            margin-right: 1rem;
            border-radius: 4px;
        }
        
        .search-result-details {
            flex: 1;
        }
        
        .search-result-details h5 {
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.2rem;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .search-result-details .price {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        .view-all-results {
            display: flex;
            color: var(--primary);
            font-size: 0.75rem;
            margin-top: 0.5rem;
            cursor: pointer;
        }
        
        .suggestions-section h4 {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
        }
        
        .suggestion-item {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 0.3rem;
        }
        
        .suggestion-item:hover {
            background-color: var(--light);
        }
        
        .suggestion-item i {
            margin-right: 0.5rem;
            font-size: 1rem;
            color: var(--gray);
        }
        
        .remove-search {
            margin-left: auto;
            background: none;
            border: none;
            color: var(--gray);
            cursor: pointer;
        }
        
        .loading-state {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        
        .loading-state i {
            margin-right: 0.5rem;
            color: var(--primary);
        }
        
        .no-results {
            text-align: center;
            padding: 1rem;
        }
        
        .no-results i {
            font-size: 1.5rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
        }
        
        .no-results .suggestion {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .highlight {
            background-color: rgba(255, 235, 59, 0.3);
            padding: 0 2px;
            border-radius: 2px;
        }
        
        .clear-search-btn {
            position: absolute;
            right: 3rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray);
            cursor: pointer;
            display: none;
        }

        .nav-icon {
            font-size: 1.1rem;
            color: var(--dark);
            position: relative;
            cursor: pointer;
            white-space: nowrap;
        }

        .nav-icon img {
            width: 25px;
            margin-bottom: 5px;
        }

        @media (max-width: 576px) {
            .nav-text0 {
            display: none;
            }
        }

        .nav-text0 {
            margin-right: 5px;
        }
        
        .user-profile {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-left: 25px;
        }

        .user-profile span {
            color: #000;
            text-decoration: none;
            white-space: nowrap;
            font-size: 20px;
            font-weight: 500;
        }
        
        .avatar {
            width: 32.5px;
            height: 32.5px;
            border-radius: 50%;
            border: 1px solid rgb(0, 0, 0);
            background-color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: 600;
            margin-left: -5px;
            cursor: pointer;
        }
        
        @media (max-width: 768px) {
            .avatar {
                width: 27.5px;
                height: 27.5px;
                margin-left: -7.5px;
            }

            .nav-icon img {
                width: 20px;
                margin-bottom: 1.5px;
            }

            .user-profile span {
            color: #000;
            text-decoration: none;
            white-space: nowrap;
            font-size: 17.5px;
            font-weight: 500;
            }

            .cashback-container {
                padding: 10px;
            }
        }

        /* Carousel Styles */
        .carousel-container {
            overflow: hidden;
            width: 100%;
            margin-bottom: 2.5rem;
        }

        @media (max-width: 768px) {
            .carousel-container {
                margin-bottom: 1.5rem;
            }
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            max-width: 300%;
        }

        .carousel-track img {
            width: 100%;
            flex-shrink: 0;
            border-radius: 15px;
        }

        @media (min-width: 576px) {
        .carousel-track {
            width: 100%;
            transform: translateX(0) !important;
            gap: 1.5rem;
            }
            
        .carousel-track img {
            width: 33.33%;
            min-width: 0;
            height: 100%;
            flex: 1 0 0;
            border-radius: 15px;
            }
        }

        @media (min-width: 576px) {
            .hidden-img {
                display: none;
            }
        }
   
        /* Offers Section Styles */
        .offers-section {
            margin-bottom: 2.5rem;
        }

        @media (max-width: 768px) {
        .offers-section {
            margin-bottom: 1.5rem;
        }

        .offers-grid {
            display: flex !important;
            flex-direction: row !important;
            overflow-x: auto;
            gap: 1rem;
            padding-bottom: 10px;
        }

        .offer-card {
            min-width: 300px;
            flex: 0 0 auto;
        }

        .offers-grid::-webkit-scrollbar {
              display: none;
        }

        .offer-content {
            padding: 10px;
        }
        }

        @media (min-width: 768px) {
            .offer-content {
                padding: 1rem;
            }
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            color: #000;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
        }

        .offers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .offer-card {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .offer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .offer-image {
            width: 100% !important;
            height: 175px !important;
            background-color: #eee;
            background-size: cover;
            background-position: center;
        }
        
        .offer-brand {
            font-weight: 600;
        }
        
        .offer-cashback-btn {
            display: inline-block;
            background-color: rgba(0, 184, 148, 0.1);
            color: var(--success);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        /* Cashback Form Styles */
        .cashback-form {
            display: none;
            padding: 25px;
            border-radius: 15px;
            margin-top: 60px;
            margin-bottom: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            animation: fadeIn 0.5s ease;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-control {
            border-radius: 10px;
            padding: 10px 15px;
            margin-top: 5px;
            border: 1px solid #ddd;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
        }
        
        .submit-btn {
            background: var(--primary-color);
            border: none;
            padding: 10px 30px;
            border-radius: 50px;
            margin-top: 10px;
            color: white;
            font-size: 1.1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }
        
        .order-card {
            display: none;
            background: #fff;
            border-radius: 15px;
            padding: 20px;
            margin-top: 60px;
            margin-bottom: 3.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border-left: 5px solid var(--primary-color);
            animation: fadeIn 0.5s ease;
        }       
        
        .order-card.rejected {
            border-left-color: var(--danger-color);
        }
        
        .order-card.approved {
            border-left-color: var(--success-color);
        }
        
        .order-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .platform-logo {
            width: 125px;
            margin-right: 15px;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: 10px;
        }
        
        .order-id {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .timer {
            margin-left: auto;
            background: var(--light-color);
            padding: 5px 10px;
            border-radius: 20px;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .timer.expired {
            color: var(--danger-color);
        }
        
        .cashback-amount {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--success-color);
            margin: 10px 0;
            cursor: pointer;
        }

        .redeemBtn {
            margin: 10px auto;
            padding: 10px 20px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .redeemBtn:hover {
            transform: scale(1.05);            
        }
        
        .status-badge {
            display: inline-block;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            width: auto;
            min-width: 0;
            white-space: nowrap;
        }
        
        .status-pending {
            background: #fff3cd;
            color: #856404;
        }
        
        .status-approved {
            background: #d4edda;
            color: #155724;
        }
        
        .status-rejected {
            background: #f8d7da;
            color: #721c24;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (max-width: 768px) {            
            .cashback-container {
                padding: 0px;
            }

            .cashback-form {
                margin-top: 50px;
            }

            .order-card {
                margin-top: -5px;
            }
        }

        /* Products Section */
         @media (max-width: 768px) {
            .products-grid {
                display: flex !important;
                flex-direction: row !important;
                overflow-x: auto;
                gap: 1rem;
                padding-bottom: 10px;
            }

            .product-card {
                flex: 0 0 220px;
                min-width: 250px;
                max-width: 250px;
                border: 1px solid var(--light-gray);
            }

            .products-grid::-webkit-scrollbar {
                display: none;
            }
        }      
        
        .products-section {
            margin-bottom: 2.5rem;
        }

        @media (max-width: 768px) {
            .products-section {
                margin-bottom: 1.5rem;
            }
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.25rem;
                margin-bottom: -0.5rem;
            }

            .view-all {
                margin-bottom: -0.5rem;
            }
        }
        
        .view-all {
            color: var(--view-all);
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        @media (min-width: 768px) {
            .right-arrow {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .hidden-view-all {
                display: none;
            }
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1.5rem;
        }
        
        .product-card {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid var(--light-gray);
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .product-image {
            height: 180px;
            background-color: #ffffff;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        
        .product-badge {
            position: absolute;
            top: 0.8rem;
            left: 0.8rem;
            background-color: var(--danger);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        
        .product-content {
            padding: 1.2rem;
        }
        
        .product-title {
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .product-price-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        .product-price {
            font-weight: 600;
            color: var(--dark);
        }
        
        .product-original-price {
            text-decoration: line-through;
            color: var(--gray);
            font-size: 0.8rem;
        }
        
        .product-discount {
            color: var(--danger);
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .product-cashback {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.8rem;
            color: var(--success);
            margin-top: 0.5rem;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            margin-top: 0.5rem;
        }
        
        .product-rating i {
            color: var(--warning);
            font-size: 0.8rem;
        }
        
        .product-rating span {
            font-size: 0.8rem;
            color: var(--gray);
        }

        /* Testimonial Styles */
        .Testimonials {
            background: #fff;
        }
        
        .testimonial-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .testimonial-section-title {
            font-size: 1.5rem;
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .testimonial-section-title {
                font-size: 1.25rem;
                margin-bottom: -0.5rem;
            }
        }

        @media (max-width: 768px) {
            .review-us {
                margin-bottom: -0.5rem;
            }
        }
        
        .review-us {
            color: var(--view-all);
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        @media (min-width: 768px) {
            .right-arrow {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .hidden-review-us {
                display: none;
            }
        }

        .testimonials-container {
            display: flex;
            gap: 1.5rem;
            flex-wrap: nowrap;
            overflow-x: auto;
            justify-content: flex-start;
            width: 100%;
            box-sizing: border-box;
        }
        
        .testimonial-card {
          border: 1px solid #e0e0e0;
          border-radius: 15px;
          padding: 1rem;
          min-width: 250px;
          max-width: 350px;
          text-align: center;
          box-shadow: 0 0 0 1px #f0f0f0;
          transition: 0.3s;
        }

        .testimonials-container::-webkit-scrollbar {
            display: none;
        }

        .testimonial-card img {
          width: 100px;
          height: 100px;
          margin-bottom: 0.75rem;
          border-radius: 50%;
          object-fit: cover;
        }

        .testimonial-card p {
        color: #444;
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        }

        .testimonial-card h3 {
          margin: 0;
          font-size: 1.1rem;
          color: #222;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 2rem 0;
            color: var(--gray);
            font-size: 0.9rem;
            margin-top: -3rem;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .footer-link {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-link:hover {
            color: var(--primary);
        }