        :root {
            --primary-color: #1a3a5f;
            --primary-dark: #0f2741;
            --secondary-color: #e63946;
            --accent-color: #ff9a3c;
            --text-light: #ffffff;
            --text-dark: #333333;
            --light-bg: #f8f9fa;
            --transition: all 0.3s ease;
            --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        }
        :root {
            --primary-color: #1a3a5f;
            --primary-dark: #0f2741;
            --secondary-color: #e63946;
            --accent-color: #d4af37;
            --light-bg: #f9f8f5;
            --dark-bg: #1a1a1a;
            --text-light: #f0f0f0;
            --text-gray: #b0b0b0;
            --border-color: #3a3a3a;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

       

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .container {
            width: 95%;
            max-width: 1200px;
            margin: 0 auto;
        }

       
        /* ===== MAIN CONTENT STYLES ===== */
        .body{
            width: 100%;
            height: 100%;
        }
        
        .body .img1{
            width: 100%;
            height: 8vh;
        }

        .category-container {
            display: flex;
            padding: 20px 0;
            position: relative;
        }
        
       .sidebar {
            width: 250px;
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-right: 20px;
            position: sticky;
            top: 20px;
            align-self: flex-start;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            transition: transform 0.3s ease-in-out;
        }
        
        .sidebar h3 {
            
            font-size: 16px;
            margin-bottom: 15px;
            color: #333;
            padding-bottom: 5px;
            border-bottom: 1px solid #eee;
        }
        
        .category-list li {
            margin-bottom: 10px;
            
        }
        
        .category-list a {
            color: #555;
            font-size: 14px;
        }
        
        .category-list a:hover {
            
            color: var(--primary-color);
            
        }
        
        .filter-section {
            margin-top: 25px;
        }
        
        .price-range {
            margin-top: 10px;
            color: var(--primary-color);

        }
        .price-range .input{
            background-color: var(--primary-color);

        }
        
        .price-values {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 12px;
            color: #777;
        }
        
        .slider {
            width: 100%;
            color: var(--primary-color);
        }
        
        .brand-list li {
            margin-bottom: 8px;
        }
        
        .brand-list label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            cursor: pointer;
        }
        
        /* Products Section */
        .products-section {
            flex: 1;
        }
        
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            background-color: #fff;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            flex-wrap: wrap;
        }
        
        .category-header h1 {
            font-size: 24px;
            color: #333;
            margin-right: 20px;
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }
        
        .sort-options select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: #fff;
            font-size: 14px;
        }
        
        /* Product Cards */
        .product-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .product-card {
            background-color: #fff;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            width: calc(25% - 15px);
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .product-image {
            height: 180px;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            
            position: relative;
            width: 100%;
        }
        
        .product-image img {
            width: 100%;
            max-height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 15px;
            position: relative;
        }
        
        .product-title {
            font-size: 14px;
            margin-bottom: 10px;
            color: #333;
            height: 40px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .product-price {
            font-weight: bold;
            color: var(--primary-color);
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .product-original-price {
            text-decoration: line-through;
            color: gray;
            font-size: 14px;
            margin-left: 5px;
        }
        
        .product-rating {
            color: #5D6CC0;
            font-size: 12px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .product-rating .review-count {
            color: #666;
            margin-left: 5px;
        }
        
        .product-availability {
            font-size: 12px;
            color: #2ecc71;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .product-availability.out-of-stock {
            color: #e74c3c;
        }
        
        .product-delivery {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .product-seller {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .product-seller a {
            color: #3498db;
        }
        
        .product-deal-timer {
            background-color: #f8f8f8;
            padding: 5px;
            border-radius: 3px;
            font-size: 12px;
            color: #e74c3c;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .product-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .view_product {
            background-color: white;
            color: black;
            border: none;
            
            padding: 8px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            flex-grow: 1;
            transition: background-color 0.3s;
        }
        
        .view_product:hover {
            background: transparent;
            border:2px solid #1a3a5f;
            Color:#1a3a5f;
            transform: translateY(-3px);
        }
        .add-to-cart {
            background-color: white;
            color: black;
            border: none;
            padding: 8px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            flex-grow: 1;
            transition: background-color 0.3s;
        }
        
        .add-to-cart:hover {
            background: transparent;
            border:2px solid #1a3a5f;
            Color:#1a3a5f;
            transform: translateY(-3px);
        }
        .add-to-cart1 {
            background-color: white;
            color: black;
            border: none;
            padding: 8px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            flex-grow: 1;
            transition: background-color 0.3s;
        }
        
        .add-to-cart1:hover {
           background: transparent;
            border:2px solid #1a3a5f;
            Color:#1a3a5f;
            transform: translateY(-3px);
        }
        
        .wishlist-btn {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 18px;
            margin-left: 10px;
            transition: color 0.3s;
        }
        
        .wishlist-btn:hover {
            color: var(--primary-color);
        }
        
        .add-to-compare {
            background: none;
            border: none;
            color: #555;
            font-size: 12px;
            text-decoration: underline;
            cursor: pointer;
            margin-top: 5px;
            display: block;
            transition: color 0.3s;
        }
        
        .add-to-compare:hover {
            color: #5D6CC0;
        }
        
        .product-quick-actions {
            position: absolute;
            top: 10px;
            right: 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .product-card:hover .product-quick-actions {
            opacity: 1;
        }
        
        .quick-action-btn {
            width: 30px;
            height: 30px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-size: 14px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .quick-action-btn:hover {
            background-color: var( --primary-color);
            color:white;
            transform: scale(1.1);
        }
        
        /* Product Badges */
        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: bold;
            color: white;
            z-index: 1;
        }
        
        .product-badge.discount {
            background-color:#ff5100;
        }
        
        .product-badge.new {
            background-color: #2ecc71;
        }
        
        .product-badge.konga-exclusive {
            background-color: #9b59b6;
        }
        
        /* Breadcrumb Styles */
        .breadcrumb {
            padding: 10px 0;
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }
        
        .breadcrumb a {
            color: #666;
        }
        
        .breadcrumb a:hover {
            color: #5D6CC0;
            text-decoration: underline;
        }
        
        .breadcrumb span {
            margin: 0 8px;
            color: #999;
        }
        
        /* Product Count and Active Filters */
        .product-count {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        
        .active-filters {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin: 10px 0;
            width: 100%;
        }
        
        .active-filters span {
            font-size: 14px;
            color: #666;
        }
        
        .filter-tag {
            background-color: #f0f0f0;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .remove-filter {
            cursor: pointer;
            font-size: 16px;
            line-height: 1;
        }
        
        .remove-filter:hover {
            color: #ff0000;
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-top: 20px;
        }
        
        .pagination a {
            padding: 8px 12px;
            text-decoration: none;
            border: 1px solid #ccc;
            color: #333;
        }
        
        .pagination a.active {
            background-color: #333;
            color: white;
        }
        
        .pagination a.disabled {
            pointer-events: none;
            opacity: 0.5;
        }
        
        /* Recently Viewed */
        .recently-viewed {
            margin: 40px 0 20px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .recently-viewed h3 {
            font-size: 1.2em;
            margin-bottom: 15px;
            color: #333;
            text-align: center;
        }
        
        .recent-products {
            display: flex;
            gap: 5px;
            overflow-x: auto;
            padding-bottom: 10px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .recent-products::-webkit-scrollbar {
            display: none;
        }
        
        .recent-product {
            flex-shrink: 0;
            margin: 0 auto ;
            min-width: 190px;
            text-align: center;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background-color: #fefefe;
            transition: transform 0.2s ease-in-out;
        }
        
        .recent-product:hover {
            transform: translateY(-5px);
        }
        
        .recent-product img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            margin-bottom: 8px;
            border: 1px solid #eee;
            border-radius: 4px;
            background-color: #fff;
        }
        
        .recent-product p {
            font-size: 0.85em;
            width: 80px;
            margin: 0 auto ;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #555;
        }
        
        .recent-product span {
            font-size: 0.9em;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 30px;
            width: 80%;
            max-width: 900px;
            border-radius: 5px;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 25px;
            font-size: 28px;
            font-weight: bold;
            color: #aaa;
            cursor: pointer;
        }
        
        .close-modal:hover {
            color: #333;
        }
        
        .modal-product {
            display: flex;
            gap: 30px;
        }
        
        .modal-product-image {
            flex: 1;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .modal-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .modal-product-details {
            flex: 1;
        }
        
        .modal-product-price {
            font-size: 24px;
            font-weight: 700;
            margin: 13px 0;
            color: var(--primary-color);
        }
        
        .modal-product-rating {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
        }
        
        .modal-product-rating .review-count {
            color: #666;
            margin-left: 10px;
            font-size: 14px;
        }
        
        .modal-product-availability {
            color: #2ecc71;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .modal-product-delivery {
            color: #666;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .modal-product-seller {
            color: #666;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .modal-product-seller a {
            color: var(--primary-color);
            font-weight: 700;
        }
        
        .modal-product-deal-timer {
            background-color: #f8f8f8;
            padding: 8px;
            border-radius: 4px;
            margin-bottom: 20px;
            color: #e74c3c;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .modal-product-description {
            margin-bottom: 25px;
            line-height: 1.6;
        }
        
        .modal-product-description ul {
            margin-top: 10px;
            padding-left: 20px;
        }
        
        .modal-product-description li {
            margin-bottom: 5px;
        }
        
        .modal-product-specs {
            margin-bottom: 25px;
        }
        
        .modal-product-specs h4 {
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .specs-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .specs-table td {
            padding: 8px 10px;
            border: 1px solid #eee;
            font-size: 14px;
        }
        
        .specs-table td:first-child {
            font-weight: 500;
            width: 30%;
        }
        
        .modal-product-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .buy-now {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        .buy-now:hover {
            background-color: var(--primary-color);
        }
        
      
        
        
        
        /* ===== RESPONSIVE STYLES ===== */
        @media (max-width: 992px) {
            .product-card {
                width: calc(33.33% - 14px);
                object-fit: cover;
            }
            
            .category-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                position: static;
                max-height: none;
                display: none;
            }
             .breadcrumb{
                padding: 20px;
            }
            .mall-card{
                margin: 0 auto;
            }
        }
        
        @media (max-width: 768px) {

            .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                position: static;
                max-height: none;
                display: none;
            }
            .product-card {
                width: calc(50% - 10px);
            }
            
            .category-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .sort-options {
                margin-left: 0;
                width: 100%;
            }
            
            .sort-options select {
                width: 100%;
            }
            
            
            
            .products-section {
                width: 100%;
            }
            
            .modal-content {
                width: 95%;
                padding: 15px;
            }
            
            .modal-product {
                flex-direction: column;
                gap: 15px;
            }
            
            .modal-product-image {
                min-height: 200px;
            }
             .breadcrumb{
                padding: 20px;
            }
            .mall-card{
                margin: 0 auto;
            }
            
        }
        
        @media (max-width: 600px) {
             .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                position: static;
                max-height: none;
                display: none;
            }
            .recently-viewed {
                margin: 20px 0 10px;
                padding: 15px;
            }
        
            .recently-viewed h3 {
                font-size: 1.1em;
            }
        
            .recent-products {
                gap: 15px;
            }
        
            .recent-product {
                min-width: 100px;
                padding: 8px;
            }
        
            .recent-product img {
                width: 70px;
                height: 70px;
            }
        
            .recent-product p {
                font-size: 0.8em;
            }
        
            .recent-product span {
                font-size: 0.85em;
            }
            .product-card {
                width: 80%;
                margin: 0 auto;
            }
            .breadcrumb{
                padding: 10px;
            }
            .mall-card{
                margin: 0 auto;
            }
        }
        
        @media (max-width: 480px) {
             .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
                position: static;
                max-height: none;
                display: none;
            }
            .product-card {
                width: 80%;
                margin: 0 auto;
            }
            
            .product-title {
                height: 36px;
                font-size: 13px;
            }
             .breadcrumb{
                padding: 10px;
            }
            .product-price {
                font-size: 16px;
            }
            
            .product-original-price {
                font-size: 12px;
            }
            
            
        
            .Questions p{
                line-height: normal;
            }
        
            .Q-and-S{
                flex-wrap: wrap;
            }
        
            .Questions{
                width: 100%;
                height: 600px;
            }
        
            .socials{
                width: 100%;
                height: auto;
                margin-top: 40px;
            }
            
            .inputs input:last-child{
                height: 60px;
            }
            .mall-card{
                margin: 0 auto;
            }
        }
        
        

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* categroy */
        .mall-container {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            padding: 20px 10px;
            overflow-x: auto;
            scrollbar-width: thin;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            scroll-padding: 20px;
        }
        
        .mall-container::-webkit-scrollbar {
            height: 8px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }
        
        .mall-container::-webkit-scrollbar-thumb {
            background: linear-gradient(to right, #ff6b6b, #ff8e53);
            border-radius: 10px;
        }
        
        .mall-card {
            background: #fff;
            border-radius: 5px;
            overflow: hidden;
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            width: 280px;
            scroll-snap-align: start;
            flex-shrink: 0;
            
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
       
        
        .mall-card .product-image {
            height: 150px;
            width: 100%;
            position: relative;
            overflow: hidden;
            
            background-color: transparent;
        }
        
        .mall-card .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            
        }
        
        
        
        .mall-card .product-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            
            /* background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%); */
            z-index: 1;
        }
        
        .mall-card .category-count {
            position: absolute;
            top: 5px;
            right: 5px;
            background: var(--primary-color);
            color: white;
            padding: 5px 15px;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: 600;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            z-index: 2;
        }
        
        .mall-card .product-info {
            padding: 20px;
            position: relative;
            z-index: 2;
        }
        
        .mall-card .product-info h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: #333;
            font-weight: 700;
        }
        
        .mall-card .add-to-cart2 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 25px;
            background: #1a3a5f;
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            gap: 8px;
            text-decoration: none;

            width: 100%;
            text-align: center;
        }
        
        .mall-card .add-to-cart2:hover {
            background: transparent;
            border:2px solid #1a3a5f;
            Color:#1a3a5f;
            transform: translateY(-3px);
        }
        
        .mall-card .view-products {
            display: block;
            text-align: center;
            margin-top: 15px;
            color: #666;
            font-size: 0.95rem;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }
        
        .mall-card .view-products:hover {
            color: #ff6b6b;
        }